-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORRAIDZ-296 ZFS: use adjusted size for dRAID metaslab weight
dRAID metaslabs start at a certain alignment, which causes their sizes to vary by a few sectors. The block allocator may get confused and pick a distant metaslab because the closer ones are slightly smaller. The small variance doesn't matter when the metaslab has already been allocated from. This fix uses adjusted size to calculate dRAID metaslab weight. Change-Id: I4546015d21aafef847e14b275a011c2689b67c6a Signed-off-by: Isaac Huang <[email protected]> Reviewed-by: Don Brady <[email protected]>
- Loading branch information
1 parent
b1e0933
commit 6e39308
Showing
1 changed file
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters