Re: [PATCH v6 06/26] fs/dax: Always remove DAX page-cache entries when breaking layouts

2025-01-13 Thread Dan Williams
Alistair Popple wrote: > Prior to any truncation operations file systems call > dax_break_mapping() to ensure pages in the range are not under going > DMA. Later DAX page-cache entries will be removed by > truncate_folio_batch_exceptionals() in the generic page-cache code. > > However this makes i

[PATCH v6 06/26] fs/dax: Always remove DAX page-cache entries when breaking layouts

2025-01-09 Thread Alistair Popple
Prior to any truncation operations file systems call dax_break_mapping() to ensure pages in the range are not under going DMA. Later DAX page-cache entries will be removed by truncate_folio_batch_exceptionals() in the generic page-cache code. However this makes it possible for folios to be removed