[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9154bfb7-851d-4144-a69e-1aa25b72e8ad@acm.org>
Date: Tue, 23 Jan 2024 07:13:11 -0800
From: Bart Van Assche <bvanassche@....org>
To: "zhaoyang.huang" <zhaoyang.huang@...soc.com>, Jens Axboe
<axboe@...nel.dk>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, Zhaoyang Huang <huangzhaoyang@...il.com>,
steve.kang@...soc.com
Subject: Re: [PATCH] block: introduce content activity based ioprio
On 1/23/24 01:33, zhaoyang.huang wrote:
> + activity += (bio->bi_vcnt <= IOPRIO_NR_ACTIVITY && PageWorkingset(page)) ? 1 : 0;
> + bio->bi_ioprio = IOPRIO_PRIO_VALUE_ACTIVITY(class, level, hint, activity);
Shouldn't any code that is related to the page cache occur in filesystem code
(fs/) instead of in the block layer (block/)?
Thanks,
Bart.
Powered by blists - more mailing lists