]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
block: Provide blk_status_t decoding for path errors
authorKeith Busch <keith.busch@intel.com>
Tue, 9 Jan 2018 19:04:16 +0000 (12:04 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 17:52:16 +0000 (10:52 -0700)
commit9111e5686c8cf3905191d4feb819acd874437500
tree6b7e7242d973d3fd2e80f5e2d45304c5246d519f
parent908e45643d6450551bfbdbad3f088d4bd1f1c1fb
block: Provide blk_status_t decoding for path errors

This patch provides a common decoder for block status path related errors
that may be retried so various entities wishing to consult this do not
have to duplicate this decision.

Acked-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk_types.h