]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
direct-io: remove IOCB_NOWAIT support
authorChristoph Hellwig <hch@lst.de>
Mon, 18 May 2026 06:33:29 +0000 (08:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 May 2026 17:01:55 +0000 (11:01 -0600)
commit38273e7b153d88562bddba9a24dafa733da4fd22
tree9d4316962864a9de29482b96320f35ca50f04bb4
parentf73aa66dffcb8e61e78f01b56163ec16a15d06d2
direct-io: remove IOCB_NOWAIT support

None of the file systems using the legacy direct I/O code actually sets
FMODE_NOWAIT, and if they did this would not work, as the write locking
could not handle the retry.  Remove this dead code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://patch.msgid.link/20260518063336.507369-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/direct-io.c