Skip to content
Commit 2149da07 authored by Balbir Singh's avatar Balbir Singh Committed by Jens Axboe
Browse files

block: add cmd_flags to print_req_error



I ran into a bug where after hibernation due to incompatible
backends, the block driver returned BLK_STS_NOTSUPP, with the
current message it's hard to find out what the command flags
were. Adding req->cmd_flags help make the problem easier to
diagnose.

Reviewed-by: default avatarEduardo Valentin <eduval@amazon.com>
Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
Signed-off-by: default avatarBalbir Singh <sblbir@amzn.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 5d2ee712
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment