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.