diff options
author | 2025-01-10 08:37:36 +0100 | |
---|---|---|
committer | 2025-01-10 07:31:50 -0700 | |
commit | 3a693110afd7127400cc9f779c885f01cf16d0f2 (patch) | |
tree | b2aa9fd7b16db598f0bd4288c3639ba5ec662d85 /scripts/generate_rust_analyzer.py | |
parent | loop: open code the direct I/O flag update in loop_set_dio (diff) | |
download | wireguard-linux-3a693110afd7127400cc9f779c885f01cf16d0f2.tar.xz wireguard-linux-3a693110afd7127400cc9f779c885f01cf16d0f2.zip |
loop: allow loop_set_status to re-enable direct I/O
Unlike all other calls of (__)loop_update_dio, loop_set_status never
looks at the O_DIRECT flag of the backing file, and thus doesn't
re-enable direct I/O on an O_DIRECT backing file if e.g. the new block
size would allow it. Fix that and remove the need for the separate
__loop_update_dio flag.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250110073750.1582447-7-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