aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJulian Sun <sunjunchao@bytedance.com>2026-10-15 17:11:05 +0800
committerJens Axboe <axboe@kernel.dk>2026-10-15 06:39:14 -0600
commit1b1be9ea4e34ccede1e7cf9ff2b6317328a5b6ad (patch)
tree6bc4349fa6249f0d068fb8d51cdeef271c287f74 /scripts/Makefile.thinlto
parentblock: reject NOWAIT buffered write fallback (diff)
block: take the inode lock for buffered write fallback
Commit c0e473a0d226 ("block: fix race between set_blocksize and read paths") added shared inode locking around ordinary buffered writes, but missed the direct-I/O fallback path. Move the lock into blkdev_buffered_write() so both paths serialize with set_blocksize(). Also correct the comment claiming that this path takes invalidate_lock; it only takes i_rwsem. Fixes: c0e473a0d226 ("block: fix race between set_blocksize and read paths") Signed-off-by: Julian Sun <sunjunchao@bytedance.com> Link: https://patch.msgid.link/20261015091105.1315605-3-sunjunchao@bytedance.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions