zfs/tests/zfs-tests/include
George Amanakis 482eeef804 Teach zpool scrub to scrub only blocks in error log
Added a flag '-e' in zpool scrub to scrub only blocks in error log. A
user can pause, resume and cancel the error scrub by passing additional
command line arguments -p -s just like a regular scrub. This involves
adding a new flag, creating new libzfs interfaces, a new ioctl, and the
actual iteration and read-issuing logic. Error scrubbing is executed in
multiple txg to make sure pool performance is not affected.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Co-authored-by: TulsiJain tulsi.jain@delphix.com
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #8995
Closes #12355
2023-05-18 11:59:42 -07:00
..
.gitignore Add zpool events tests 2017-05-22 12:34:42 -04:00
blkdev.shlib tests: include: use already-set $UNAME instead of shelling out to uname each time 2022-04-01 18:02:59 -07:00
commands.cfg zfs_rename: support RENAME_* flags 2022-10-28 09:49:20 -07:00
default.cfg.in Ubuntu 22.04 integration: ZTS 2022-11-18 11:26:55 -08:00
libtest.shlib Teach zpool scrub to scrub only blocks in error log 2023-05-18 11:59:42 -07:00
math.shlib Simplify and optimize random_int_between(). 2023-05-05 09:09:12 -07:00
properties.shlib Add options to zfs redundant_metadata property 2022-10-19 17:07:51 -07:00
tunables.cfg Improve too large physical ashift handling 2022-09-08 10:30:53 -07:00
zpool_script.shlib tests: review every awk(1) invocation 2022-04-01 17:57:55 -07:00