aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-01-10 08:37:34 +0100
committerJens Axboe <axboe@kernel.dk>2025-01-10 07:31:50 -0700
commit09ccf5549d7809671af34774bb30c8f935d6ed2b (patch)
treec3224ee0cca9c1032b735c237027880f1550380b /scripts/generate_rust_analyzer.py
parentloop: create a lo_can_use_dio helper (diff)
downloadwireguard-linux-09ccf5549d7809671af34774bb30c8f935d6ed2b.tar.xz
wireguard-linux-09ccf5549d7809671af34774bb30c8f935d6ed2b.zip
loop: only write back pagecache when starting to to use direct I/O
There is no point in doing an fdatasync to write out pages when switching away from direct I/O, as there won't be any. The writeback is only needed when switching to direct I/O, which would have to invalidate the pagecache less efficiently from the I/O path. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20250110073750.1582447-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions