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
29db337 xfs: kill off l_sectbb_mask
678f0dc xfs: record log sector size rather than log2(that)
e1e3a44 xfs: remove dead XFS_LOUD_RECOVERY code
87ffbbd xfs: removed unused XFS_QMOPT_ flags
58b3575 xfs: remove a few macro indirections in the quota code
fcbd80f xfs: access quotainfo structure directly
e9ec286 xfs: wait for direct I/O to complete in fsync and write_inode
40a6f8e xfs: more swap extent fixes for dynamic fork offsets
from f0ef9eb19288ba3ed213348ea1f581d7b83b451e (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 29db3370a1369541d58d692fbfb168b8a0bd7f41
Author: Alex Elder <aelder@xxxxxxx>
Date: Tue Apr 20 17:10:21 2010 +1000
xfs: kill off l_sectbb_mask
There remains only one user of the l_sectbb_mask field in the log
structure. Just kill it off and compute the mask where needed from
the power-of-2 sector size.
(Only update from last post is to accomodate the changes in the
previous patch in the series.)
Signed-off-by: Alex Elder <aelder@xxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
commit 678f0dc26e9a5de74af3125b159e61b7e4cf2d69
Author: Alex Elder <aelder@xxxxxxx>
Date: Tue Apr 20 17:09:59 2010 +1000
xfs: record log sector size rather than log2(that)
Change struct log so it keeps track of the size (in basic blocks) of
a log sector in l_sectBBsize rather than the log-base-2 of that
value (previously, l_sectbb_log). The name was chosen for
consistency with the other fields in the structure that represent
a number of basic blocks.
(Updated so that a variable used in computing and verifying a log's
sector size is named "log2_size". Also added the "BB" to the
structure field name, based on feedback from Eric Sandeen. Also
dropped some superfluous parentheses.)
Signed-off-by: Alex Elder <aelder@xxxxxxx>
Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxxx>
commit e1e3a44169b4bee8776fab02da1e488e6288f915
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue Apr 20 17:02:50 2010 +1000
xfs: remove dead XFS_LOUD_RECOVERY code
This can't be enabled through the build system and has been dead for
ages. Note that the CRC patches add back log checksumming, but the
code is quite different from the version removed here anyway.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
commit 87ffbbd4b036529123b06cfd2927eb3fb2696ae8
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue Apr 20 17:02:29 2010 +1000
xfs: removed unused XFS_QMOPT_ flags
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
commit 58b3575a61b5a693a8813911d4305fe0490b12fb
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue Apr 20 17:01:53 2010 +1000
xfs: remove a few macro indirections in the quota code
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
commit fcbd80fb7729a574043e2c84de8d9e2975c17ce5
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue Apr 20 17:01:30 2010 +1000
xfs: access quotainfo structure directly
Access fields in m_quotainfo directly instead of hiding them behind the
XFS_QI_* macros. Add local variables for the quotainfo pointer in places
where we have lots of them.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
commit e9ec28636a169de6381de8662ad1171460710845
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue Apr 20 17:00:59 2010 +1000
xfs: wait for direct I/O to complete in fsync and write_inode
We need to wait for all pending direct I/O requests before taking care of
metadata in fsync and write_inode.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Dave Chinner <david@xxxxxxxxxxxxx>
commit 40a6f8e717ba1c4645dd2ba94005c2bf9ec7b6b1
Author: Dave Chinner <dchinner@xxxxxxxxxx>
Date: Tue Apr 20 17:00:37 2010 +1000
xfs: more swap extent fixes for dynamic fork offsets
A new xfsqa test (226) with a prototype xfs_fsr change to try to
handle dynamic fork offsets better triggers an assertion failure
where the inode data fork is in btree format, yet there is room in
the inode for it to be in extent format. The two inodes look like:
before: ino 0x101 (target), num_extents 11, Max in-fork extents 6, broot
size 40, fork offset 96
before: ino 0x115 (temp), num_extents 5, Max in-fork extents 3, broot size
40, fork offset 56
after: ino 0x101 (target), num_extents 5, Max in-fork extents 6, broot size
40, fork offset 96
after: ino 0x115 (temp), num_extents 11, Max in-fork extents 3, broot size
40, fork offset 56
Basically the target inode ends up with 5 extents in btree format,
but it had space for 6 extents in extent format, so ends up
incorrect. Notably here the broot size is the same, and that is
where the kernel code is going wrong - the btree root will fit, so
it lets the swap go ahead.
The check should not allow the swap to take place if the number of
extents while in btree format is less than the number of extents
that can fit in the inode in extent format. Adding that check will
prevent this swap and corruption from occurring.
Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/linux-2.6/xfs_file.c | 2 +
fs/xfs/linux-2.6/xfs_super.c | 1 +
fs/xfs/quota/xfs_dquot.c | 73 ++++++++++--------
fs/xfs/quota/xfs_dquot_item.c | 2 +-
fs/xfs/quota/xfs_qm.c | 160 ++++++++++++++++++++--------------------
fs/xfs/quota/xfs_qm_syscalls.c | 116 ++++++++++++++---------------
fs/xfs/quota/xfs_quota_priv.h | 27 -------
fs/xfs/quota/xfs_trans_dquot.c | 29 ++++----
fs/xfs/xfs_dfrag.c | 22 ++++--
fs/xfs/xfs_log.c | 32 ++++----
fs/xfs/xfs_log_priv.h | 4 +-
fs/xfs/xfs_log_recover.c | 106 +++++---------------------
fs/xfs/xfs_mount.c | 7 --
fs/xfs/xfs_quota.h | 3 -
14 files changed, 250 insertions(+), 334 deletions(-)
hooks/post-receive
--
XFS development tree
|