zfs/lib/libspl/include
Paul Dagnelie df55ba7c49 Detect a slow raidz child during reads
A single slow responding disk can affect the overall read
performance of a raidz group.  When a raidz child disk is
determined to be a persistent slow outlier, then have it
sit out during reads for a period of time. The raidz group
can use parity to reconstruct the data that was skipped.

Each time a slow disk is placed into a sit out period, its
`vdev_stat.vs_slow_ios count` is incremented and a zevent
class `ereport.fs.zfs.delay` is posted.

The length of the sit out period can be changed using the
`raid_read_sit_out_secs` module parameter.  Setting it to
zero disables slow outlier detection.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Dagnelie <paul.dagnelie@klarasystems.com>
Contributions-by: Don Brady <don.brady@klarasystems.com>
Contributions-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #17227
2025-09-10 15:31:30 -07:00
..
os linux: use sys/stat.h instead of linux/stat.h 2025-09-09 17:04:15 -07:00
rpc SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
sys Detect a slow raidz child during reads 2025-09-10 15:31:30 -07:00
assert.h Cleanup VERIFY() macros (#17163) 2025-04-16 09:01:32 -07:00
atomic.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libgen.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
libshare.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
Makefile.am libspl: implement ZFS_MODULE_PARAM for userspace 2025-07-15 15:46:51 -07:00
statcommon.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
stdlib.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
string.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
umem.h everywhere: misc unnecessary var init/update 2025-07-22 15:23:58 -07:00
unistd.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zone.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00