]> granicus.if.org Git - zfs/commit
Delay injection can cause indefinitely hung zios
authorSara Hartse <sara.hartse@gmail.com>
Fri, 15 Feb 2019 22:44:56 +0000 (14:44 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 15 Feb 2019 22:44:56 +0000 (14:44 -0800)
commitf545b6ae00ef77df710ddace328d13e8c5c265bf
tree505fc6042940448f560840222195143f90f8af69
parenta28c1a58fef803a63fdfe0390ac529b7c4a18685
Delay injection can cause indefinitely hung zios

If we hit the (NSEC_TO_TICK(diff) == 0) condition in
zio_delay_interrupt, zio_interrupt is never called and the
zio does not progress.

Reviewed by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: sara hartse <sara.hartse@delphix.com>
Closes #8404
module/zfs/zio.c