diff options
author | Christoph Hellwig <[email protected]> | 2024-06-17 08:04:34 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-06-19 07:58:28 -0600 |
commit | 4ce37fe0938b02b7b947029c40b72d76a22a3882 (patch) | |
tree | 2e6d78a54e8e7071e347f59cde2123ff10cd7359 /tools/perf/scripts/python/parallel-perf.py | |
parent | a17ece76bcfe7b86327b19cae1652d7c62068a30 (diff) |
loop: also use the default block size from an underlying block device
Fix the code in loop_reconfigure_limits to pick a default block size for
O_DIRECT file descriptors to also work when the loop device sits on top
of a block device and not just on a regular file on a block device based
file system.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions