HomeSort by relevance Sort by last modified time
    Searched defs:nparity (Results 1 - 2 of 2) sorted by null

  /netvirt/usr/src/uts/common/fs/zfs/
vdev_raidz.c 199 uint64_t nparity)
208 q = s / (dcols - nparity);
209 r = s - q * (dcols - nparity);
210 bc = (r == 0 ? 0 : r + nparity);
221 rm->rm_firstdatacol = nparity;
240 rm->rm_asize = roundup(rm->rm_asize, (nparity + 1) << unit_shift);
565 uint64_t nparity = vd->vdev_nparity; local
570 ASSERT(nparity > 0);
572 if (nparity > VDEV_RAIDZ_MAXPARITY ||
573 vd->vdev_children < nparity + 1)
616 uint64_t nparity = vd->vdev_nparity; local
    [all...]
vdev.c 342 uint64_t guid = 0, islog, nparity; local
389 * Set the nparity property for RAID-Z vdevs.
391 nparity = -1ULL;
394 &nparity) == 0) {
398 if (nparity == 0 || nparity > 2)
403 if (nparity == 2 &&
416 nparity = 1;
419 nparity = 0;
421 ASSERT(nparity != -1ULL)
    [all...]

Completed in 240 milliseconds