Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrens committed Jun 10, 2021
1 parent 860051f commit 262271a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/zfs/vdev_draid.c
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,8 @@ vdev_draid_min_asize(vdev_t *vd)

ASSERT3P(vd->vdev_ops, ==, &vdev_draid_ops);

return ((vd->vdev_min_asize + vdc->vdc_ndisks - 1) / (vdc->vdc_ndisks));
return (VDEV_DRAID_REFLOW_RESERVE +
(vd->vdev_min_asize + vdc->vdc_ndisks - 1) / (vdc->vdc_ndisks));
}

/*
Expand Down

0 comments on commit 262271a

Please sign in to comment.