Add a "count_until_fail" option to gnop, which says to start failing
I/O requests after the given number have been allowed though.
Details
Details
I've written a test that uses this feature to exercise FFS I/O error handling.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/geom/nop/gnop.8 | ||
---|---|---|
125 ↗ | (On Diff #61910) | I/O requests |
sys/geom/nop/g_nop.c | ||
---|---|---|
198 ↗ | (On Diff #61910) | if (sc->sc_count_until_fail != 0 && ... |
Comment Actions
Modulo kib's quibble, this is ready to go. No need to repost the review if all you change is the .Dd date and kib's thing.