HomeFreeBSD

nvmf: Permit failing I/O requests while disconnected

Description

nvmf: Permit failing I/O requests while disconnected

Add a kern.nvmf.fail_on_disconnection sysctl similar to the
kern.iscsi.fail_on_disconnection sysctl. This causes pending I/O
requests to fail with an error if an association is disconnected
instead of requeueing to be retried once the association is
reconnected. As with iSCSI, the default is to queue and retry
operations.

Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D45308

Details

Provenance
jhbAuthored on Wed, Jun 5, 7:54 PM
Reviewer
imp
Differential Revision
D45308: nvmf: Permit failing I/O requests while disconnected
Parents
rGe140f85dc194: nvmf: Rescan namespaces after reconnecting
Branches
Unknown
Tags
Unknown