[XFS updates] XFS development tree branch, master, updated. v2.6.33-6394-g6ff75b7
xfs at oss.sgi.com
xfs at oss.sgi.com
Thu Apr 29 20:51:17 CDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".
The branch, master has been updated
6ff75b7 xfs: mark xfs_iomap_write_ helpers static
a413021 xfs: clean up end index calculation in xfs_page_state_convert
11720d2 xfs: clean up mapping size calculation in __xfs_get_blocks
76794fc xfs: clean up xfs_iomap_valid
ebe4f59 xfs: move I/O type flags into xfs_aops.c
73e9c5e xfs: kill struct xfs_iomap
7c0fd24 xfs: report iomap_bn in block base
34ff304 xfs: report iomap_offset and iomap_bsize in block base
fb7d0c9 xfs: remove iomap_delta
336f9cd xfs: remove iomap_target
89a603a xfs: limit xfs_imap_to_bmap to a single mapping
c3626f7 xfs: simplify buffer to transaction matching
8ec826c xfs: Make fiemap work in query mode.
56e84ad xfs: add a shrinker to background inode reclaim
from 29db3370a1369541d58d692fbfb168b8a0bd7f41 (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 6ff75b78182c314112c1173edaab6c164c95d775
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:29:01 2010 +0000
xfs: mark xfs_iomap_write_ helpers static
And also drop a useless argument to xfs_iomap_write_direct.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit a41302193f71c1e69fa75ddcfde12a05fa185c97
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:29:00 2010 +0000
xfs: clean up end index calculation in xfs_page_state_convert
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 11720d2e8ad7503b0be683cca2a81b9c17de4e11
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:59 2010 +0000
xfs: clean up mapping size calculation in __xfs_get_blocks
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 76794fc48f04c9e8ffa678c421b1ef0fcf6e0253
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:58 2010 +0000
xfs: clean up xfs_iomap_valid
Rename all iomap_valid identifiers to imap_valid to fit the new
world order, and clean up xfs_iomap_valid to convert the passed in
offset to blocks instead of the imap values to bytes. Use the
simpler inode->i_blkbits instead of the XFS macros for this.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit ebe4f59bc842d889a969cebc642dc17bc9b7a18f
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:57 2010 +0000
xfs: move I/O type flags into xfs_aops.c
The IOMAP_ flags are now only used inside xfs_aops.c for extent
probing and I/O completion tracking, so more them here, and rename
them to IO_* as there's no mapping involved at all.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 73e9c5e782342a83bdbc3ccd8a996c1fa74edecf
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:56 2010 +0000
xfs: kill struct xfs_iomap
Now that struct xfs_iomap contains exactly the same units as struct
xfs_bmbt_irec we can just use the latter directly in the aops code.
Replace the missing IOMAP_NEW flag with a new boolean output
parameter to xfs_iomap.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 7c0fd248818f5933d1211da7a97858511d476a7f
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:55 2010 +0000
xfs: report iomap_bn in block base
Report the iomap_bn field of struct xfs_iomap in terms of filesystem
blocks instead of in terms of bytes. Shift the byte conversions
into the caller, and replace the IOMAP_DELAY and IOMAP_HOLE flag
checks with checks for HOLESTARTBLOCK and DELAYSTARTBLOCK.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 34ff304c7ec70c46883e06a874e9a9257114c4d1
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:54 2010 +0000
xfs: report iomap_offset and iomap_bsize in block base
Report the iomap_offset and iomap_bsize fields of struct xfs_iomap
in terms of fsblocks instead of in terms of disk blocks. Shift the
byte conversions into the callers temporarily, but they will
disappear or get cleaned up later.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit fb7d0c974ee933e76b96a186027d1104de445869
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:53 2010 +0000
xfs: remove iomap_delta
The iomap_delta field in struct xfs_iomap just contains the
difference between the offset passed to xfs_iomap and the
iomap_offset. Just calculate it in the only caller that cares.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 336f9cdbe28cc3f978961bb3f81271498a857d68
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:52 2010 +0000
xfs: remove iomap_target
Instead of using the iomap_target field in struct xfs_iomap
and the IOMAP_REALTIME flag just use the already existing
xfs_find_bdev_for_inode helper. There's some fallout as we
need to pass the inode in a few more places, which we also
use to sanitize some calling conventions.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 89a603ab39afd5ba562fd6a67ab645fa3998c704
Author: Christoph Hellwig <hch at infradead.org>
Date: Wed Apr 28 12:28:51 2010 +0000
xfs: limit xfs_imap_to_bmap to a single mapping
We only call xfs_iomap for single mappings anyway, so remove all
code dealing with multiple mappings from xfs_imap_to_bmap and add
asserts that we never get results that we do not expect.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit c3626f7865b60a7956a9ab33ab5f172d8764ab92
Author: Christoph Hellwig <hch at infradead.org>
Date: Sun Apr 18 00:10:45 2010 +0000
xfs: simplify buffer to transaction matching
We currenly have a routine xfs_trans_buf_item_match_all which checks
if any log item in a transaction contains a given buffer, and a
second one that only does this check for the first, embedded chunk
of log items. We only use the second routine if we know we only
have that log item chunk, so get rid of the limited routine and
always use the more complete one.
Also rename the old xfs_trans_buf_item_match_all to
xfs_trans_buf_item_match and update various surrounding comments,
and move the remaining xfs_trans_buf_item_match on top of the file
to avoid a forward prototype.
Signed-off-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
commit 8ec826c21a7f20481c789edcafd11ac824cbe0ce
Author: Tao Ma <tao.ma at oracle.com>
Date: Thu Apr 29 15:13:56 2010 +1000
xfs: Make fiemap work in query mode.
According to Documentation/filesystems/fiemap.txt, If fm_extent_count
is zero, then the fm_extents[] array is ignored (no extents will be
returned), and the fm_mapped_extents count will hold the number of
extents needed.
But as the commit 97db39a1f6f69e906e98118392400de5217aa33a has changed
bmv_count to the caller's input buffer, this number query function can't
work any more. As this commit is written to change bmv_count from
MAXEXTNUM because of ENOMEM.
This patch just try to set bm.bmv_count to something sane.
Thanks to Dave Chinner <david at fromorbit.com> for the suggestion.
Cc: Eric Sandeen <sandeen at redhat.com>
Cc: Alex Elder <aelder at sgi.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Tao Ma <tao.ma at oracle.com>
commit 56e84ad381b6fbc63a4370f065cac0f584b3c7f5
Author: Dave Chinner <dchinner at redhat.com>
Date: Thu Apr 29 09:55:50 2010 +1000
xfs: add a shrinker to background inode reclaim
On low memory boxes or those with highmem, kernel can OOM before the
background reclaims inodes via xfssyncd. Add a shrinker to run inode
reclaim so that it inode reclaim is expedited when memory is low.
This is more complex than it needs to be because the VM folk don't
want a context added to the shrinker infrastructure. Hence we need
to add a global list of XFS mount structures so the shrinker can
traverse them.
Signed-off-by: Dave Chinner <dchinner at redhat.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/linux-2.6/xfs_aops.c | 231 +++++++++++++++++++++++----------------
fs/xfs/linux-2.6/xfs_iops.c | 5 +-
fs/xfs/linux-2.6/xfs_super.c | 5 +
fs/xfs/linux-2.6/xfs_sync.c | 112 ++++++++++++++++++--
fs/xfs/linux-2.6/xfs_sync.h | 7 +-
fs/xfs/quota/xfs_qm_syscalls.c | 3 +-
fs/xfs/xfs_ag.h | 1 +
fs/xfs/xfs_iomap.c | 123 +++++++---------------
fs/xfs/xfs_iomap.h | 47 +--------
fs/xfs/xfs_mount.h | 1 +
fs/xfs/xfs_trans_buf.c | 184 ++++++++------------------------
11 files changed, 346 insertions(+), 373 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list