xfs
[Top] [All Lists]

[XFS updates] XFS public tree - master for latest XFS changes for mainli

To: xfs@xxxxxxxxxxx
Subject: [XFS updates] XFS public tree - master for latest XFS changes for mainline, xfs-dev like master with kdb/dmapi branch, master, updated. v2.6.28-rc3-1070-g0e44667
From: "Niv Sardi" <xaiki@xxxxxxx>
Date: Sun, 30 Nov 2008 18:40:28 -0600
Updates for the "XFS public tree - master for latest XFS changes for mainline, 
xfs-dev like master with kdb/dmapi" project have been committed to
the repository at "git://oss.sgi.com/xfs/xfs.git"

The branch, master has been updated
       via  0e446673a15a4e9c336b67c1a638eb12c21d0993 (commit)
       via  24f211bad09a31f19dda0c3faffe0244f4f235f5 (commit)
       via  b48d8d64377f39913663a06f4757f3b8c6fc6d87 (commit)
       via  92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1 (commit)
       via  94e1b69d1abd108d306e926c3012ec89e481c0da (commit)
       via  a1941895034cda2bffa23ba845607c82138ccf52 (commit)
       via  76d8b277f7b715f78ee3cb09ee112563639693a5 (commit)
       via  23fac50f959a87febf7ce4ae9d47525121f10c7a (commit)
       via  51ce16d519da0bc3c548e0facef7cb3aab1ac8cc (commit)
       via  81591fe2db19d0fc1ec2aaaa6a790a5ab97ac3ab (commit)
       via  d42f08f61c5e7f0ed4c6b6df4c9987ddb85ec66e (commit)
       via  b28708d6a0a3ed65a68f0dcd8e6d1c09f14e5cf3 (commit)
       via  4805621a37d9b2b16641b5c68597651419e9e252 (commit)
       via  5e1be0fb1a3950597aeda448698e85b0595a2e92 (commit)
       via  26c5295135d10fc90cbf160adfda392d91f58279 (commit)
       via  207fcfad58482c7c9f92939a1f6df9f7e8873a34 (commit)
       via  2b5decd09e9f98c4e361f97f3e32d80164774f75 (commit)
       via  00dd4029e9afa642c2b26dc3aac834322ac29b4a (commit)
      from  f35642e2f89f2b0379e929bd9027342365abc839 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0e446673a15a4e9c336b67c1a638eb12c21d0993
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:42 2008 +1100

    [XFS] fix error handling in xlog_recover_process_one_iunlink
    
    If we fail after xfs_iget we have to drop the reference count, spotted
    by Dave Chinner.  Also remove some useless asserts and stop trying to
    deal with di_mode == 0 inodes because never gets those without passing
    the IGET_CREATE flag to xfs_iget.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 24f211bad09a31f19dda0c3faffe0244f4f235f5
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:42 2008 +1100

    [XFS] move inode allocation out xfs_iread
    
    Allocate the inode in xfs_iget_cache_miss and pass it into xfs_iread.  This
    simplifies the error handling and allows xfs_iread to be shared with 
userspace
    which already uses these semantics.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit b48d8d64377f39913663a06f4757f3b8c6fc6d87
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:41 2008 +1100

    [XFS] kill the XFS_IMAP_BULKSTAT flag
    
    Just pass down the XFS_IGET_* flags all the way down to xfs_imap instead
    of translating them mid-way.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:41 2008 +1100

    [XFS] embededd struct xfs_imap into xfs_inode
    
    Most uses of struct xfs_imap are to map and inode to a buffer.  To avoid
    copying around the inode location information we should just embedd a
    strcut xfs_imap into the xfs_inode.  To make sure it doesn't bloat an
    inode the im_len is changed to a ushort, which is fine as that's what
    the users exepect anyway.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 94e1b69d1abd108d306e926c3012ec89e481c0da
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:41 2008 +1100

    [XFS] merge xfs_imap into xfs_dilocate
    
    xfs_imap is the only caller of xfs_dilocate and doesn't add any significant
    value.  Merge the two functions and document the various cases we have for
    inode cluster lookup in the new xfs_imap.
    
    Also remove the unused im_agblkno and im_ioffset fields from struct xfs_imap
    while we're at it.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit a1941895034cda2bffa23ba845607c82138ccf52
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:40 2008 +1100

    [XFS] remove dead code for old inode item recovery
    
    We have removed the support for old-style inode items a while ago and
    xlog_recover_do_inode_trans is now only called for XFS_LI_INODE items.
    That means we can remove the call to xfs_imap there and with it the
    XFS_IMAP_LOOKUP that is set by all other callers.  We can also mark
    xfs_imap static now.
    
    (First sent on October 21st)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 76d8b277f7b715f78ee3cb09ee112563639693a5
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:40 2008 +1100

    [XFS] stop using xfs_itobp in xfs_iread
    
    The only caller of xfs_itobp that doesn't have i_blkno setup is now
    the initial inode read.  It needs access to the whole xfs_imap so using
    xfs_inotobp is not an option.  Instead opencode the buffer lookup in
    xfs_iread and kill all the functionality for the initial map from
    xfs_itobp.
    
    (First sent on October 21st)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 23fac50f959a87febf7ce4ae9d47525121f10c7a
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:40 2008 +1100

    [XFS] split up xlog_recover_process_iunlinks
    
    Split out the body of the main loop into a separate helper to make the
    code readable.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 51ce16d519da0bc3c548e0facef7cb3aab1ac8cc
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:39 2008 +1100

    [XFS] kill XFS_DINODE_VERSION_ defines
    
    These names don't add any value at all over just using the numerical
    values.
    
    (First sent on October 9th)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 81591fe2db19d0fc1ec2aaaa6a790a5ab97ac3ab
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:39 2008 +1100

    [XFS] kill xfs_dinode_core_t
    
    Now that we have a separate xfs_icdinode_t for the in-core inode which
    gets logged there is no need anymore for the xfs_dinode vs xfs_dinode_core
    split - the fact that part of the structure gets logged through the inode
    log item and a small part not can better be described in a comment.
    
    All sizeof operations on the dinode_core either really wanted the
    icdinode and are switched to that one, or had already added the size
    of the agi unlinked list pointer.  Later both will be replaced with
    helpers once we get the larger CRC-enabled dinode.
    
    Removing the data and attribute fork unions also has the advantage that
    xfs_dinode.h doesn't need to pull in every header under the sun.
    
    While we're at it also add some more comments describing the dinode
    structure.
    
    (First sent on October 7th)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit d42f08f61c5e7f0ed4c6b6df4c9987ddb85ec66e
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:38 2008 +1100

    [XFS] kill xfs_ialloc_log_di
    
    xfs_ialloc_log_di is only used to log the full inode core + 
di_next_unlinked.
    That means all the offset magic is not nessecary and we can simply use
    xfs_trans_log_buf directly.  Also add a comment describing what we should do
    here instead.
    
    (First sent on October 7th)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit b28708d6a0a3ed65a68f0dcd8e6d1c09f14e5cf3
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:38 2008 +1100

    [XFS] sanitize xlog_in_core_t definition
    
    Move all fields from xlog_iclog_fields_t into xlog_in_core_t instead of 
having
    them in a substructure and the using #defines to make it look like they were
    directly in xlog_in_core_t.  Also document that xlog_in_core_2_t is grossly
    misnamed, and make all references to it typesafe.
    
    (First sent on Semptember 15th)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 4805621a37d9b2b16641b5c68597651419e9e252
Author: From: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:38 2008 +1100

    [XFS] factor out xfs_read_agf helper
    
    Add a helper to read the AGF header and perform basic verification.
    Based on hunks from a larger patch from Dave Chinner.
    
    (First sent on Juli 23rd)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 5e1be0fb1a3950597aeda448698e85b0595a2e92
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:37 2008 +1100

    [XFS] factor out xfs_read_agi helper
    
    Add a helper to read the AGI header and perform basic verification.
    Based on hunks from a larger patch from Dave Chinner.
    
    (First sent on Juli 23rd)
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 26c5295135d10fc90cbf160adfda392d91f58279
Author: Dave Chinner <david@xxxxxxxxxxxxx>
Date:   Fri Nov 28 14:23:37 2008 +1100

    [XFS] remove i_gen from incore inode
    
    i_gen is incremented in directory operations when the
    directory is changed. It is never read or otherwise used
    so it should be removed to help reduce the size of the
    struct xfs_inode.
    
    The patch also removes a duplicate logging of the directory
    inode core. We only need to do this once per transaction
    so kill the one associated with the i_gen increment.
    
    Signed-off-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 207fcfad58482c7c9f92939a1f6df9f7e8873a34
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date:   Fri Nov 28 14:23:37 2008 +1100

    [XFS] remove xfs_vfsops.h
    
    The only thing left is xfs_do_force_shutdown which already has a defintion
    in xfs_mount.h.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 2b5decd09e9f98c4e361f97f3e32d80164774f75
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:36 2008 +1100

    [XFS] remove xfs_vfs.h
    
    The only thing left are the forced shutdown flags and freeze macros which
    fit into xfs_mount.h much better.
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 00dd4029e9afa642c2b26dc3aac834322ac29b4a
Author: Christoph Hellwig <hch@xxxxxx>
Date:   Fri Nov 28 14:23:36 2008 +1100

    [XFS] remove bhv_statvfs_t typedef
    
    Signed-off-by: Christoph Hellwig <hch@xxxxxx>
    Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

-----------------------------------------------------------------------

Summary of changes:
 fs/xfs/linux-2.6/xfs_export.c  |    1 -
 fs/xfs/linux-2.6/xfs_ioctl.c   |    2 +-
 fs/xfs/linux-2.6/xfs_ioctl32.c |    1 -
 fs/xfs/linux-2.6/xfs_linux.h   |    1 -
 fs/xfs/linux-2.6/xfs_super.c   |    1 -
 fs/xfs/linux-2.6/xfs_vfs.h     |   46 -----
 fs/xfs/linux-2.6/xfs_vnode.h   |    3 +
 fs/xfs/quota/xfs_qm_bhv.c      |    4 +-
 fs/xfs/xfs_ag.h                |    5 +
 fs/xfs/xfs_alloc.c             |   69 +++++--
 fs/xfs/xfs_dinode.h            |  145 +++++---------
 fs/xfs/xfs_dir2_sf.h           |    7 -
 fs/xfs/xfs_ialloc.c            |  317 ++++++++++++++++----------------
 fs/xfs/xfs_ialloc.h            |   10 +-
 fs/xfs/xfs_iget.c              |   89 ++++++++-
 fs/xfs/xfs_imap.h              |   38 ----
 fs/xfs/xfs_inode.c             |  406 +++++++++-------------------------------
 fs/xfs/xfs_inode.h             |   34 ++--
 fs/xfs/xfs_inode_item.c        |   15 +-
 fs/xfs/xfs_itable.c            |   26 +--
 fs/xfs/xfs_log.c               |   12 +-
 fs/xfs/xfs_log_priv.h          |   46 ++----
 fs/xfs/xfs_log_recover.c       |  295 ++++++++++++-----------------
 fs/xfs/xfs_mount.c             |    3 +-
 fs/xfs/xfs_mount.h             |   12 +-
 fs/xfs/xfs_rename.c            |   12 +-
 fs/xfs/xfs_utils.c             |    6 +-
 fs/xfs/xfs_vfsops.c            |    1 -
 fs/xfs/xfs_vfsops.h            |   14 --
 fs/xfs/xfs_vnodeops.c          |   29 +---
 30 files changed, 640 insertions(+), 1010 deletions(-)
 delete mode 100644 fs/xfs/linux-2.6/xfs_vfs.h
 delete mode 100644 fs/xfs/xfs_imap.h
 delete mode 100644 fs/xfs/xfs_vfsops.h


-- 
XFS public tree - master for latest XFS changes for mainline, xfs-dev like 
master with kdb/dmapi

<Prev in Thread] Current Thread [Next in Thread>
  • [XFS updates] XFS public tree - master for latest XFS changes for mainline, xfs-dev like master with kdb/dmapi branch, master, updated. v2.6.28-rc3-1070-g0e44667, Niv Sardi <=