Re: [External] Re: [RFC PATCH] blk-throtl: Introduce sync queue for write ios
From: Tejun Heo
Date: Thu Dec 15 2022 - 11:47:17 EST
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.
--
tejun