[XFS updates] XFS development tree branch, for-linus, updated. v3.2-rc1-11437-gc922bbc
xfs at oss.sgi.com
xfs at oss.sgi.com
Tue Feb 21 10:22:01 CST 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, for-linus has been updated
c922bbc xfs: make inode quota check more general
20f12d8 xfs: change available ranges of softlimit and hardlimit in quota check
0529348 XFS: xfs_trans_add_item() - don't assign in ASSERT() when compare is intended
from 04da0c8196ac0b12fb6b84f4b7a51ad2fa56d869 (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 c922bbc819324558e61402a7a76c10c550ca61bc
Author: Mitsuo Hayasaka <mitsuo.hayasaka.hu at hitachi.com>
Date: Mon Feb 6 12:50:30 2012 +0000
xfs: make inode quota check more general
The xfs checks quota when reserving disk blocks and inodes. In the block
reservation, it checks if the total number of blocks including current
usage and new reservation exceed quota. In the inode reservation,
it checks using the total number of inodes including only current usage
without new reservation. However, this inode quota check works well
since the caller of xfs_trans_dquot() always sets the argument of the
number of new inode reservation to 1 or 0 and inode is reserved one by
one in current xfs.
To make it more general, this patch changes it to the same way as the
block quota check.
Signed-off-by: Mitsuo Hayasaka <mitsuo.hayasaka.hu at hitachi.com>
Cc: Ben Myers <bpm at sgi.com>
Cc: Alex Elder <elder at kernel.org>
Cc: Christoph Hellwig <hch at lst.de>
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
Reviewed-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Ben Myers <bpm at sgi.com>
commit 20f12d8ac01917d96860f352f67eddd912df0afb
Author: Mitsuo Hayasaka <mitsuo.hayasaka.hu at hitachi.com>
Date: Mon Feb 6 12:50:07 2012 +0000
xfs: change available ranges of softlimit and hardlimit in quota check
In general, quota allows us to use disk blocks and inodes up to each
limit, that is, they are available if they don't exceed their limitations.
Current xfs sets their available ranges to lower than them except disk
inode quota check. So, this patch changes the ranges to not beyond them.
Signed-off-by: Mitsuo Hayasaka <mitsuo.hayasaka.hu at hitachi.com>
Cc: Ben Myers <bpm at sgi.com>
Cc: Alex Elder <elder at kernel.org>
Cc: Christoph Hellwig <hch at lst.de>
Reviewed-by: Christoph Hellwig <hch at lst.de>
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
Signed-off-by: Ben Myers <bpm at sgi.com>
commit 05293485a0b6b1f803e8a3c0ff188c38f6969985
Author: Jesper Juhl <jj at chaosbits.net>
Date: Mon Feb 13 20:51:05 2012 +0000
XFS: xfs_trans_add_item() - don't assign in ASSERT() when compare is intended
It looks to me like the two ASSERT()s in xfs_trans_add_item() really
want to do a compare (==) rather than assignment (=).
This patch changes it from the latter to the former.
Signed-off-by: Jesper Juhl <jj at chaosbits.net>
Signed-off-by: Ben Myers <bpm at sgi.com>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/xfs_dquot.c | 24 ++++++++++++------------
fs/xfs/xfs_log_recover.c | 6 +++---
fs/xfs/xfs_qm_syscalls.c | 4 ++--
fs/xfs/xfs_trans.c | 4 ++--
fs/xfs/xfs_trans_dquot.c | 10 ++++++----
5 files changed, 25 insertions(+), 23 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list