summaryrefslogtreecommitdiff
path: root/drivers/md/dm-zoned.h
diff options
context:
space:
mode:
authorDmitry Fomichev <dmitry.fomichev@wdc.com>2019-08-11 00:43:10 +0300
committerMike Snitzer <snitzer@redhat.com>2019-08-15 22:57:41 +0300
commitd7428c50118e739e672656c28d2b26b09375d4e0 (patch)
treeb27d9ab9a591e46541a8982e18614299113bd5b7 /drivers/md/dm-zoned.h
parentb234c6d7a703661b5045c5bf569b7c99d2edbf88 (diff)
downloadlinux-d7428c50118e739e672656c28d2b26b09375d4e0.tar.xz
dm zoned: improve error handling in i/o map code
Some errors are ignored in the I/O path during queueing chunks for processing by chunk works. Since at least these errors are transient in nature, it should be possible to retry the failed incoming commands. The fix - Errors that can happen while queueing chunks are carried upwards to the main mapping function and it now returns DM_MAPIO_REQUEUE for any incoming requests that can not be properly queued. Error logging/debug messages are added where needed. Fixes: 3b1a94c88b79 ("dm zoned: drive-managed zoned block device target") Cc: stable@vger.kernel.org Signed-off-by: Dmitry Fomichev <dmitry.fomichev@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-zoned.h')
0 files changed, 0 insertions, 0 deletions