[PATCH v2 0/5] Prep patches for porting overlayfs to new mount api

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

 



Miklos,

Following some more cleanup patches that make Christian's new mount api
patches smaller and easier to review.

I had rebased Christain's patches over these cleanups and pushed the
result to github branch fs-overlayfs-mount_api [1].

The v1 prep patches had a bug with xino option parsing that resulted in
some tests being skipped (not failing) and I had only noticed the
skipped test after posting v1.

The v2 prep patches + new mount api patches have passed all the tests
with no new tests skipped.

In addition to running the tests with the default kernel config, I also
ran the tests with the following non-default configs (individually):

1) CONFIG_OVERLAY_FS_REDIRECT_DIR=y
2) CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW=n
3) CONFIG_OVERLAY_FS_XINO_AUTO=y


Thanks.
Amir.

Changes since v1:
- Fix xino opt name table vs. enum order
- Add cleanup patch for xino
- Add cleanup of share_whiteout state
- Add cleanup patch for ovl_get_root()

[1] https://github.com/amir73il/linux/commits/fs-overlayfs-mount_api

Amir Goldstein (5):
  ovl: negate the ofs->share_whiteout boolean
  ovl: clarify ovl_get_root() semantics
  ovl: pass ovl_fs to xino helpers
  ovl: store enum redirect_mode in config instead of a string
  ovl: factor out ovl_parse_options() helper

 Documentation/filesystems/overlayfs.rst |   9 +-
 fs/overlayfs/dir.c                      |   6 +-
 fs/overlayfs/inode.c                    |  18 +-
 fs/overlayfs/namei.c                    |   6 +-
 fs/overlayfs/overlayfs.h                |  63 ++--
 fs/overlayfs/ovl_entry.h                |   8 +-
 fs/overlayfs/readdir.c                  |  19 +-
 fs/overlayfs/super.c                    | 364 +++++++++++++-----------
 fs/overlayfs/util.c                     |   7 -
 9 files changed, 274 insertions(+), 226 deletions(-)

-- 
2.34.1




[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