- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.9k
Add knob to disable slow io notifications #17477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| I wonder if this feature partially duplicates  | 
3cdaf1b    to
    a5a9411      
    Compare
  
    | 
 I see this new feature as a supplement to  For example, in multipath environments (as has been pointed out multiple times on X/Twitter), pools have unexpectedly been downgraded. From my point of view, this feature is useful when you know a device is failing but still want to extract as much throughput as possible during recovery. Simply raising  | 
fe4c018    to
    92c69bb      
    Compare
  
    6b06023    to
    0dcf677      
    Compare
  
    | We'll need to make sure this change and #17227 work well together. Depending on what order they end up being merged in, it looks like that will mainly entail making sure the new property covers disabling slow IO events from sitout events. | 
0dcf677    to
    a31d181      
    Compare
  
    Introduce a new vdev property `VDEV_PROP_SLOW_IO_REPORTING` that allows users to disable notifications for slow devices. This prevents ZED and/or ZFSD from degrading the pool due to slow I/O. Signed-off-by: Mariusz Zaborski <[email protected]>
a31d181    to
    60862e5      
    Compare
  
    | I don't know if it's related to this PR, but CI is reporting these failures for almalinux8 & almalinux10:  | 
| Those are almost certainly false positives which snuck in with the sitout changes. @pcd1193182 since the test isn't entirely deterministic perhaps we can do something like retry in the test case if we fail to get a sitout on the first attempt. | 
| .Bl -tag -width "allocating" | ||
| .It Sy checksum_n , checksum_t , io_n , io_t , slow_io_n , slow_io_t | ||
| .It Sy checksum_n , checksum_t , io_n , io_t , slow_io_n , | ||
| .It Sy slow_io_t | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: it looks like you could put this back the way it was on a single line.
| .It Sy slow_io_events | ||
| property controls whether slow I/O events are generated. | ||
| When enabled, the fault management daemon (or another consumer) can process | ||
| them. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a properly formatted version of this (or similar), "Even when disabled, slow I/Os will be included in the zpool status -s output".
Motivation and Context
Adding a knob allows disabling the slow_io check on a single vdev. Some users have reported that it breaks their enterprise configuration when one or more vdevs are using fiber channels with redundancy. Another reason to disable the check might be when a vdev is damaged, but we still want to force some resilvering from it.
Description
Add a knob to disable slow I/O event generation for a single vdev.
How Has This Been Tested?
New test has been added.
Types of changes
Checklist:
Signed-off-by.