Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Draid10.c607 chunk *= geo->near_copies; in __raid10_find_phys()
626 d += geo->near_copies; in __raid10_find_phys()
692 dev -= fc * geo->near_copies; in raid10_find_virt()
701 dev -= geo->near_copies; in raid10_find_virt()
1687 if (geo->near_copies) in raid10_handle_discard()
1743 chunk *= geo->near_copies; in raid10_handle_discard()
1752 chunk *= geo->near_copies; in raid10_handle_discard()
1925 || conf->prev.near_copies < in raid10_make_request()
4012 geo->near_copies = nc; in setup_geo()
4751 s *= geo->near_copies; in last_dev_address()
[all …]
H A Draid10.h37 int near_copies; /* number of copies laid out member
H A Ddm-raid.c1718 unsigned int near_copies; in rs_check_takeover() local
1755 near_copies = __raid10_near_copies(mddev->layout); in rs_check_takeover()
1760 if (near_copies > 1 && in rs_check_takeover()
1761 !(mddev->raid_disks % near_copies)) { in rs_check_takeover()
1762 mddev->raid_disks /= near_copies; in rs_check_takeover()
1768 if (near_copies == 1 && in rs_check_takeover()
1777 max(near_copies, __raid10_far_copies(mddev->layout)) == mddev->raid_disks) in rs_check_takeover()