Skip to content

Prepare for lazy lowerdata lookup

Amir Goldstein linux-unionfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ovl: update of dentry revalidate flags after copy upfs/overlayfs/copy_up.c fs/overlayfs/dir.c fs/overlayfs/export.c +4 more+30 -133 replies
2/7ovl: use OVL_E() and OVL_E_FLAGS() accessorsfs/overlayfs/export.c fs/overlayfs/namei.c fs/overlayfs/ovl_entry.h +2 more+21 -161 reply
3/7ovl: use ovl_numlower() and ovl_lowerstack() accessorsfs/overlayfs/export.c fs/overlayfs/namei.c fs/overlayfs/ovl_entry.h +2 more+72 -511 reply
4/7ovl: factor out ovl_free_entry() and ovl_stack_*() helpersfs/overlayfs/namei.c fs/overlayfs/overlayfs.h fs/overlayfs/ovl_entry.h +2 more+46 -221 reply
5/7ovl: move ovl_entry into ovl_inodefs/overlayfs/dir.c fs/overlayfs/export.c fs/overlayfs/inode.c +5 more+49 -562 replies
6/7ovl: deduplicate lowerpath and lowerstack[0]fs/overlayfs/dir.c fs/overlayfs/export.c fs/overlayfs/inode.c +5 more+81 -794 replies
7/7ovl: replace lowerdata inode reference with lowerdata redirectfs/overlayfs/inode.c fs/overlayfs/namei.c fs/overlayfs/overlayfs.h +3 more+42 -183 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGao XiangAlexander Larsson
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] Prepare for lazy lowerdata lookup

Miklos,

This series is a cleanup towards the lazy lowerdata lookup patches that I mentioned in an earlier email [1]. The lazy lowerdata patches are ready including tests, but I am waiting for your feedback on the data-only layers before I post the complete series.

I am posting this cleanup series independently, because it mostly [*] stands on its own.

Specifically, patch #1 is a bug fix for stable.

Feel free to take just patch #1, or only part of the cleanup or wait for the posting of the complete work.

Thanks,
Amir.

[*] The last patch, which reserves the space for lowerdata_redirect is not completely independent of the lazy lowerdata series, but I preferred to do it this way then to remove the lowerdata inode union field and add lowerdata_redirect later, because I think the change is easier to review this way.

[1] https://lore.kernel.org/linux-unionfs/CAOQ4uxich227fP7bGSCNqx-JX5h36O-MLwqPoy0r33tuH=z2cA@mail.gmail.com/

Amir Goldstein (7):
ovl: update of dentry revalidate flags after copy up
ovl: use OVL_E() and OVL_E_FLAGS() accessors
ovl: use ovl_numlower() and ovl_lowerstack() accessors
ovl: factor out ovl_free_entry() and ovl_stack_*() helpers
ovl: move ovl_entry into ovl_inode
ovl: deduplicate lowerpath and lowerstack[0]
ovl: replace lowerdata inode reference with lowerdata redirect

 fs/overlayfs/copy_up.c   |   2 +
 fs/overlayfs/dir.c       |   5 +-
 fs/overlayfs/export.c    |  37 ++++-----
 fs/overlayfs/inode.c     |  20 ++---
 fs/overlayfs/namei.c     |  75 +++++++++---------
 fs/overlayfs/overlayfs.h |  24 ++++--
 fs/overlayfs/ovl_entry.h |  63 +++++++++++----
 fs/overlayfs/super.c     |  86 +++++++-------------
 fs/overlayfs/util.c      | 164 +++++++++++++++++++++++++++++----------
 9 files changed, 281 insertions(+), 195 deletions(-)
Signature · 1 line
2.34.1