aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-02-26 10:48:26 +0000
committerJens Axboe <[email protected]>2024-03-06 15:34:19 +0000
commit34a2cf3fbef17deee2d4d28c41e3cb8ac1929fda (patch)
treebe26411a5c5543123a87c115e65b76dd838183e8 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c
parentvirtio_blk: Do not use disk_set_max_open/active_zones() (diff)
downloadkernel-34a2cf3fbef17deee2d4d28c41e3cb8ac1929fda.tar.gz
kernel-34a2cf3fbef17deee2d4d28c41e3cb8ac1929fda.zip
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/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions