Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

STOR-109 want RAIDZ2 bias for large-slow-disk configurations

  • Loading branch information...
commit 3ddfbcb61029689a93c74b6f3ce8522b30dcf656 1 parent 6acf595
@wesolows wesolows authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/node_modules/disklayout.js
View
4 src/node_modules/disklayout.js
@@ -355,7 +355,9 @@ compute_layout(disks, layout)
if (!layout) {
if (diskroles.storage.length == 1)
layout = 'single';
- else if (diskroles.storage.length > 16)
+ else if (diskroles.storage.length > 16 ||
+ diskroles.storage.length > 7 &&
+ diskroles.storage[0].size > 1500 * 1000 * 1000 * 1000)
layout = 'raidz2';
else
layout = 'mirror';
Please sign in to comment.
Something went wrong with that request. Please try again.