aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/space_map.c
diff options
context:
space:
mode:
authortuxoko <[email protected]>2015-10-30 16:10:01 -0700
committerBrian Behlendorf <[email protected]>2015-11-19 16:02:47 -0800
commit43518d92fd9200aa07a871604a682e0dc7dff981 (patch)
tree26d0d567976a35190f0e1c4667671a525238cacc /module/zfs/space_map.c
parentd0c614ecf9eb0b5f5c5d75316c2faeff63e03c4e (diff)
Fix zfs_dirty_data_max overflow on 32-bit
On 32 bit, the calculation of zfs_dirty_data_max from phymem will overflow, causing it to be smaller than zfs_dirty_data_sync, and will cause txg being delayed while no one write to disk. The end result is horrendous write speed. On 4G ram 32-bit VM, before this patch, simple dd results in ~7MB/s. Now it can reach speed on par with 64-bit VM. Signed-off-by: Chunwei Chen <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3973
Diffstat (limited to 'module/zfs/space_map.c')
0 files changed, 0 insertions, 0 deletions