diff options
| author | 2026-10-15 17:11:04 +0800 | |
|---|---|---|
| committer | 2026-10-15 06:37:44 -0600 | |
| commit | a08bf4b9f87898628e70882430b8dd4260730dba (patch) | |
| tree | 4669791ffa63630a098bd8744484fd97672c4c05 /scripts/Makefile.thinlto | |
| parent | block: remove dead metadata handling from the async direct I/O path (diff) | |
block: reject NOWAIT buffered write fallback
blkdev_write_iter() rejects NOWAIT buffered writes, but does not
enforce this restriction when direct I/O falls back to buffered I/O.
Successful fallback waits for writeback, violating NOWAIT semantics.
Reject NOWAIT requests in blkdev_buffered_write() with -EAGAIN.
Fixes: c35fc7a5abae ("block_dev: support RFW_NOWAIT on block device nodes")
Signed-off-by: Julian Sun <sunjunchao@bytedance.com>
Link: https://patch.msgid.link/20261015091105.1315605-2-sunjunchao@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
