All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Tinguely <tinguely@sgi.com>
To: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
Cc: yrl.pp-manager.tt@hitachi.com, xfs@oss.sgi.com
Subject: Re: [PATCH -v2 2/3] xfs: make inode quota check more general
Date: Fri, 10 Feb 2012 15:32:06 -0600	[thread overview]
Message-ID: <4F358CD6.9000602@sgi.com> (raw)
In-Reply-To: <20120206125030.12624.95365.stgit@ltc219.sdl.hitachi.co.jp>

On 02/06/12 06:50, Mitsuo Hayasaka wrote:
> 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.
>

Does not hurt to be consistent with the block reservations.

Reviewed-by: Mark Tinguely <tinguely@sgi.com>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2012-02-10 21:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-06 12:49 [PATCH -v2 0/3] xfs: change available ranges in quota check Mitsuo Hayasaka
2012-02-06 12:49 ` Mitsuo Hayasaka
2012-02-06 12:50 ` [PATCH -v2 1/3] xfs: change available ranges of softlimit and hardlimit " Mitsuo Hayasaka
2012-02-06 12:50   ` Mitsuo Hayasaka
2012-02-10 20:37   ` Mark Tinguely
2012-02-17 14:01     ` Mark Tinguely
2012-02-15  2:32   ` Christoph Hellwig
2012-02-15  2:32     ` Christoph Hellwig
2012-02-06 12:50 ` [PATCH -v2 2/3] xfs: make inode quota check more general Mitsuo Hayasaka
2012-02-06 12:50   ` Mitsuo Hayasaka
2012-02-10 21:32   ` Mark Tinguely [this message]
2012-02-15  2:32   ` Christoph Hellwig
2012-02-15  2:32     ` Christoph Hellwig
2012-02-06 12:51 ` [PATCH -v2 3/3] xfs: cleanup quota check on disk blocks and inodes reservations Mitsuo Hayasaka
2012-02-06 12:51   ` Mitsuo Hayasaka
2012-02-10 22:23   ` Mark Tinguely
2012-02-15  2:33   ` Christoph Hellwig
2012-02-15  2:33     ` 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=4F358CD6.9000602@sgi.com \
    --to=tinguely@sgi.com \
    --cc=mitsuo.hayasaka.hu@hitachi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.