Re: Re: [PATCH] filemap: Init the newly allocated folio memory to 0 for the filemap
From: Al Viro
Date: Thu Aug 01 2024 - 03:25:06 EST
On Thu, Aug 01, 2024 at 08:10:16AM +0100, Al Viro wrote:
> Your patch is basically "fill the page with zeroes before reading anything
> into it". It makes KMSAM warning STFU, but it does not fix anything
> in any of those cases.
Incidentally, it does that before it goes ahead and calls filemap_read_folio(),
with ->read_folio() as callback. So if it does make it STFU, the case 1 (->read_folio()
not called at all) is out of running. Would be interesting to see if that particular
->read_folio() is returning errors and if so - what errors are actually returned.