mm: call filemap_fdatawrite_range_kick() after IOCB_DONTCACHE issue
authorJens Axboe <axboe@kernel.dk>
Tue, 5 Nov 2024 21:35:11 +0000 (14:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2024 15:30:40 +0000 (08:30 -0700)
commit2980cde583416816466d3f2e38617e3edfcf5af7
tree0ce44f1446b05689bc1e53b9c29731e11560b133
parent6ee5ded7078d031566ea94ece5f417c93d8f1a3a
mm: call filemap_fdatawrite_range_kick() after IOCB_DONTCACHE issue

When a buffered write submitted with IOCB_DONTCACHE has been successfully
submitted, call filemap_fdatawrite_range_kick() to kick off the IO.
File systems call generic_write_sync() for any successful buffered write
submission, hence add the logic here rather than needing to modify the
file system.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/fs.h