projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b06e09
)
dm mpath: complain about unsupported __multipath_map_bio() return values
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 9 Aug 2017 18:32:14 +0000
(11:32 -0700)
committer
Mike Snitzer
<snitzer@redhat.com>
Mon, 28 Aug 2017 13:58:29 +0000
(09:58 -0400)
WARN_ONCE() if __multipath_map_bio() returns an unsupported return value.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-mpath.c
b/drivers/md/dm-mpath.c
index 97bca94643958bbd69260f643279d646d7956bbe..7406ededf875a242f4204846fab78f0f113d5fe1 100644
(file)
--- a/
drivers/md/dm-mpath.c
+++ b/
drivers/md/dm-mpath.c
@@
-632,6
+632,10
@@
static void process_queued_bios(struct work_struct *work)
case DM_MAPIO_REMAPPED:
generic_make_request(bio);
break;
+ case 0:
+ break;
+ default:
+ WARN_ONCE(true, "__multipath_map_bio() returned %d\n", r);
}
}
blk_finish_plug(&plug);