]> git.baikalelectronics.ru Git - 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)
commitecc489a7531c73aa8e5e94264024a0092d975893
tree6b7e7242d973d3fd2e80f5e2d45304c5246d519f
parentfe639e7482abdbd456bd73b019b0dc78c66dc644
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