Overlayfs casefold fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ovl: fail the mount if the casefold flag has changedfs/ | +11 | 0 replies | |
| 2/3 | ovl: do not let chattr change the casefold flagfs/ | +8 | 0 replies | |
| 3/3 | ovl: fix whiteout creation in casefolded directoriesfs/ fs/ fs/ +1 more | +29 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Hungyu Lin |
|---|---|
| Series | T-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Overlayfs casefold fixes
Hungyu,
You indicated that you are willing to review and test overlayfs casefold fixes.
Here are a bunch of fixes that I recived from Chris and added my edits.
They pass the basic sanity tests, but I fear that given the nature of those reports, the test coverage for casefold overlayfs is not so good and possibly there are no many users, so I am reluctant to merged the changes without a champion to verify them.
I am not really interested in adding test coverage for underlying change races, but the functional bugs that are not related to delicate timing deserve test coverage.
Please see fstest generic/783 and see if a similar test could be added to add test coverage.
Note that it is intentionally not an overlay/ fstest, but a generic test which only runs on filesystems that support casefold (e.g. ext4) and the test itself takes care of mounting overlayfs.
Thanks,
Amir.
Chris Mason (3):
ovl: fail the mount if the casefold flag has changed
ovl: do not let chattr change the casefold flag
ovl: fix whiteout creation in casefolded directories
fs/overlayfs/dir.c | 46 ++++++++++++++++++++++------------------ fs/overlayfs/inode.c | 8 +++++++ fs/overlayfs/overlayfs.h | 10 +-------- fs/overlayfs/readdir.c | 3 ++- fs/overlayfs/super.c | 12 ++++++++++- fs/overlayfs/util.c | 2 +- 6 files changed, 48 insertions(+), 33 deletions(-)
Signature · 1 line
2.55.0