Home
last modified time | relevance | path

Searched refs:near_copies (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/md/
Draid10.c380 chunk *= conf->near_copies; in raid10_find_phys()
389 for (n=0; n < conf->near_copies; n++) { in raid10_find_phys()
397 d += conf->near_copies; in raid10_find_phys()
423 dev -= fc * conf->near_copies; in raid10_find_virt()
429 if (dev < conf->near_copies) in raid10_find_virt()
430 dev += conf->raid_disks - conf->near_copies; in raid10_find_virt()
432 dev -= conf->near_copies; in raid10_find_virt()
437 sector_div(vchunk, conf->near_copies); in raid10_find_virt()
559 if (conf->near_copies > 1 && !atomic_read(&rdev->nr_pending)) { in read_balance()
771 conf->near_copies < conf->raid_disks)) { in make_request()
[all …]
Draid10.h20 int near_copies; /* number of copies laid out raid0 style */ member