Bug 256796

Summary: gmultipath: fast-fail path-independent errors
Product: Base System Reporter: Alan Somers <asomers>
Component: kernAssignee: freebsd-geom (Nobody) <geom>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Alan Somers freebsd_committer 2021-06-23 20:04:55 UTC
Whenever an underlying provider returns an error, gmultipath will fail that path and retry the command on another path, if any more remain.  So with n total paths, every failing command will be tried up to n times.  But some errors can't possibly be path-related.  For example, SCSI MEDIUM ERROR.  Those failures should be passed up the stack with no retries.