On Mon, 26 Feb 2024 11:48:26 +0100, Christoph Hellwig wrote: > 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. > > > [...] Applied, thanks! [1/1] bcache: move calculation of stripe_size and io_opt into bcache_device_init commit: 34a2cf3fbef17deee2d4d28c41e3cb8ac1929fda Best regards, -- Jens Axboe