]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/spa.c
maxinflight can overflow in spa_load_verify_cb()
authorGeorge Wilson <george.wilson@delphix.com>
Tue, 3 Sep 2019 02:17:51 +0000 (22:17 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 3 Sep 2019 02:17:51 +0000 (19:17 -0700)
commit1e52716257877dbd97373cc8ca239315eaee2984
tree4d920475f24900e535697101e3603e9284ae559d
parenta57c82fc50bced77b7f409595130091360533012
maxinflight can overflow in spa_load_verify_cb()

When running on larger memory systems, we can overflow the value of
maxinflight. This can result in maxinflight having a value of 0 causing
the system to hang.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes #9272
module/zfs/spa.c