Thread (12 messages) 12 messages, 5 authors, 2022-05-24

Re: [PATCH V2] block: ignore RWF_HIPRI hint for sync dio

From: Jens Axboe <axboe@kernel.dk>
Date: 2022-05-02 16:07:52
Also in: linux-mm, linux-xfs

On Wed, 20 Apr 2022 22:31:10 +0800, Ming Lei wrote:
So far bio is marked as REQ_POLLED if RWF_HIPRI/IOCB_HIPRI is passed
from userspace sync io interface, then block layer tries to poll until
the bio is completed. But the current implementation calls
blk_io_schedule() if bio_poll() returns 0, and this way causes io hang or
timeout easily.

But looks no one reports this kind of issue, which should have been
triggered in normal io poll sanity test or blktests block/007 as
observed by Changhui, that means it is very likely that no one uses it
or no one cares it.

[...]
Applied, thanks!

[1/1] block: ignore RWF_HIPRI hint for sync dio
      commit: 9650b453a3d4b1b8ed4ea8bcb9b40109608d1faf

Best regards,
-- 
Jens Axboe

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help