Skip to content

quota: Stop setting IMMUTABLE and NOATIME flags directly

Jan Kara linux-ext4 linux-fsdevel reiserfs-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ext4: Set flags on quota files directlyfs/ext4/super.c+56 -62 replies
2/11reiserfs: Set flags on quota files directlyfs/reiserfs/super.c+54 -30 replies
3/11ext2: Set flags on quota files directlyfs/ext2/super.c+76 -20 replies
4/11jfs: Set flags on quota files directlyfs/jfs/super.c+77 -20 replies
5/11quota: Stop setting IMMUTABLE and NOATIME flags on quota filesfs/quota/dquot.c+5 -141 reply
6/11ext4: Remove ext4_get_inode_flags()fs/ext4/ext4.h fs/ext4/inode.c fs/ext4/ioctl.c+0 -291 reply
7/11ext2: Remove ext2_get_inode_flags()fs/ext2/ext2.h fs/ext2/inode.c fs/ext2/ioctl.c+0 -221 reply
8/11jfs: Remove jfs_get_inode_flags()fs/jfs/ioctl.c fs/jfs/jfs_imap.c fs/jfs/jfs_inode.c +1 more+0 -220 replies
9/11reiserfs: Remove useless setting of i_flagsfs/reiserfs/inode.c+0 -40 replies
10/11reiserfs: Remove i_attrs_to_sd_attrs()fs/reiserfs/inode.c fs/reiserfs/ioctl.c fs/reiserfs/reiserfs.h+1 -280 replies
11/11quota: Remove dquot_quotactl_opsfs/quota/dquot.c include/linux/quotaops.h+0 -130 replies

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchAndreas Dilger
1/11
2/11
3/11
4/11
5/11R-b
6/11R-b
7/11R-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.

Read the v1 thread

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