Skip to content

xfsprogs: bring code up to date with kernel

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest55 patches 71 repliesIn review

Changes since the previous version from the cover letter

- rebased onto master branch of repository
- updated to match current kernel code
- added several new patches for changes added to the kernel code
- fixed many bugs
- mkfs log sizing was wrong
- dtype output for block format directories didn't work
- repair was crashing on corrupt block format directories
- xfs_trans.h completely removed

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/55xfsprogs: introduce xfs_icreate.hinclude/Makefile include/xfs_icreate_item.h include/xfs_log.h +1 more+60 -41 reply
2/55xfsprogs: port inode create transaction changesinclude/libxfs.h include/xfs_ialloc.h include/xfs_icreate_item.h +3 more+160 -621 reply
3/55xfsprogs: teach logprint about icreate transactioninclude/libxlog.h logprint/log_misc.c logprint/log_print_all.c+58 -01 reply
4/55libxfs: fix directory/attribute format issuesinclude/xfs_attr_leaf.h include/xfs_dir2_format.h+4 -21 reply
5/55libxfs: ensure btree root split sets blkno correctlylibxfs/xfs_btree.c+10 -01 reply
6/55libxfs: fix byte swapping on constantsinclude/swab.h libxfs/xfs_alloc_btree.c libxfs/xfs_bmap_btree.c +1 more+34 -251 reply
7/55libxfs: sync xfs_da_btree.clibxfs/xfs_da_btree.c+33 -302 replies
8/55libxfs: update xfs_alloc to current kernel versionlibxfs/xfs_alloc.c+19 -121 reply
9/55libxfs: sync attr code with kernellibxfs/xfs_attr.c libxfs/xfs_attr_leaf.c+6 -71 reply
10/55libxfs: sync dir2 kernel differenceslibxfs/xfs_dir2.c libxfs/xfs_dir2_data.c libxfs/xfs_dir2_leaf.c +1 more+69 -264 replies
11/55libxfs: sync xfs_ialloc.c to the kernel codelibxfs/xfs.h libxfs/xfs_ialloc.c+177 -101 reply
12/55xfsprogs: define min/max once and use them everywhere.include/libxfs.h include/platform_defs.h.in io/init.h +1 more+5 -51 reply
13/55libxfs: fix compile warningscopy/xfs_copy.c db/bmroot.c libxfs/xfs.h +9 more+37 -191 reply
14/55xfs: remove local fork format handling from xfs_bmapi_write()include/xfs_bmap.h libxfs/xfs_attr_leaf.c libxfs/xfs_bmap.c +1 more+97 -1221 reply
15/55libxfs: local to remote format support of remote symlinksinclude/xfs_symlink.h libxfs/xfs_bmap.c libxfs/xfs_symlink.c+31 -121 reply
16/55xfs: separate out log format definitionsinclude/Makefile include/libxfs.h include/libxlog.h +5 more+186 -8931 reply
17/55xfs: split out inode log item format definitioninclude/Makefile include/libxfs.h include/libxlog.h +5 more+202 -2451 reply
18/55xfs: split out buf log item format definitionsinclude/Makefile include/libxfs.h include/libxlog.h +2 more+105 -1751 reply
19/55xfs: split out inode log item format definitioninclude/Makefile include/libxlog.h include/xfs_extfree_item.h +1 more+85 -1631 reply
20/55xfs: separate dquot on disk format definitions out of xfs_quota.hinclude/Makefile include/libxfs.h include/xfs_format.h +3 more+158 -1341 reply
21/55xfs: separate icreate log format definitions from xfs_icreate_item.hinclude/Makefile include/libxfs.h include/libxlog.h +2 more+18 -581 reply
22/55xfs: split out on-disk transaction definitionsinclude/xfs_log_format.h include/xfs_trans.h+208 -2061 reply
23/55xfs: introduce xfs_rtalloc_defs.hinclude/Makefile include/libxfs.h include/xfs_format.h +2 more+55 -1681 reply
24/55xfs: introduce xfs_quota_defs.hinclude/Makefile include/libxfs.h include/xfs_quota.h +1 more+159 -2641 reply
25/55libxfs: introduce xfs_trans_resv.cinclude/Makefile include/libxfs.h include/xfs_mount.h +7 more+851 -9481 reply
26/55libxfs: move transaction code to trans.clibxfs/Makefile libxfs/trans.c libxfs/xfs.h +1 more+124 -1401 reply
27/55xfs: move inode fork definitions to a new header fileinclude/xfs_bmap_btree.h include/xfs_inode.h include/xfs_inode_fork.h +3 more+2072 -20101 reply
28/55xfs: move unrealted definitions out of xfs_inode.hinclude/Makefile include/libxfs.h include/xfs_inode.h +2 more+12 -361 reply
29/55xfs: introduce xfs_inode_buf.c for inode buffer operationsinclude/Makefile include/libxfs.h include/xfs_inode.h +5 more+466 -8161 reply
30/55xfs: split out the remote symlink handlinginclude/Makefile include/libxfs.h include/xfs_format.h +4 more+228 -2261 reply
31/55libxfs: switch over to xfs_sb.c and remove xfs_mount.cinclude/Makefile include/libxfs.h include/libxlog.h +8 more+818 -110511 replies
32/55xfs: create xfs_bmap_util.[ch]include/xfs_bmap.h libxfs/xfs.h libxfs/xfs_bmap.c+43 -2641 reply
33/55xfsprogs: sync minor kernel header differencesinclude/libxfs.h include/xfs_ag.h include/xfs_alloc_btree.h +10 more+53 -621 reply
34/55xfs: don't special case shared superblock mountsinclude/xfs_sb.h+0 -71 reply
35/55xfs: move swap extent code to xfs_extent_opsfsr/xfs_fsr.c include/Makefile include/xfs_dfrag.h +1 more+16 -561 reply
36/55xfs: kill __KERNEL__ check for debug code in allocation codelibxfs/xfs_alloc.c+3 -31 reply
37/55xfs: remove __KERNEL__ from debug codeinclude/xfs_bmap.h libxfs/xfs_dir2_data.c libxfs/xfs_rtalloc.c+4 -43 replies
38/55xfs: remove __KERNEL__ check from xfs_dir2_leaf.clibxfs/xfs_dir2_leaf.c+0 -41 reply
39/55xfs: move kernel specific type definitions to xfs.hinclude/xfs_types.h+0 -361 reply
40/55xfs: make struct xfs_perag kernel onlyinclude/libxfs.h include/xfs_ag.h+31 -532 replies
41/55xfs: Introduce a new structure to hold transaction reservation itemsinclude/libxfs.h include/xfs_trans_resv.h libxfs/trans.c +2 more+172 -951 reply
42/55xfs: Introduce tr_fsyncts to m_reservationinclude/xfs_trans_resv.h libxfs/xfs_trans_resv.c+3 -11 reply
43/55xfs: Make writeid transaction use tr_writeidinclude/xfs_trans_resv.h+1 -11 reply
44/55xfs: refactor xfs_trans_reserve() interfaceinclude/libxfs.h include/xfs_trans_resv.h libxfs/trans.c +9 more+115 -981 reply
45/55xfs: Get rid of all XFS_XXX_LOG_RES() macroinclude/xfs_trans_resv.h mkfs/maxtrres.c+3 -381 reply
46/55xfs: Add xfs_log_rlimit.cinclude/xfs_fs.h include/xfs_log_format.h libxfs/Makefile +6 more+356 -1028 replies
47/55xfs: Add read-only support for dirent filetype fielddb/check.c db/dir2.c db/dir2sf.c +17 more+384 -2132 replies
48/55xfs: Add write support for dirent filetype fieldinclude/xfs_sb.h libxfs/xfs_dir2_block.c libxfs/xfs_dir2_data.c +3 more+44 -91 reply
49/55xfsprogs: add dtype support to mkfs and dbdb/dir2.c db/dir2.h db/dir2sf.c +5 more+134 -51 reply
50/55xfs: di_flushiter considered harmfulinclude/xfs_dinode.h libxfs/xfs_inode_buf.c+6 -11 reply
51/55xfs: fix calculation of the number of node entries in a dir3 nodeinclude/xfs_da_btree.h libxfs/xfs_dir2.c+19 -81 reply
52/55xfs: btree block LSN escaping to disk uninitialisedlibxfs/xfs_btree.c+2 -01 reply
53/55xfs: inode log reservations are too smalllibxfs/xfs_trans_resv.c+53 -191 reply
54/55repair: fix segv on directory block read failurerepair/phase6.c+21 -31 reply
55/55xfsprogs: cleanup miscellaneous merge faultsinclude/libxfs.h libxfs/rdwr.c repair/scan.c+4 -211 reply

Reviews trailers per patch

53 of 55 patches have a Reviewed-by or Acked-by.

PatchEric SandeenMark Tinguely
1/55
2/55R-b
3/55R-b
4/55R-b
5/55Review-by
6/55R-b
7/55R-b R-b
8/55R-b
9/55R-b
10/55R-b
11/55R-b
12/55R-b
13/55R-b
14/55R-b
15/55R-b
16/55R-b
17/55R-b
18/55R-b
19/55R-b
20/55R-b
21/55R-b
22/55R-b
23/55R-b
24/55R-b
25/55R-b
26/55R-b
27/55R-b
28/55R-b
29/55R-b
30/55R-b
31/55R-b R-b
32/55R-b
33/55R-b
34/55R-b
35/55R-b
36/55R-b
37/55R-b
38/55R-b
39/55R-b
40/55R-b
41/55R-b
42/55R-b
43/55R-b
44/55R-b
45/55R-b
46/55R-b
47/55R-b
48/55R-b
49/55R-b
50/55R-b
51/55R-b
52/55R-b
53/55R-b
54/55R-b
55/55R-b

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 00/55] xfsprogs: bring code up to date with kernel

Hi folks,

This is an updated version of the patchset posted here:

http://oss.sgi.com/archives/xfs/2013-07/msg00454.html

Changes since the previous version:

- rebased onto master branch of repository
- updated to match current kernel code
- added several new patches for changes added to the kernel code
- fixed many bugs
- mkfs log sizing was wrong
- dtype output for block format directories didn't work
- repair was crashing on corrupt block format directories
- xfs_trans.h completely removed

There is not support for validating dtype in xfs_repair yet - that is part of a series of improved validation changes I'm making at the moment on top of this patchset, along with stuff like making xfs_db use libxfs infrastructure....

Cheers,

Dave.

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