linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about quiet bio, quiet requests
@ 2020-06-24  9:48 Aleksei Marov
  0 siblings, 0 replies; only message in thread
From: Aleksei Marov @ 2020-06-24  9:48 UTC (permalink / raw)
  To: linux-block

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-24  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24  9:48 Question about quiet bio, quiet requests Aleksei Marov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).