diff options
author | Christoph Hellwig <[email protected]> | 2024-06-17 08:04:33 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-06-19 07:58:28 -0600 |
commit | a17ece76bcfe7b86327b19cae1652d7c62068a30 (patch) | |
tree | 414d1953e1aa50981ac5ad3c4df91e53c87af5d7 /tools/perf/scripts/python/parallel-perf.py | |
parent | ae0d40ff49642651f969883ef9fc79d69c1632d7 (diff) |
loop: regularize upgrading the block size for direct I/O
The LOOP_CONFIGURE path automatically upgrades the block size to that
of the underlying file for O_DIRECT file descriptors, but the
LOOP_SET_BLOCK_SIZE path does not. Fix this by lifting the code to
pick the block size into common code.
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