]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339009 (by allanjude):
authormav <mav@FreeBSD.org>
Thu, 25 Apr 2019 15:51:00 +0000 (15:51 +0000)
committermav <mav@FreeBSD.org>
Thu, 25 Apr 2019 15:51:00 +0000 (15:51 +0000)
commit54fb0a51a2d89df5e3d83c3d35d4fb6806568245
tree33012f1936ecbe9bac08cf5133206f5e9d4bd6fd
parent43d8821f6a4fc8ab72a8a4db49e42ec0f3049b42
MFC r339009 (by allanjude):
Avoid panic when adjusting priority of a read in the face of an IO error

PR:             231516
Reported by:    sbruno
Approved by:    re (rgrimes)
Obtained from:  ZFS-on-Linux
X-MFC-with:     334844
Sponsored by:   Klara Systems

MFV/ZoL:        Fix zio->io_priority failed (7 < 6) assert

commit c26cf0966d131b722c32f8ccecfe5791a789d975
Author: Tony Hutter <hutter2@llnl.gov>
Date:   Tue May 29 18:13:48 2018 -0700

  Fix zio->io_priority failed (7 < 6) assert

  This fixes an assert in vdev_queue_change_io_priority():

    VERIFY3(zio->io_priority < ZIO_PRIORITY_NUM_QUEUEABLE) failed (7 < 6)
    PANIC at vdev_queue.c:832:vdev_queue_change_io_priority()

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_queue.c