On Tue, Apr 22, 2025 at 08:15:20PM -0400, Benjamin Marzinski wrote: > On Tue, Apr 22, 2025 at 08:02:54PM -0400, Kent Overstreet wrote: > > On Tue, Apr 22, 2025 at 07:47:34PM -0400, Benjamin Marzinski wrote: > > > This patchset handles some dm-flakey issues reported by Kent Overstreet. > > > It fixes some issues with dm-flakey's parsing and feature interactions > > > and makes corrupting read bios work. > > > > > > Benjamin Marzinski (4): > > > dm-flakey: Clean up parsing messages > > > dm-flakey: error all IOs when num_features is absent > > > dm-flakey: remove useless ERROR_READS check in flakey_end_io > > > dm-flakey: make corrupting read bios work > > > > > > drivers/md/dm-flakey.c | 114 ++++++++++++++++++++++------------------- > > > 1 file changed, 62 insertions(+), 52 deletions(-) > > > > Does it have tests now? > > I tested it. Adding automated tests for it is a work in progress.
If I get done with my other things tonight I can write you a ktest test for it, if you'd like. It's what I use for testing bcachefs, shouldn't take too long...