Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When support for large blocks was added DMU_MAX_ACCESS was increased to allow for blocks of up to 16M to fix in a transaction handle. This had the side effect of increasing the max_hw_sectors_kb for volumes, which are scaled off DMU_MAX_ACCESS, to 64M from 10M. This is an issue for volumes which by default use an 8K block size because it results in dmu_buf_hold_array_by_dnode() allocating a large array for the dbufs. The solution is to restore the maximum size to ~10M this patch specifically changes it to 16M which is close enough. Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#3684
- Loading branch information