block: update print_req_error()
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 20 Jun 2019 17:59:18 +0000 (10:59 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2019 19:03:51 +0000 (13:03 -0600)
commitb0e5168a77387d19caee1622e30f77464c369885
tree15d360f12cb07fef2106e1b11371629a17bd2de9
parent874c893bf07b88d25c6d1db3e1d14e582f838281
block: update print_req_error()

Improve the print_req_error with additional request fields which are
helpful for debugging. Use newly introduced blk_op_str() to print the
REQ_OP_XXX in the string format.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c