[XFS updates] XFS development tree branch, master, updated. v3.4-rc2-3-g8a00ebe
xfs at oss.sgi.com
xfs at oss.sgi.com
Tue Apr 17 11:07:40 CDT 2012
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
8a00ebe xfs: Ensure inode reclaim can run during quotacheck
da5bf95 xfs: don't fill statvfs with project quota for a directory if it was not enabled.
from 0034102808e0dbbf3a2394b82b1bb40b5778de9e (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 8a00ebe4cfc90eda9ecb575ba97e22021cd8cf70
Author: Dave Chinner <david at fromorbit.com>
Date: Fri Apr 13 12:10:44 2012 +0000
xfs: Ensure inode reclaim can run during quotacheck
Because the mount process can run a quotacheck and consume lots of
inodes, we need to be able to run periodic inode reclaim during the
mount process. This will prevent running the system out of memory
during quota checks.
This essentially reverts 2bcf6e97, but that is safe to do now that
the quota sync code that was causing problems during long quotacheck
executions is now gone.
The reclaim work is currently protected from running during the
unmount process by a check against MS_ACTIVE. Unfortunately, this
also means that the reclaim work cannot run during mount. The
unmount process should stop the reclaim cleanly before freeing
anything that the reclaim work depends on, so there is no need to
have this guard in place.
Also, the inode reclaim work is demand driven, so there is no need
to start it immediately during mount. It will be started the moment
an inode is queued for reclaim, so qutoacheck will trigger it just
fine.
Signed-off-by: Dave Chinner <dchinner at redhat.com>
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
commit da5bf95e3cdca348327c82568c2860229c0daaa2
Author: Jie Liu <jeff.liu at oracle.com>
Date: Thu Apr 12 03:59:57 2012 +0000
xfs: don't fill statvfs with project quota for a directory if it was not enabled.
Check if the project quota is running or not before performing
xfs_qm_statvfs(), just return if not. Otherwise the ASSERT
XFS_IS_QUOTA_RUNNING in xfs_qm_dqget will be popped.
Signed-off-by: Jie Liu <jeff.liu at oracle.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/xfs_super.c | 23 +++++++++++------------
fs/xfs/xfs_sync.c | 19 +++++++++----------
2 files changed, 20 insertions(+), 22 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list