[ANNOUNCE PATCH v4 0/5] overlay: implement fsck.overlay utility

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

 



Hi All,

Here is the forth version of fsck.overlay. Most of comments from last
three iterations have been handled. Now, this tool have three basic
features (see README for detail, include TODO list):
1. Check and fix orphan whiteouts,
2. Check and fix invalid/duplicate redirect directories,
3. Check and fix missing impure xattrs.

This incubation tool will post to github repository[1] directly.
Any suggestion is helpful if you review the source code or find
bugs/improvements when you use/test this tool.

Thanks,
Yi.

[1] https://github.com/hisilicon/overlayfs-progs

Changes since v3:
- Use existing library for path manipulation and separate
  self-implemented manipulation helpers. (Comment from Amir)
- Use fstatat() with relative path instead of lstat() with absolute path
  when traverse layers and lookup target. (Amir)
- Split check routines into two pass, the first pass check redirect dir
  to confirm directory structure, the second pass check whiteouts and
  impure xattr.
- Change list to linux kernel style.
- Fix duplicate redirect xattr check, correct questions and default
  actions, and handle cases of duplicate redirect xattr in different
  layers. (Amir)
- Fix impure xattr comments and invalid error message. (Amir & Vivek)

----------------

Changes since v2(v1):

- Add "-n -p -y" options. (Comment from Amir and Darrick)
- Change underlying dirs input to '-o' option like mount(8). (Miklos)
- Remove invalid opaque check. (Miklos)
- Correct redirect xattr check. (Amir and Miklos)
- Fix lower target lookup, handle the missing case of opaque and
  redirect parent.
- Add impure xattr check. (Amir)

zhangyi (F) (5):
  overlay: implement fsck utility
  fsck.overlay: correct redirect xattr check
  fsck.overlay: add origin count
  fsck.overlay: add merge and redirect subdir count
  fsck.overlay: add impure xattr check

--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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