Re: [PATCH v2 4/5] ovl: Support creation of whiteout files on overlayfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 21, 2023 at 5:48 PM Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>
> On Mon, 21 Aug 2023 at 17:31, Alexander Larsson <alexl@xxxxxxxxxx> wrote:
>
> > So, I guess the end result is that it's probably ok to use an extra
> > getxattr here, and that fuse should probably grow an xattr cache.
>
> Having an xattr cache in the page cache would be wonderful, but it's
> not how normal filesystems work and I have no idea how to get there.
> I should probably talk to Matthew.

The bloom filter stuff that erofs is adding for this is cool. You
could do something like that generically to at least catch negative
xattr lookups. From a single listxattrs you could build such a 32bit
in-memory bloom filter for later xattr lookups. And a fuse daemon
could pre-seed the filter for an inode to avoid roundtrips.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl@xxxxxxxxxx         alexander.larsson@xxxxxxxxx





[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux