aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-02-26 11:48:26 +0100
committerJens Axboe <[email protected]>2024-03-06 08:34:19 -0700
commit34a2cf3fbef17deee2d4d28c41e3cb8ac1929fda (patch)
treebe26411a5c5543123a87c115e65b76dd838183e8 /tools/perf/scripts/python/export-to-sqlite.py
parent0e46064ebebb90b02c53283106f26600aa38c986 (diff)
bcache: move calculation of stripe_size and io_opt into bcache_device_init
bcache currently calculates the stripe size for the non-cached_dev case directly in bcache_device_init, but for the cached_dev case it does it in the caller. Consolidate it in one places, which also enables setting the io_opt queue_limit before allocating the gendisk so that it can be passed in instead of changing the limit just after the allocation. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Coly Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions