Skip to content

xfsprogs: sync up with 3.11 kernel code

Dave Chinner linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22xfsprogs: introduce xfs_icreate.hinclude/Makefile include/xfs_icreate_item.h include/xfs_log.h +1 more+60 -40 replies
2/22xfsprogs: port inode create transaction changesinclude/libxfs.h include/xfs_ialloc.h include/xfs_icreate_item.h +3 more+160 -620 replies
3/22xfsprogs: teach logprint about icreate transactioninclude/libxlog.h logprint/log_misc.c logprint/log_print_all.c+58 -00 replies
4/22libxfs: switch over to xfs_sb.c and remove xfs_mount.cinclude/libxfs.h include/xfs_mount.h include/xfs_sb.h +6 more+689 -6470 replies
5/22libxfs: move the transaction reservation structuresinclude/libxfs.h include/xfs_mount.h include/xfs_trans.h +1 more+33 -340 replies
6/22xfsprogs: remove xfs_mount.hinclude/Makefile include/libxfs.h include/xfs_mount.h+6 -3590 replies
7/22libxfs: update xfs_inode.h to match new kernel versioninclude/xfs_inode.h libxfs/xfs.h libxfs/xfs_inode.c+99 -4110 replies
8/22xfs: 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 -1220 replies
9/22libxfs: local to remote format support of remote symlinksinclude/xfs_symlink.h libxfs/xfs_bmap.c libxfs/xfs_symlink.c+31 -120 replies
10/22xfsprogs: sync minor kernel header differencesinclude/xfs_ag.h include/xfs_alloc_btree.h include/xfs_attr_remote.h +15 more+124 -910 replies
11/22libxfs: introduce xfs_trans_resv.cinclude/Makefile include/libxfs.h include/xfs_trans.h +6 more+845 -6980 replies
12/22libxfs: fix directory/attribute format issuesinclude/xfs_attr_leaf.h include/xfs_dir2_format.h+4 -20 replies
13/22libxfs: ensure btree root split sets blkno correctlylibxfs/xfs_btree.c+10 -00 replies
14/22libxfs: move transaction code to trans.cinclude/xfs_trans.h libxfs/Makefile libxfs/trans.c +2 more+125 -1430 replies
15/22libxfs: fix byte swapping on constantsinclude/swab.h libxfs/xfs_alloc_btree.c libxfs/xfs_bmap_btree.c +1 more+34 -250 replies
16/22libxfs: sync xfs_da_btree.clibxfs/xfs_da_btree.c+33 -300 replies
17/22libxfs: update xfs_alloc to current kernel versionlibxfs/xfs_alloc.c+19 -120 replies
18/22libxfs: sync attr code with kernellibxfs/xfs_attr.c libxfs/xfs_attr_leaf.c+31 -230 replies
19/22libxfs: sync dir2 kernel differenceslibxfs/xfs_dir2.c libxfs/xfs_dir2_data.c libxfs/xfs_dir2_leaf.c +1 more+71 -280 replies
20/22libxfs: sync xfs_ialloc.c to the kernel codelibxfs/xfs_ialloc.c+173 -60 replies
21/22xfsprogs: define min/max once and use them everywhere.include/libxfs.h include/platform_defs.h.in io/init.h +1 more+5 -50 replies
22/22libxfs: fix compile warningscopy/xfs_copy.c db/bmroot.c libxfs/xfs.h +9 more+37 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/22] xfsprogs: sync up with 3.11 kernel code

Hi folks,

This is the xfsprogs patchset that goes along with the 3.11 kernel code patchset I just posted. It introduces all the support needed for the new icreate transaction, and syncs all the header and c files to the kernel code that has been modified to minimise the diffs between kernel and userspace. It also fixes all the outstanding compile warnigns I get here.

A benefit of the sync-up with the kernel code is that all the fixes made to the kernel that were missed from the userspace code have now been picked up.

This patchset is built on top of the current crc-dev branch of the
git://oss.sgi.com/xfs/cmds/xfsprogs.git repository. It is not dependent on the 3.11 kernel changes, so will work just fine on a kernel 3.10 kernel as well.

Ben, is is possible to get this committed quickly to the crc-dev branch so that people don't have to find the latest patch set to keep up with what I'm doing?

