[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120123034513.3339.97432.stgit@ltc219.sdl.hitachi.co.jp>
Date: Mon, 23 Jan 2012 12:45:14 +0900
From: Mitsuo Hayasaka <mitsuo.hayasaka.hu@...achi.com>
To: Ben Myers <bpm@....com>, Alex Elder <aelder@....com>,
Christoph Hellwig <hch@....de>
Cc: xfs-masters@....sgi.com, xfs@....sgi.com,
linux-kernel@...r.kernel.org, yrl.pp-manager.tt@...achi.com
Subject: [PATCH 0/3] xfs: change available ranges in quota check
Hi,
This patch series changes available ranges of softlimit and
hardlimit in quota check, as follows.
(1) Consider new reservation for quota check
The disk block reservation checks if (current usage + new
reservation) reach the quota limit although the inode reservation
does not use the new reservation for quota check. It should
consider it, as well. This is mandatory for (2).
(2) Change available ranges of softlimit and hardlimit in quota check
Currently xfs quota allows us to use disk blocks and inodes
up to lower than quota limits. They should be used up to
not greater than the limits.
Thanks,
---
Mitsuo Hayasaka (3):
xfs: cleanup quota check on disk blocks and inodes reservations
xfs: change available ranges of softlimit and hardlimit in quota check
xfs: consider new reservation for quota check on inode reservation
fs/xfs/xfs_dquot.c | 24 ++++++++++++------------
fs/xfs/xfs_log_recover.c | 6 +++---
fs/xfs/xfs_qm_syscalls.c | 4 ++--
fs/xfs/xfs_trans_dquot.c | 15 +++++++--------
4 files changed, 24 insertions(+), 25 deletions(-)
--
Mitsuo Hayasaka (mitsuo.hayasaka.hu@...achi.com)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists