Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 854268 Details for
Bug 1056976
Improve the way the mpath handles path failure/reinstatement to avoid extra processing for any device stack layered on top
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
udev rules for better PATH_FAILED/PATH_REINSTATED mpath uevent handling
11-dm-mpath.rules (text/plain), 1.54 KB, created by
Peter Rajnoha
on 2014-01-23 09:43:01 UTC
(
hide
)
Description:
udev rules for better PATH_FAILED/PATH_REINSTATED mpath uevent handling
Filename:
MIME Type:
Creator:
Peter Rajnoha
Created:
2014-01-23 09:43:01 UTC
Size:
1.54 KB
patch
obsolete
>ACTION!="add|change", GOTO="mpath_end" >ENV{DM_UDEV_RULES_VSN}!="?*", GOTO="mpath_end" >ENV{DM_UUID}!="mpath-?*", GOTO="mpath_end" > ># Do not initiate scanning if no path is available, ># otherwise there would be a hang or IO error on access. ># We'd like to avoid this, especially within udev processing. >ENV{DM_NR_VALID_PATHS}!="?*", IMPORT{db}="DM_NR_VALID_PATHS" >ENV{DM_NR_VALID_PATHS}=="0", ENV{DM_NOSCAN}="1" > ># Also skip all foreign rules if no path is available. ># Remember the original value of DM_DISABLE_OTHER_RULES_FLAG ># and restore it back once we have at least one path available. >IMPORT{db}="DM_DISABLE_OTHER_RULES_FLAG_OLD" >ENV{DM_ACTION}=="PATH_FAILED",\ > ENV{DM_NR_VALID_PATHS}=="0",\ > ENV{DM_DISABLE_OTHER_RULES_FLAG_OLD}=="",\ > ENV{DM_DISABLE_OTHER_RULES_FLAG_OLD}="$env{DM_UDEV_DISABLE_OTHER_RULES_FLAG}",\ > ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="1" >ENV{DM_ACTION}=="PATH_REINSTATED",\ > ENV{DM_NR_VALID_PATHS}=="1",\ > ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="$env{DM_DISABLE_OTHER_RULES_FLAG_OLD}",\ > ENV{DM_DISABLE_OTHER_RULES_FLAG_OLD}="",\ > ENV{DM_ACTIVATION}="1" > ># DM_SUBSYSTEM_UDEV_FLAG0 is the "RELOAD" flag for multipath subsystem. ># Drop the DM_ACTIVATION flag here as mpath reloads tables if any of its ># paths are lost/recovered. For any stack above the mpath device, this is not ># something that should be reacted upon since it would be useless extra work. ># It's exactly mpath's job to provide *seamless* device access to any of the ># paths that are available underneath. >ENV{DM_SUBSYSTEM_UDEV_FLAG0}=="1", ENV{DM_ACTIVATION}="0" > >LABEL="mpath_end"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1056976
: 854268 |
854270