On Wed, Feb 21, 2024 at 01:26:24PM +0800, zhaoyang.huang wrote: > +/* > + * bio_set_active_ioprio_folio is helper function to count the bio's > + * content's activities which measured by MGLRU. > + * The file system should call this function after bio_add_page/folio for > + * the buffered read/write/sync. > + */ > +#ifdef CONFIG_BLK_CONT_ACT_BASED_IOPRIO > +void bio_set_active_ioprio_folio(struct bio *bio, struct folio *folio) How did you test this? Nothing calls this function, so this patch can't actually be doing anything. Are you planning to update any filesystems to use this? - Eric