Comments, thoughts, flames, testing?

Cheers,

Dave.

$ git diff --stat --summary -C -M 94edda8..
 copy/xfs_copy.c                          |   12 +-
 db/bmroot.c                              |    6 +-
 include/Makefile                         |    6 +-
 include/libxfs.h                         |   38 ++-
 include/libxlog.h                        |    1 +
 include/platform_defs.h.in               |    5 +
 include/swab.h                           |    6 +-
 include/xfs_ag.h                         |    2 +-
 include/xfs_alloc_btree.h                |    3 +-
 include/xfs_attr_leaf.h                  |    1 +
 include/xfs_attr_remote.h                |   28 +--
 include/xfs_bmap.h                       |   15 +-
 include/xfs_bmap_btree.h                 |    3 +-
 include/xfs_btree.h                      |    3 +-
 include/xfs_buf_item.h                   |    4 +-
 include/xfs_dir2.h                       |   34 ++-
 include/xfs_dir2_format.h                |   39 +---
 include/xfs_extfree_item.h               |   14 +-
 include/xfs_fs.h                         |   26 ++-
 include/xfs_ialloc.h                     |    8 +
 include/xfs_ialloc_btree.h               |    3 +-
 include/xfs_icreate_item.h               |   56 +++++
 include/xfs_inode.h                      |  339 +--------------------------
 include/xfs_log.h                        |    5 +-
 include/xfs_log_priv.h                   |    1 -
 include/xfs_mount.h                      |  403 --------------------------------
 include/xfs_quota.h                      |    2 +
 include/xfs_sb.h                         |   19 ++
 include/xfs_symlink.h                    |   22 ++
 include/xfs_trace.h                      |    1 +
 include/xfs_trans.h                      |   91 +-------
 include/xfs_trans_resv.h                 |  135 +++++++++++
 io/init.h                                |    3 -
 libxfs/Makefile                          |    4 +-
 libxfs/init.c                            |    2 +-
 libxfs/rdwr.c                            |    1 -
 libxfs/trans.c                           |  118 ++++++++++
 libxfs/xfs.h                             |   23 +-
 libxfs/xfs_alloc.c                       |   31 ++-
 libxfs/xfs_alloc_btree.c                 |   23 +-
 libxfs/xfs_attr.c                        |    6 +-
 libxfs/xfs_attr_leaf.c                   |   50 ++--
 libxfs/xfs_attr_remote.c                 |    8 +-
 libxfs/xfs_bmap.c                        |  212 +++++++----------
 libxfs/xfs_bmap_btree.c                  |   14 +-
 libxfs/xfs_btree.c                       |   10 +
 libxfs/xfs_da_btree.c                    |   69 +++---
 libxfs/xfs_dir2.c                        |   45 ++++
 libxfs/xfs_dir2_block.c                  |   19 +-
 libxfs/xfs_dir2_data.c                   |   20 +-
 libxfs/xfs_dir2_leaf.c                   |    4 +-
 libxfs/xfs_dir2_node.c                   |   32 +--
 libxfs/xfs_ialloc.c                      |  266 ++++++++++++++++++---
 libxfs/xfs_ialloc_btree.c                |   16 +-
 libxfs/xfs_inode.c                       |  170 +++++++-------
 libxfs/xfs_rtalloc.c                     |    4 +-
 libxfs/{xfs_mount.c => xfs_sb.c}         |   61 ++++-
 libxfs/xfs_symlink.c                     |   29 +++
 libxfs/{xfs_trans.c => xfs_trans_resv.c} |  314 ++++++++++++-------------
 logprint/log_misc.c                      |   36 +++
 logprint/log_print_all.c                 |   21 ++
 mkfs/maxtrres.c                          |    8 +-
 repair/attr_repair.c                     |    2 +
 repair/incore_ino.c                      |    2 +
 repair/scan.c                            |    1 +
 65 files changed, 1483 insertions(+), 1472 deletions(-)
 create mode 100644 include/xfs_icreate_item.h
 delete mode 100644 include/xfs_mount.h
 create mode 100644 include/xfs_trans_resv.h
 rename libxfs/{xfs_mount.c => xfs_sb.c} (94%)
 rename libxfs/{xfs_trans.c => xfs_trans_resv.c} (79%)

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