Re: [External] Re: [RFC PATCH] blk-throtl: Introduce sync queue for write ios

From: hanjinke
Date: Thu Dec 15 2022 - 20:36:21 EST




在 2022/12/16 上午12:46, Tejun Heo 写道:
Hello,

On Wed, Dec 14, 2022 at 12:02:53PM +0800, hanjinke wrote:
Should we keep the main category of io based READ and WRITE, and within READ
/ WRITE the subcategory were SYNC and ASYNC ? This may give less intrusion
into existing frameworks.

Ah, you haven't posted yet. So, yeah, let's do this. The code was a bit odd
looking after adding the sync queue on the side. For reads, we can just
consider everything synchrnous (or maybe treat SYNC the same way, I don't
know whether reads actually use SYNC flags tho).

Thanks.


okay, the patch v1 will be sent based on your suggestion.

Thanks.