]> git.proxmox.com Git - mirror_zfs.git/commit
Cap maximum aggregate IO size
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Jun 2017 17:09:16 +0000 (10:09 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Jun 2017 17:09:16 +0000 (10:09 -0700)
commit2d678f779aba26a93314c8ee1142c3985fa25cb6
treee399bbc2885589226d5fbb8f7c9f3f13a2fa5189
parent47770d30f205b81ece1f60760f3edb5c04574e6e
Cap maximum aggregate IO size

Commit 8542ef8 allowed optional IOs to be aggregated beyond
the specified aggregation limit.  Since the aggregation limit
was also used to enforce the maximum block size, setting
`zfs_vdev_aggregation_limit=16777216` could result in an
attempt to allocate an ABD larger than 16M.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6259
Closes #6270
module/zfs/vdev_queue.c