| Previous | Next |
| EIDRM | EBFONT |
EDEADLOCK
EDEADLOCK is a Linux errno name associated with file-locking deadlock reporting. The closely related POSIX name is EDEADLK; portable code should treat both as the same logical class instead of depending on one numeric spelling.
This is not a transient I/O error. It means the requested lock cannot be granted because the lock dependency graph would deadlock, or because the kernel detected a deadlock condition while processing a blocking lock request. Retrying immediately with the same lock order can reproduce the same result.
Useful evidence
- The file, byte range, lock type, and owner identity for every held lock.
- Whether locks are POSIX record locks, OFD locks, or flock-style locks.
- The ordering rule used by all cooperating processes.
- Whether a blocking request can be replaced by a nonblocking attempt plus explicit conflict handling.
Linux fcntl(2) · POSIX errno.h · Linux errno(3) · Linux UAPI errno definitions
Looking for a different code? Search another status or error code.