xfsprogs: patch queue for crc-dev
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest50 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/50 | xfsprogs: introduce xfs_icreate.hinclude/ include/ include/ +1 more | +60 | 0 replies | |
| 2/50 | xfsprogs: port inode create transaction changesinclude/ include/ include/ +3 more | +160 | 0 replies | |
| 3/50 | xfsprogs: teach logprint about icreate transactioninclude/ logprint/ logprint/ | +58 | 0 replies | |
| 4/50 | libxfs: switch over to xfs_sb.c and remove xfs_mount.cinclude/ include/ include/ +6 more | +689 | 0 replies | |
| 5/50 | libxfs: move the transaction reservation structuresinclude/ include/ include/ +1 more | +33 | 0 replies | |
| 6/50 | xfsprogs: remove xfs_mount.hinclude/ include/ include/ | +6 | 0 replies | |
| 7/50 | libxfs: update xfs_inode.h to match new kernel versioninclude/ libxfs/ libxfs/ | +99 | 0 replies | |
| 8/50 | xfs: remove local fork format handling from xfs_bmapi_write()include/ libxfs/ libxfs/ +1 more | +97 | 0 replies | |
| 9/50 | libxfs: local to remote format support of remote symlinksinclude/ libxfs/ libxfs/ | +31 | 0 replies | |
| 10/50 | xfsprogs: sync minor kernel header differencesinclude/ include/ include/ +16 more | +118 | 0 replies | |
| 11/50 | libxfs: introduce xfs_trans_resv.cinclude/ include/ include/ +6 more | +845 | 0 replies | |
| 12/50 | libxfs: fix directory/attribute format issuesinclude/ include/ | +4 | 0 replies | |
| 13/50 | libxfs: ensure btree root split sets blkno correctlylibxfs/ | +10 | 0 replies | |
| 14/50 | libxfs: move transaction code to trans.cinclude/ libxfs/ libxfs/ +2 more | +125 | 0 replies | |
| 15/50 | libxfs: fix byte swapping on constantsinclude/ libxfs/ libxfs/ +1 more | +34 | 0 replies | |
| 16/50 | libxfs: sync xfs_da_btree.clibxfs/ | +33 | 0 replies | |
| 17/50 | libxfs: update xfs_alloc to current kernel versionlibxfs/ | +19 | 0 replies | |
| 18/50 | libxfs: sync attr code with kernellibxfs/ libxfs/ | +31 | 0 replies | |
| 19/50 | libxfs: sync dir2 kernel differenceslibxfs/ libxfs/ libxfs/ +1 more | +71 | 0 replies | |
| 20/50 | libxfs: sync xfs_ialloc.c to the kernel codelibxfs/ | +173 | 0 replies | |
| 21/50 | xfsprogs: define min/max once and use them everywhere.include/ include/ io/ +1 more | +5 | 0 replies | |
| 22/50 | libxfs: fix compile warningscopy/ db/ libxfs/ +9 more | +37 | 0 replies | |
| 23/50 | xfsprogs: fix make debMakefile | +2 | 0 replies | |
| 24/50 | xfs: split out inode log item format definitioninclude/ include/ include/ +3 more | +202 | 0 replies | |
| 25/50 | xfs: split out buf log item format definitionsinclude/ include/ include/ +2 more | +120 | 0 replies | |
| 26/50 | xfs: move inode fork definitions to a new header fileinclude/ include/ include/ +4 more | +2076 | 0 replies | |
| 27/50 | xfs: move unrealted definitions out of xfs_inode.hinclude/ include/ libxfs/ | +10 | 0 replies | |
| 28/50 | xfs: introduce xfs_inode_buf.c for inode buffer operationsinclude/ include/ include/ +5 more | +487 | 0 replies | |
| 29/50 | xfs: move swap extent code to xfs_extent_opsfsr/ include/ include/ +1 more | +16 | 0 replies | |
| 30/50 | xfs: split out inode log item format definitioninclude/ include/ include/ +1 more | +108 | 0 replies | |
| 31/50 | xfs: separate dquot on disk format definitions out of xfs_quota.hinclude/ include/ include/ +1 more | +136 | 0 replies | |
| 32/50 | xfs: separate icreate log format definitions from xfs_icreate_item.hinclude/ include/ include/ +2 more | +43 | 0 replies | |
| 33/50 | xfs: don't special case shared superblock mountsinclude/ | +0 | 0 replies | |
| 34/50 | xfs: kill __KERNEL__ check for debug code in allocation codelibxfs/ | +3 | 0 replies | |
| 35/50 | xfs: split out on-disk transaction definitionsinclude/ include/ include/ +1 more | +246 | 0 replies | |
| 36/50 | xfs: remove __KERNEL__ from debug codeinclude/ libxfs/ libxfs/ | +4 | 0 replies | |
| 37/50 | xfs: remove __KERNEL__ check from xfs_dir2_leaf.clibxfs/ | +0 | 0 replies | |
| 38/50 | xfs: split out the remote symlink handlinginclude/ include/ include/ +4 more | +251 | 0 replies | |
| 39/50 | xfs: separate out log format definitionsinclude/ include/ include/ +5 more | +184 | 0 replies | |
| 40/50 | xfs: move kernel specific type definitions to xfs.hinclude/ | +0 | 0 replies | |
| 41/50 | xfs: make struct xfs_perag kernel onlyinclude/ include/ | +31 | 0 replies | |
| 42/50 | xfs: create xfs_bmap_util.[ch]include/ libxfs/ libxfs/ | +43 | 0 replies | |
| 43/50 | xfs: introduce xfs_quota_defs.hinclude/ include/ include/ +1 more | +145 | 0 replies | |
| 44/50 | xfs: introduce xfs_rtalloc_defs.hinclude/ include/ include/ +1 more | +73 | 0 replies | |
| 45/50 | xfs: Introduce a new structure to hold transaction reservation itemsinclude/ include/ libxfs/ +2 more | +172 | 0 replies | |
| 46/50 | xfs: Introduce tr_fsyncts to m_reservationinclude/ libxfs/ | +3 | 0 replies | |
| 47/50 | xfs: Make writeid transaction use tr_writeidinclude/ | +1 | 0 replies | |
| 48/50 | xfs: refactor xfs_trans_reserve() interfaceinclude/ include/ libxfs/ +9 more | +115 | 0 replies | |
| 49/50 | xfs: Get rid of all XFS_XXX_LOG_RES() macroinclude/ mkfs/ | +3 | 0 replies | |
| 50/50 | xfs: Add xfs_log_rlimit.cinclude/ libxfs/ libxfs/ +4 more | +313 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/50] xfsprogs: patch queue for crc-dev
Hi folks,
This is the latest patchset for the crc-dev branch of xfsprogs. It follows up on the last series of 22 patches to get libxf sin sync with the kernel code but adding all the changes from the kernel size to remove __KERNEL__ from the code. Hence there's a fair bit more code churn in the patch set, but overall the diffstat is a significant reduction in code in libxfs. Like the kernel side patchset, there is a lot of new files that are shared with the kernel, and the diffstat reflects that:
90 files changed, 3573 insertions(+), 4863 deletions(-)
rename include/{xfs_buf_item.h => xfs_buf_item_format.h} (62%)
delete mode 100644 include/xfs_dfrag.h
create mode 100644 include/xfs_dquot_format.h
rename include/{xfs_extfree_item.h => xfs_extfree_item_format.h} (69%)
create mode 100644 include/xfs_icreate_item.h
create mode 100644 include/xfs_icreate_item_format.h
delete mode 100644 include/xfs_inode.h
create mode 100644 include/xfs_inode_buf.h
create mode 100644 include/xfs_inode_fork.h
rename include/{xfs_inode_item.h => xfs_inode_item_format.h} (61%)
delete mode 100644 include/xfs_log.h
create mode 100644 include/xfs_log_format.h
delete mode 100644 include/xfs_log_priv.h
delete mode 100644 include/xfs_mount.h
delete mode 100644 include/xfs_quota.h
create mode 100644 include/xfs_quota_defs.h
delete mode 100644 include/xfs_rtalloc.h
create mode 100644 include/xfs_rtalloc_defs.h
delete mode 100644 include/xfs_symlink.h
create mode 100644 include/xfs_symlink_remote.h
delete mode 100644 include/xfs_trans.h
create mode 100644 include/xfs_trans_format.h
create mode 100644 include/xfs_trans_resv.h
create mode 100644 libxfs/xfs_inode_buf.c
rename libxfs/{xfs_inode.c => xfs_inode_fork.c} (82%)
create mode 100644 libxfs/xfs_log_rlimit.c
rename libxfs/{xfs_mount.c => xfs_sb.c} (94%)
rename libxfs/{xfs_symlink.c => xfs_symlink_remote.c} (68%)
rename libxfs/{xfs_trans.c => xfs_trans_resv.c} (67%)Overall, it's a significant reduction in the amount of code, and it cleans up quite a bit of the nasty header file dependency issues as the majority of the new shared header files are not dependent on each other. Having header files like xfs_mount.h, xfs_trans.h, xfs_log.h and xfs_log_priv.h no longer present in userspace makes a big difference to the clarity of the libxfs header files...
The only other major addition to the series is Jeff Liu's log reservation calculation patchset, which allows mkfs to calculate the minmum log size based on log reservation sizes rather than transaction reservation sizes. This causes a significant increase in the default size of the log for small filesystems - many xfstests now fail because the default log size doesn't fit inside a 16MB AG anymore. Hence mkfs will need some further tweaking here to avoid those failures. xfs/216 gives a pretty good overview of the difference in default sizes:
QA output created by 216
-fssize=1g log =internal log bsize=4096 blocks=2560, version=2 -fssize=2g log =internal log bsize=4096 blocks=2560, version=2 -fssize=4g log =internal log bsize=4096 blocks=2560, version=2 -fssize=8g log =internal log bsize=4096 blocks=2560, version=2 -fssize=16g log =internal log bsize=4096 blocks=2560, version=2 -fssize=32g log =internal log bsize=4096 blocks=4096, version=2 +fssize=1g log =internal log bsize=4096 blocks=4896, version=2 +fssize=2g log =internal log bsize=4096 blocks=4896, version=2 +fssize=4g log =internal log bsize=4096 blocks=4896, version=2 +fssize=8g log =internal log bsize=4096 blocks=4896, version=2 +fssize=16g log =internal log bsize=4096 blocks=4896, version=2 +fssize=32g log =internal log bsize=4096 blocks=4896, version=2 fssize=64g log =internal log bsize=4096 blocks=8192, version=2
Which indicate worst case log reservation is roughly 2x larger than the worst case transaction reservation for small filesystems. I'm surprised that we haven't had more problems with this in the past than we have...
Thoughts, comments, flames?
Cheers,
Dave.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs