mbox series

[0/2] block: improve print_req_error()

Message ID 20190611200210.4819-1-chaitanya.kulkarni@wdc.com (mailing list archive)
Headers show
Series block: improve print_req_error() | expand

Message

Chaitanya Kulkarni June 11, 2019, 8:02 p.m. UTC
Hi,

This patch-series is based on the initial patch posted by 
Christoph Hellwig <hch@lst.de>. I've added one more patch to improve
further print message.

While debugging the driver and block layer this print message is very
handy.

Please consider this for 5.3.

-Chaitanya

Following is the sample error message with forced REQ_OP_WRITE failure
from null_blk:-

blk_update_request: I/O error, dev nullb0, sector 0 op 0x1:(write) flags 0x8800 phys_seg 1 prio class 0


Chaitanya Kulkarni (1):
  block: add more debug data to print_req_err

Christoph Hellwig (1):
  block: improve print_req_error

 block/blk-core.c | 67 +++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 60 insertions(+), 7 deletions(-)