Skip to content

xfsprogs: patches for crc-dev branch

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest49 patches 57 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/49xfsprogs: introduce xfs_icreate.hinclude/Makefile include/xfs_icreate_item.h include/xfs_log.h +1 more+60 -41 reply
2/49xfsprogs: port inode create transaction changesinclude/libxfs.h include/xfs_ialloc.h include/xfs_icreate_item.h +3 more+160 -621 reply
3/49xfsprogs: teach logprint about icreate transactioninclude/libxlog.h logprint/log_misc.c logprint/log_print_all.c+58 -01 reply
4/49libxfs: fix directory/attribute format issuesinclude/xfs_attr_leaf.h include/xfs_dir2_format.h+4 -21 reply
5/49libxfs: ensure btree root split sets blkno correctlylibxfs/xfs_btree.c+10 -01 reply
6/49libxfs: fix byte swapping on constantsinclude/swab.h libxfs/xfs_alloc_btree.c libxfs/xfs_bmap_btree.c +1 more+34 -252 replies
7/49libxfs: sync xfs_da_btree.clibxfs/xfs_da_btree.c+33 -301 reply
8/49libxfs: update xfs_alloc to current kernel versionlibxfs/xfs_alloc.c+19 -121 reply
9/49libxfs: sync attr code with kernellibxfs/xfs_attr.c libxfs/xfs_attr_leaf.c+6 -71 reply
10/49libxfs: sync dir2 kernel differenceslibxfs/xfs_dir2.c libxfs/xfs_dir2_data.c libxfs/xfs_dir2_leaf.c +1 more+71 -282 replies
11/49libxfs: sync xfs_ialloc.c to the kernel codelibxfs/xfs.h libxfs/xfs_ialloc.c+177 -101 reply
12/49xfsprogs: 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/49libxfs: fix compile warningscopy/xfs_copy.c db/bmroot.c libxfs/xfs.h +9 more+37 -191 reply
14/49xfs: 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/49libxfs: local to remote format support of remote symlinksinclude/xfs_symlink.h libxfs/xfs_bmap.c libxfs/xfs_symlink.c+31 -121 reply
16/49xfs: separate out log format definitionsinclude/Makefile include/libxfs.h include/libxlog.h +5 more+186 -8931 reply
17/49xfs: split out inode log item format definitioninclude/Makefile include/libxfs.h include/libxlog.h +5 more+202 -2451 reply
18/49xfs: split out buf log item format definitionsinclude/Makefile include/libxfs.h include/libxlog.h +2 more+105 -1751 reply
19/49xfs: split out inode log item format definitioninclude/Makefile include/libxlog.h include/xfs_extfree_item.h +1 more+85 -1631 reply
20/49xfs: separate dquot on disk format definitions out of xfs_quota.hinclude/Makefile include/libxfs.h include/xfs_format.h +3 more+152 -1141 reply
21/49xfs: separate icreate log format definitions from xfs_icreate_item.hinclude/Makefile include/libxfs.h include/libxlog.h +2 more+18 -581 reply
22/49xfs: split out on-disk transaction definitionsinclude/xfs_log_format.h include/xfs_trans.h+141 -1392 replies
23/49xfs: introduce xfs_rtalloc_defs.hinclude/Makefile include/libxfs.h include/xfs_format.h +2 more+55 -1681 reply
24/49xfs: introduce xfs_quota_defs.hinclude/Makefile include/libxfs.h include/xfs_quota.h +1 more+159 -2812 replies
25/49libxfs: introduce xfs_trans_resv.cinclude/Makefile include/libxfs.h include/xfs_mount.h +7 more+852 -6891 reply
26/49libxfs: move transaction code to trans.clibxfs/Makefile libxfs/trans.c libxfs/xfs.h +1 more+124 -1401 reply
27/49xfs: 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/49xfs: move unrealted definitions out of xfs_inode.hinclude/Makefile include/libxfs.h include/xfs_inode.h +2 more+12 -362 replies
29/49xfs: introduce xfs_inode_buf.c for inode buffer operationsinclude/Makefile include/libxfs.h include/xfs_inode.h +5 more+466 -8161 reply
30/49xfs: split out the remote symlink handlinginclude/Makefile include/libxfs.h include/xfs_format.h +4 more+228 -2260 replies
31/49libxfs: switch over to xfs_sb.c and remove xfs_mount.cinclude/Makefile include/libxfs.h include/libxlog.h +8 more+768 -10110 replies
32/49xfs: create xfs_bmap_util.[ch]include/xfs_bmap.h libxfs/xfs.h libxfs/xfs_bmap.c+43 -2641 reply
33/49xfsprogs: sync minor kernel header differencesinclude/libxfs.h include/xfs_ag.h include/xfs_alloc_btree.h +11 more+56 -671 reply
34/49xfs: don't special case shared superblock mountsinclude/xfs_sb.h+0 -71 reply
35/49xfs: move swap extent code to xfs_extent_opsfsr/xfs_fsr.c include/Makefile include/xfs_dfrag.h +1 more+16 -561 reply
36/49xfs: kill __KERNEL__ check for debug code in allocation codelibxfs/xfs_alloc.c+3 -31 reply
37/49xfs: remove __KERNEL__ from debug codeinclude/xfs_bmap.h libxfs/xfs_dir2_data.c libxfs/xfs_rtalloc.c+4 -41 reply
38/49xfs: remove __KERNEL__ check from xfs_dir2_leaf.clibxfs/xfs_dir2_leaf.c+0 -41 reply
39/49xfs: move kernel specific type definitions to xfs.hinclude/xfs_types.h+0 -361 reply
40/49xfs: make struct xfs_perag kernel onlyinclude/libxfs.h include/xfs_ag.h+31 -531 reply
41/49xfs: 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/49xfs: Introduce tr_fsyncts to m_reservationinclude/xfs_trans_resv.h libxfs/xfs_trans_resv.c+3 -11 reply
43/49xfs: Make writeid transaction use tr_writeidinclude/xfs_trans_resv.h+1 -11 reply
44/49xfs: refactor xfs_trans_reserve() interfaceinclude/libxfs.h include/xfs_trans_resv.h libxfs/trans.c +9 more+115 -981 reply
45/49xfs: Get rid of all XFS_XXX_LOG_RES() macroinclude/xfs_trans_resv.h mkfs/maxtrres.c+3 -381 reply
46/49xfs: Add xfs_log_rlimit.cinclude/xfs_log_format.h libxfs/Makefile libxfs/util.c +4 more+328 -991 reply
47/49xfs: Add read-only support for dirent filetype fielddb/check.c db/dir2.c db/dir2sf.c +17 more+384 -2132 replies
48/49xfs: Add write support for dirent filetype fieldinclude/xfs_sb.h libxfs/xfs_dir2_block.c libxfs/xfs_dir2_data.c +3 more+44 -90 replies
49/49xfsprogs: add dtype support to mkfs and dbdb/dir2.c db/dir2.h db/dir2sf.c +5 more+133 -40 replies

Reviews trailers per patch

30 of 49 patches have a Reviewed-by or Acked-by.

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

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/49] xfsprogs: patches for crc-dev branch

Hi folks,

This series is the matching patch series to my for-3.12 kernel series posted here:

http://oss.sgi.com/pipermail/xfs/2013-July/028207.html

The first 3 patches add icreate transaction support to xfs_logprint.

The next 37 patches update the libxfs code to match the kernel code in the above patch set - many of the transformations are identical, and they bring the code bases mostly into synchronisation.

The next 6 patches introduce jeff Liu's transaciton reservation patchset and integrate it into mkfs to ensure that mkfs.xfs doesn't create logs that are too small. This version has the "default log size larger than the AG size so mkfs fails" problems fixed, so all the xfstests regressions it caused are gone.

THe last 3 patches introduce dirent filetype support into libxfs, mkfs and xfs_db. xfs_repair can handle the new dirent structures just fine, but it doesn't yet have code to validate that the filetype in the dirent matches the inode it points to.

Anyway, this applies to a current crc-dev branch, and should compile cleanly without warnings. If you do get warnings, let me know, because I'm getting ready to a -Werror to the build so that it breaks whenever someone introduces a compile time warning....

Comments, thoughts, flames?

Cheers,

Dave.

$ git diff --stat -C -M --summary --minimal cdc4cb9..
 copy/xfs_copy.c                                |  12 +-
 db/bmroot.c                                    |   6 +-
 db/check.c                                     |  12 +-
 db/dir2.c                                      |  51 +-
 db/dir2.h                                      |   1 +
 db/dir2sf.c                                    |  61 ++-
 db/dir2sf.h                                    |   3 +
 db/field.c                                     |   7 +
 db/field.h                                     |   3 +
 db/inode.c                                     |  23 +-
 db/metadump.c                                  |  10 +-
 fsr/xfs_fsr.c                                  |   1 -
 include/Makefile                               |  24 +-
 include/libxfs.h                               |  98 +++-
 include/libxlog.h                              |  13 -
 include/platform_defs.h.in                     |   5 +
 include/swab.h                                 |   6 +-
 include/xfs_ag.h                               |  55 +-
 include/xfs_alloc_btree.h                      |   3 +-
 include/xfs_attr_leaf.h                        |   1 +
 include/xfs_attr_remote.h                      |  28 +-
 include/xfs_bmap.h                             |  54 +-
 include/xfs_bmap_btree.h                       |   5 +-
 include/xfs_btree.h                            |   3 +-
 include/xfs_buf_item.h                         | 172 ------
 include/xfs_da_btree.h                         |   1 +
 include/xfs_dfrag.h                            |  53 --
 include/xfs_dinode.h                           |   3 -
 include/xfs_dir2.h                             |  20 +-
 include/xfs_dir2_format.h                      | 208 +++++--
 include/xfs_extfree_item.h                     | 161 ------
 include/xfs_format.h                           | 169 ++++++
 include/xfs_fs.h                               |  41 +-
 include/xfs_ialloc.h                           |   8 +
 include/xfs_ialloc_btree.h                     |   3 +-
 include/xfs_inode.h                            | 631 ----------------------
 include/xfs_inode_buf.h                        |  52 ++
 include/xfs_inode_fork.h                       | 171 ++++++
 include/xfs_inode_item.h                       | 170 ------
 include/xfs_log.h                              | 189 -------
 include/xfs_log_format.h                       | 773 +++++++++++++++++++++++++++
 include/xfs_log_priv.h                         | 692 ------------------------
 include/xfs_mount.h                            | 403 --------------
 include/xfs_quota.h                            | 393 --------------
 include/xfs_quota_defs.h                       | 157 ++++++
 include/xfs_rtalloc.h                          | 166 ------
 include/xfs_sb.h                               |  58 +-
 include/xfs_symlink.h                          |  45 --
 include/xfs_trace.h                            |   1 +
 include/xfs_trans.h                            | 224 +-------
 include/xfs_trans_resv.h                       | 116 ++++
 include/xfs_types.h                            |  59 +-
 io/init.h                                      |   3 -
 libxfs/Makefile                                |  34 +-
 libxfs/init.c                                  |   5 +-
 libxfs/rdwr.c                                  |   3 -
 libxfs/trans.c                                 | 130 ++++-
 libxfs/util.c                                  | 122 ++++-
 libxfs/xfs.h                                   |  62 ++-
 libxfs/xfs_alloc.c                             |  37 +-
 libxfs/xfs_alloc_btree.c                       |  23 +-
 libxfs/xfs_attr.c                              |  39 +-
 libxfs/xfs_attr_leaf.c                         |   9 +-
 libxfs/xfs_attr_remote.c                       |   8 +-
 libxfs/xfs_bmap.c                              | 438 ++++-----------
 libxfs/xfs_bmap_btree.c                        |  14 +-
 libxfs/xfs_btree.c                             |  10 +
 libxfs/xfs_da_btree.c                          |  69 +--
 libxfs/xfs_dir2.c                              |  50 +-
 libxfs/xfs_dir2_block.c                        |  44 +-
 libxfs/xfs_dir2_data.c                         |  39 +-
 libxfs/xfs_dir2_leaf.c                         |  17 +-
 libxfs/xfs_dir2_node.c                         |  43 +-
 libxfs/xfs_dir2_priv.h                         |  44 +-
 libxfs/xfs_dir2_sf.c                           | 141 +++--
 libxfs/xfs_ialloc.c                            | 271 ++++++++--
 libxfs/xfs_ialloc_btree.c                      |  16 +-
 libxfs/xfs_inode_buf.c                         | 408 ++++++++++++++
 libxfs/{xfs_inode.c => xfs_inode_fork.c}       | 425 +--------------
 libxfs/xfs_log_rlimit.c                        | 135 +++++
 libxfs/xfs_rtalloc.c                           |   6 +-
 libxfs/{xfs_mount.c => xfs_sb.c}               | 118 +++-
 libxfs/{xfs_symlink.c => xfs_symlink_remote.c} |  52 +-
 libxfs/{xfs_trans.c => xfs_trans_resv.c}       | 379 +++++++------
 libxlog/xfs_log_recover.c                      |   3 +
 logprint/log_misc.c                            |  94 +++-
 logprint/log_print_all.c                       |  21 +
 mkfs/maxtrres.c                                |  58 +-
 mkfs/proto.c                                   |  24 +-
 mkfs/xfs_mkfs.c                                | 107 ++--
 mkfs/xfs_mkfs.h                                |   4 +-
 repair/attr_repair.c                           |   2 +
 repair/dir2.c                                  |  37 +-
 repair/dir2.h                                  |   1 +
 repair/incore_ino.c                            |   2 +
 repair/phase5.c                                |   3 +-
 repair/phase6.c                                | 111 ++--
 repair/phase7.c                                |   7 +-
 repair/scan.c                                  |   1 +
 99 files changed, 4251 insertions(+), 5042 deletions(-)
 delete mode 100644 include/xfs_buf_item.h
 delete mode 100644 include/xfs_dfrag.h
 delete mode 100644 include/xfs_extfree_item.h
 create mode 100644 include/xfs_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
 delete mode 100644 include/xfs_inode_item.h
 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
 delete mode 100644 include/xfs_symlink.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} (87%)
 rename libxfs/{xfs_symlink.c => xfs_symlink_remote.c} (68%)
 rename libxfs/{xfs_trans.c => xfs_trans_resv.c} (67%)

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