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-1052-gf35642e
From: "Niv Sardi" <xaiki@xxxxxxx>
Date: Sun, 30 Nov 2008 18:32:04 -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  f35642e2f89f2b0379e929bd9027342365abc839 (commit)
       via  5af317c942aebc928ab244eb69581bd8e5333215 (commit)
       via  8a7141a8b931d60d42830432b82078cd6dace83b (commit)
      from  0924b585fc49bf371bc700c23e516a538bf589af (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 f35642e2f89f2b0379e929bd9027342365abc839
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date:   Fri Nov 28 14:23:35 2008 +1100

    [XFS] Hook up the fiemap ioctl.
    
    This adds the fiemap inode_operation, which for us converts the
    fiemap values & flags into a getbmapx structure which can be sent
    to xfs_getbmap.  The formatter then copies the bmv array back into
    the user's fiemap buffer via the fiemap helpers.
    
    If we wanted to be more clever, we could also return mapping data
    for in-inode attributes, but I'm not terribly motivated to do that
    just yet.
    
    Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 5af317c942aebc928ab244eb69581bd8e5333215
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date:   Fri Nov 28 14:23:35 2008 +1100

    [XFS] Add new getbmap flags.
    
    This adds a new output flag, BMV_OF_LAST to indicate if we've hit
    the last extent in the inode.  This potentially saves an extra call
    from userspace to see when the whole mapping is done.
    
    It also adds BMV_IF_DELALLOC and BMV_OF_DELALLOC to request, and
    indicate, delayed-allocation extents.  In this case bmv_block
    is set to -2 (-1 was already taken for HOLESTARTBLOCK; unfortunately
    these are the reverse of the in-kernel constants.)
    
    These new flags facilitate addition of the new fiemap interface.
    
    Rather than adding sh_delalloc, remove sh_unwritten & just test
    the flags directly.
    
    Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

commit 8a7141a8b931d60d42830432b82078cd6dace83b
Author: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date:   Fri Nov 28 14:23:35 2008 +1100

    [XFS] convert xfs_getbmap to take formatter functions
    
    Preliminary work to hook up fiemap, this allows us to pass in an
    arbitrary formatter to copy extent data back to userspace.
    
    The formatter takes info for 1 extent, a pointer to the user "thing*"
    and a pointer to a "filled" variable to indicate whether a userspace
    buffer did get filled in (for fiemap, hole "extents" are skipped).
    
    I'm just using the getbmapx struct as a "common denominator" because
    as far as I can see, it holds all info that any formatters will care
    about.
    
    ("*thing" because fiemap doesn't pass the user pointer around, but rather
    has a pointer to a fiemap info structure, and helpers associated with it)
    
    Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Niv Sardi <xaiki@xxxxxxx>

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

Summary of changes:
 fs/xfs/linux-2.6/xfs_ioctl.c |   64 ++++++++++++++++----------
 fs/xfs/linux-2.6/xfs_iops.c  |   84 ++++++++++++++++++++++++++++++++++
 fs/xfs/xfs_bmap.c            |  104 ++++++++++++++++++++++--------------------
 fs/xfs/xfs_bmap.h            |   11 +++--
 fs/xfs/xfs_fs.h              |   18 ++-----
 5 files changed, 190 insertions(+), 91 deletions(-)


-- 
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-1052-gf35642e, Niv Sardi <=