]> 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)
commit7b7e1c8895632f83d494ff57ba1545134ea2045a
treece77db4f3a80a97dc6ebfcc597f875e84829eec2
parented9322599746cd41196f05e3d2e9b324b6d56a15
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: dca3287b2d12 ("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