Question about quiet bio, quiet requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone, I am new to this mail list and have a bit silly
question. In my project, I allocate and submit bio to blk-mq block
device, which in my case is dev from other node presented by nvmeof. I
handle these bio on the other node (can complete them with BLK_STS_OK
or error).
My question is it possible to make blq_mq requests quiet, for example
by somehow passing RQF_QUIET  to blk_mq reuests rq->rq_flags. I mean I
can set bio_set_flag(bio, BIO_QUIET)  before submitting bio to lower mq
block dev, but it seems to me that this bio flag is ignored later.

The problem I am trying to solve by making reqs quiet is when I handle
bio on the other side and complete it with error, I got a lot of

print_req_error: 49324 callbacks suppressed
blk_update_request: I/O error, dev nvme0c0n1, sector 0 op 0x1:(WRITE)
flags 0x4021800 phys_seg 1 prio class 0
blk_update_request: I/O error, dev nvme0c0n1, sector 0 op 0x1:(WRITE)
flags 0x4021800 phys_seg 1 prio class 0
...

where I submitted bio. I handle those error bio properly in my
bii_end_io. But I am looking for some way of not spamming those
print_req_error messages from blk_update_request. Any thoughts
appreciated.

Thanks in advance
Alex




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux