Skip to content

xfs: gut the struct xfs_icdinode

Dave Chinner linux-xfs 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest9 patches 18 repliesIn review
  2. v28 patches 8 repliesSuperseded
  3. v1 RFC8 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9xfs: introduce inode log format objectfs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/libxfs/xfs_log_format.h +5 more+218 -442 replies
2/9xfs: remove timestamps from incore inodefs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/libxfs/xfs_rtbitmap.c +8 more+130 -1431 reply
3/9xfs: cull unnecessary icdinode fieldsfs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/xfs_inode.c +1 more+31 -712 replies
4/9xfs: move v1 inode conversion to xfs_inode_from_diskfs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/libxfs/xfs_log_format.h +2 more+22 -272 replies
5/9xfs: reinitialise recycled VFS inode correctlyfs/xfs/xfs_icache.c+21 -12 replies
6/9xfs: use vfs inode nlink field everywherefs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/xfs_icache.c +6 more+45 -523 replies
7/9xfs: move inode generation count to VFS inodefs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/xfs_export.c +6 more+11 -142 replies
8/9xfs: move di_changecount to VFS inodefs/xfs/libxfs/xfs_inode_buf.c fs/xfs/libxfs/xfs_inode_buf.h fs/xfs/xfs_icache.c +3 more+9 -81 reply
9/9xfs: mode di_mode to vfs inodefs/xfs/libxfs/xfs_bmap.c fs/xfs/libxfs/xfs_dir2.c fs/xfs/libxfs/xfs_inode_buf.c +15 more+71 -733 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchBrian FosterChristoph Hellwig
1/9R-b R-b
2/9R-b R-b
3/9R-b R-b
4/9R-b R-b
5/9R-b R-b
6/9R-b R-b
7/9R-b R-b
8/9R-b R-b
9/9R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/9] xfs: gut the struct xfs_icdinode

Hi folks,

This is the thrid version of this patchset, the second version is here:

http://oss.sgi.com/archives/xfs/2016-01/msg00459.html

There is no change to the space savings the series gives us; it is an update to address Brian's review comments. Testing over the past couple of weeks indicates no new regressions, so hopefully this is the final review posting. :)

Version 3
- fix typos/comments and use sb_meta_uuid (patch 3)
- introduce new patch for reclaimable inode core reinitialisation infrastructure (patch 5)
- remove typedefs (patch 6)
- added field reinitialisation to function introduced in patch 5 (patches 6-9)
- removed stray debug hunk (patch 9)
- added reviewed-by tags to patches that have been reviewed already.

Version 2
- timestamps are signed, so need casting to int before being stored in a 64 bit variable when read from disk. Fixes generic/258 failure (patch 2).
- nlink wasn't being accounted correctly for O_TMPFILE files and rename whiteouts. Fixes generic/078 and others. (patch 5)
- VFS does not initialise i_mode, ever, so we need to initialise it directly after slab allocation to ensure that we correctly detect new file creates and hence don't add the inode the sb list twice, corrupting it. (busy inodes after unmount, self destruct in 5 seconds, have a nice day!) (patch 8)
- when reallocating a reclaimable inode, we need to save the variables that hold on-disk values across the inode_init_always() call, otherwise we lose them. This results in corruption of these fields. (patch 8)

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs