Lines Matching refs:raid_disks
613 int raid_disks = conf->raid_disks; in ppl_do_flush() local
617 atomic_set(&io->pending_flushes, raid_disks); in ppl_do_flush()
619 for_each_set_bit(i, &log->disk_flush_bitmap, raid_disks) { in ppl_do_flush()
647 for (i = flushed_disks ; i < raid_disks; i++) { in ppl_do_flush()
819 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()
826 data_disks = conf->raid_disks - conf->max_degraded; in ppl_recover_entry()
1358 if (conf->raid_disks > max_disks) { in ppl_init_log()
1376 ret = mempool_init(&ppl_conf->io_pool, conf->raid_disks, ppl_io_pool_alloc, in ppl_init_log()
1381 ret = bioset_init(&ppl_conf->bs, conf->raid_disks, 0, BIOSET_NEED_BVECS); in ppl_init_log()
1385 ret = bioset_init(&ppl_conf->flush_bs, conf->raid_disks, 0, 0); in ppl_init_log()
1389 ppl_conf->count = conf->raid_disks; in ppl_init_log()