diff options
author | Christoph Hellwig <hch@lst.de> | 2025-01-10 10:37:36 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-01-10 17:31:50 +0300 |
commit | 3a693110afd7127400cc9f779c885f01cf16d0f2 (patch) | |
tree | b2aa9fd7b16db598f0bd4288c3639ba5ec662d85 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | dc909525daec7c7c5d628683c99d26e281c1a7bb (diff) | |
download | linux-3a693110afd7127400cc9f779c885f01cf16d0f2.tar.xz |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions