[XFS updates] XFS development tree branch, master, updated. v2.6.33-rc4-46-g388f1f0
xfs at oss.sgi.com
xfs at oss.sgi.com
Mon Feb 8 14:43:09 CST 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
388f1f0 xfs: turn off sign warnings
cbe132a xfs: don't hold onto reserved blocks on remount,ro
from 9b00f30762fe9f914eb6e03057a616ed63a4e8ca (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 388f1f0c346b533b06d8bc792f7204ebc3e4b7da
Author: Dave Chinner <david at fromorbit.com>
Date: Tue Jan 26 15:10:15 2010 +1100
xfs: turn off sign warnings
Because they cause warnings in static inline functions conditionally
compiled into XFS from the VFS (e.g. fsnotify).
Signed-off-by: Dave Chinner <david at fromorbit.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
commit cbe132a8bdcff0f9afd9060948fb50597c7400b8
Author: Dave Chinner <david at fromorbit.com>
Date: Tue Jan 26 15:08:49 2010 +1100
xfs: don't hold onto reserved blocks on remount,ro
If we hold onto reserved blocks when doing a remount,ro we end
up writing the blocks used count to disk that includes the reserved
blocks. Reserved blocks are not actually used, so this results in
the values in the superblock being incorrect.
Hence if we run xfs_check or xfs_repair -n while the filesystem is
mounted remount,ro we end up with an inconsistent filesystem being
reported. Also, running xfs_copy on the remount,ro filesystem will
result in an inconsistent image being generated.
To fix this, unreserve the blocks when doing the remount,ro, and
reserved them again on remount,rw. This way a remount,ro filesystem
will appear consistent on disk to all utilities.
Signed-off-by: Dave Chinner <david at fromorbit.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/Makefile | 2 +-
fs/xfs/linux-2.6/xfs_super.c | 28 ++++++++++++++++++++++++++++
fs/xfs/xfs_mount.h | 1 +
3 files changed, 30 insertions(+), 1 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list