linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
To: Ben Myers <bpm@sgi.com>, Alex Elder <aelder@sgi.com>,
	Christoph Hellwig <hch@lst.de>
Cc: xfs-masters@oss.sgi.com, xfs@oss.sgi.com,
	linux-kernel@vger.kernel.org, yrl.pp-manager.tt@hitachi.com
Subject: [PATCH 0/3] xfs: change available ranges in quota check
Date: Mon, 23 Jan 2012 12:45:14 +0900	[thread overview]
Message-ID: <20120123034513.3339.97432.stgit@ltc219.sdl.hitachi.co.jp> (raw)

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@hitachi.com)

             reply	other threads:[~2012-01-23  3:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23  3:45 Mitsuo Hayasaka [this message]
2012-01-23  3:45 ` [PATCH 1/3] xfs: consider new reservation for quota check on inode reservation Mitsuo Hayasaka
2012-01-23  3:45 ` [PATCH 2/3] xfs: change available ranges of softlimit and hardlimit in quota check Mitsuo Hayasaka
2012-01-23  3:45 ` [PATCH 3/3] xfs: cleanup quota check on disk blocks and inodes reservations Mitsuo Hayasaka
2012-02-02 16:07   ` Christoph Hellwig
2012-02-03  4:05     ` HAYASAKA Mitsuo
2012-01-24 17:46 ` [PATCH 0/3] xfs: change available ranges in quota check Christoph Hellwig
2012-01-27  6:21   ` HAYASAKA Mitsuo
2012-01-27 11:02     ` Christoph Hellwig
2012-01-27 14:02       ` HAYASAKA Mitsuo
2012-01-27 14:04         ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120123034513.3339.97432.stgit@ltc219.sdl.hitachi.co.jp \
    --to=mitsuo.hayasaka.hu@hitachi.com \
    --cc=aelder@sgi.com \
    --cc=bpm@sgi.com \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xfs-masters@oss.sgi.com \
    --cc=xfs@oss.sgi.com \
    --cc=yrl.pp-manager.tt@hitachi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).