]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm-flakey: remove useless ERROR_READS check in flakey_end_io
authorBenjamin Marzinski <bmarzins@redhat.com>
Tue, 22 Apr 2025 23:47:37 +0000 (19:47 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Sun, 4 May 2025 09:35:05 +0000 (11:35 +0200)
commit4319f0aaa2354f14037f04456ed635983b379695
treee5b7562825df2de30051ee51452148b8c184f4d1
parent40ed054f39bc99eac09871c33198e501f4acdf24
dm-flakey: remove useless ERROR_READS check in flakey_end_io

If ERROR_READS is set, flakey_map returns DM_MAPIO_KILL for read
bios and flakey_end_io is never called, so there's no point in
checking it there. Also clean up an incorrect comment about when
read IOs are errored out.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-flakey.c