Skip to content

scsi-block: Fix error handling with r/werror=stop

Merge Request Required Information

Summary of Changes

Running validation tests in Windows 2019's Failover Cluster Manager fails in two different ways when run with rerror/werror=stop:

  1. It runs into an assertion failure because the sgio-based I/O path takes shortcuts in its error handling that skip necessary cleanup

  2. RESERVATION_CONFLICT is treated as a host error and stops the VM, which in some cases can't be resumed at all because nothing will make the error go away on retry. The error should always go to the guest instead, it's an invalid request from the guest.

This series fixes these problems.

Approved Development Ticket

Jira: https://issues.redhat.com/browse/RHEL-50000

Merge request reports

Loading