quota: Stop setting IMMUTABLE and NOATIME flags directly
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | ext4: Set flags on quota files directlyfs/ | +56 | 2 replies | |
| 2/11 | reiserfs: Set flags on quota files directlyfs/ | +54 | 0 replies | |
| 3/11 | ext2: Set flags on quota files directlyfs/ | +76 | 0 replies | |
| 4/11 | jfs: Set flags on quota files directlyfs/ | +77 | 0 replies | |
| 5/11 | quota: Stop setting IMMUTABLE and NOATIME flags on quota filesfs/ | +5 | 1 reply | |
| 6/11 | ext4: Remove ext4_get_inode_flags()fs/ fs/ fs/ | +0 | 1 reply | |
| 7/11 | ext2: Remove ext2_get_inode_flags()fs/ fs/ fs/ | +0 | 1 reply | |
| 8/11 | jfs: Remove jfs_get_inode_flags()fs/ fs/ fs/ +1 more | +0 | 0 replies | |
| 9/11 | reiserfs: Remove useless setting of i_flagsfs/ | +0 | 0 replies | |
| 10/11 | reiserfs: Remove i_attrs_to_sd_attrs()fs/ fs/ fs/ | +1 | 0 replies | |
| 11/11 | quota: Remove dquot_quotactl_opsfs/ include/ | +0 | 0 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Andreas Dilger |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | |
| 4/11 | |
| 5/11 | R-b |
| 6/11 | R-b |
| 7/11 | R-b |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/11] quota: Stop setting IMMUTABLE and NOATIME flags directly
Hello,
this series removes setting of IMMUTABLE and NOATIME flags from generic quota code and moves it to filesystem's quota_on / quota_off handlers. Since this was the only place where generic code was modifying inode flags that need to be persistent on disk, we can remove functions syncing inode->i_flags to on-disk flags after this. This was motivated by recent statx() work that wants consistent view of inode flags without holding i_mutex.
Patches passed basic testing for ext2, ext4, reiserfs, compile-tested for jfs only. Please review, patches are mostly trivial but I could have missed something. If people are fine with the changes, I plan to merge them through my tree.
Honza