On Mon, 7 Oct 2024 at 16:43, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > On Mon, Oct 07, 2024 at 04:19:22PM +0200, Amir Goldstein wrote: > > Instead of using ->private_data to point at realfile directly, so > > that we can add more context per ovl open file. > > Hmm... That'll cost you an extra deref to get to underlying file. > Cache footprint might get unpleasant... Yes, that's an extra deref. But stacking is bound to greatly increase the cache footprint anyway, so this doesn't look a serious worry to me. I don't think overlayfs is at the point where we are ready to optimize at the cache access level. Thanks, Miklos