Searched refs:cached_bdev (Results 1 – 1 of 1) sorted by relevance
897 sector_t sectors, struct block_device *cached_bdev, in bcache_device_init() argument916 if (cached_bdev) { in bcache_device_init()917 d->stripe_size = bdev_io_opt(cached_bdev) >> SECTOR_SHIFT; in bcache_device_init()918 lim.io_opt = umax(block_size, bdev_io_opt(cached_bdev)); in bcache_device_init()952 if (lim.logical_block_size > PAGE_SIZE && cached_bdev) { in bcache_device_init()959 PAGE_SIZE, bdev_logical_block_size(cached_bdev)); in bcache_device_init()962 lim.logical_block_size = bdev_logical_block_size(cached_bdev); in bcache_device_init()