diff options
| author | Ming Lei <[email protected]> | 2025-05-27 15:34:05 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-05-27 16:14:26 +0000 |
| commit | 39d86db34e41b96bd86f1955cd0ce6cd9c5fca4c (patch) | |
| tree | 6ab4b609d22f356721f08653dc53f4897a3a28e2 /drivers/md/raid1.c | |
| parent | bcache: reserve more RESERVE_BTREE buckets to prevent allocator hang (diff) | |
| download | kernel-39d86db34e41b96bd86f1955cd0ce6cd9c5fca4c.tar.gz kernel-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 <[email protected]>
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions
