]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: retry BLK_STS_RESOURCE errors
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 9 Aug 2017 18:32:15 +0000 (11:32 -0700)
committerMike Snitzer <snitzer@redhat.com>
Mon, 28 Aug 2017 13:58:26 +0000 (09:58 -0400)
commit3af64f4dcdbb4166eae85abdb3e5a431dca6442d
treece77db4f3a80a97dc6ebfcc597f875e84829eec2
parentd02eaaa693396187b424a5f7751ad9755c36d699
dm mpath: retry BLK_STS_RESOURCE errors

Retry requests instead of failing them if an out-of-memory error occurs
or the block driver below dm-mpath is busy.  This restores the v4.12
behavior of noretry_error(), namely that -ENOMEM results in a retry.

Fixes: 090700af6174 ("block: introduce new block status code type")
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