diff options
author | 2025-05-27 23:34:05 +0800 | |
---|---|---|
committer | 2025-05-27 10:14:26 -0600 | |
commit | 39d86db34e41b96bd86f1955cd0ce6cd9c5fca4c (patch) | |
tree | 6ab4b609d22f356721f08653dc53f4897a3a28e2 /scripts/lib/kdoc/kdoc_files.py | |
parent | bcache: reserve more RESERVE_BTREE buckets to prevent allocator hang (diff) | |
download | linux-rng-39d86db34e41b96bd86f1955cd0ce6cd9c5fca4c.tar.xz linux-rng-39d86db34e41b96bd86f1955cd0ce6cd9c5fca4c.zip |
loop: add file_start_write() and file_end_write()
file_start_write() and file_end_write() should be added around ->write_iter().
Recently we switch to ->write_iter() from vfs_iter_write(), and the
implied file_start_write() and file_end_write() are lost.
Also we never add them for dio code path, so add them back for covering
both.
Cc: Jeff Moyer <jmoyer@redhat.com>
Fixes: f2fed441c69b ("loop: stop using vfs_iter_{read,write} for buffered I/O")
Fixes: bc07c10a3603 ("block: loop: support DIO & AIO")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250527153405.837216-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions