]> 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)
commit3e27a254bf7239a092230ad8aa51da9baae55366
tree15eaf3fedb3bfd6252b7125e8d5c29daa71163b8
parent6ff7de106070e89b5994c026e3903bcf1b6ce1ad
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