Bug 256796 - gmultipath: fast-fail path-independent errors
Summary: gmultipath: fast-fail path-independent errors
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-geom (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-23 20:04 UTC by Alan Somers
Modified: 2021-06-23 20:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.