HomeFreeBSD

Delay injection can cause indefinitely hung zios

Description

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

Details

Provenance
Sara Hartse <sara.hartse@gmail.com>Authored on Feb 15 2019, 10:44 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 15 2019, 10:44 PM
Parents
rGa28c1a58fef8: ZFS mounted NFSv3 shares fail lock reclaims
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGf545b6ae00ef: Delay injection can cause indefinitely hung zios (authored by Sara Hartse <sara.hartse@gmail.com>).Feb 15 2019, 10:44 PM