On Mon, Jun 12, 2023 at 1:09 PM Alexander Larsson <alexl@xxxxxxxxxx> wrote: > > On Mon, Jun 12, 2023 at 12:54 PM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > > > > On Mon, Jun 12, 2023 at 1:27 PM Alexander Larsson <alexl@xxxxxxxxxx> wrote: > > > > > > This patchset adds support for using fs-verity to validate lowerdata > > > files by specifying an overlay.verity xattr on the metacopy > > > files. > > > > > > This is primarily motivated by the Composefs usecase, where there will > > > be a read-only EROFS layer that contains redirect into a base data > > > layer which has fs-verity enabled on all files. However, it is also > > > useful in general if you want to ensure that the lowerdata files > > > matches the expected content over time. > > > > > > I have also added some tests for this feature to xfstests[1]. > > > > I can't remember if there is a good reason why your test does > > not include verify in a data-only layer. > > > > I think this test coverage needs to be added. > > Yeah. I'll add that. Updated the git branch with some lowerdata tests. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@xxxxxxxxxx alexander.larsson@xxxxxxxxx