On Thu, Apr 18, 2024 at 12:50:00PM +0200, Jan Kara wrote: > > - kaddr = kmap_local_page(page); > > - memcpy(kaddr, iinfo->i_data + iinfo->i_lenEAttr, isize); > > - memset(kaddr + isize, 0, PAGE_SIZE - isize); > > - flush_dcache_page(page); > > So where did the flush_dcache_page() call go? AFAIU we should be calling > flush_dcache_folio(folio) here, shouldn't we? > > > - SetPageUptodate(page); > > - kunmap_local(kaddr); > > + folio_fill_tail(folio, 0, iinfo->i_data + iinfo->i_lenEAttr, isize); > > + folio_mark_uptodate(folio); > > } It's inside folio_zero_tail(), called from folio_fill_tail().