summaryrefslogtreecommitdiffstats
path: root/scripts/cstyle.pl
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2019-03-13 15:00:10 -0400
committerBrian Behlendorf <[email protected]>2019-03-13 12:00:10 -0700
commit1af240f3b51c080376bb6ae1efc13d62b087b65d (patch)
tree0f602dc3baa2d9d9a9f1543d102204a3d6327990 /scripts/cstyle.pl
parent12a935ee9c2e2aa92309e7afb9d73e0757f61cd7 (diff)
Add separate aggregation limit for non-rotating media
Before sequential scrub patches ZFS never aggregated I/Os above 128KB. Sequential scrub bumped that to 1MB, supposedly to reduce number of head seeks for spinning disks. But for SSDs it makes little to no sense, especially on FreeBSD, where due to MAXPHYS limitation device will likely still see bunch of 128KB I/Os instead of one large. Having more strict aggregation limit for SSDs allows to avoid allocation of large memory buffer and copy to/from it, that is a serious problem when throughput reaches gigabytes per second. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Richard Elling <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Closes #8494
Diffstat (limited to 'scripts/cstyle.pl')
0 files changed, 0 insertions, 0 deletions