]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: make it easier to detect unintended I/O request flushes
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 27 Apr 2017 17:11:26 +0000 (10:11 -0700)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Apr 2017 21:08:47 +0000 (17:08 -0400)
commita83956dbcf8f44364293465220409b5ed8e4567b
tree15eaf3fedb3bfd6252b7125e8d5c29daa71163b8
parentd0add5308b01527464f66371a16a4ecce3c46f5e
dm mpath: make it easier to detect unintended I/O request flushes

I/O errors triggered by multipathd incorrectly not enabling the no-flush
flag for DM_DEVICE_SUSPEND or DM_DEVICE_RESUME are hard to debug.  Add
more logging to make it easier to debug this.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-mpath.c
drivers/md/dm.c