public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: donaldd@sgi.com
To: xfs@oss.sgi.com, sgi.bugs.xfs@engr.sgi.com
Subject: TAKE 962291 - Quota enforcement active for all quota types when enforcement is active for any
Date: Tue, 20 Mar 2007 11:59:15 +1100 (EST)	[thread overview]
Message-ID: <20070320005916.2197B26AB4C4@linuxbuild.melbourne.sgi.com> (raw)

Fix uquota and oquota enforcement problems.

When uquota and oquota (gquota/pquota) are enabled for accounting both
are enforced if ether has enforcement active. 

Conditions:
 - Both XFS_UQUOTA_ACCT and XFS_GQUOTA_ACCT are enabled.
 - Either XFS_UQUOTA_ENFD or XFS_OQUOTA_ENFD is enabled.
 - The usage without enforce is reached at the soft limit.

Problems:
 1. "repquota" shows all grace time even if no enforcement. 
 2. we cannot make a file over a hard limits even if no enforcement.

Signed-off-by: Kouta Ooizumi <k-ooizumi@tnes.nec.co.jp>



Date:  Tue Mar 20 11:54:43 AEDT 2007
Workarea:  linuxbuild.melbourne.sgi.com:/home/donaldd/isms/2.6.x-xfs
Inspected by:  doanldd

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:28272a
fs/xfs/xfs_quota.h - 1.48 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_quota.h.diff?r1=text&tr1=1.48&r2=text&tr2=1.47&f=h
	- Split out XFS_IS_QUOTA_ENFORCED into XFS_IS_UQUOTA_ENFORCED and XFS_IS_OQUOTA_ENFORCED.

fs/xfs/quota/xfs_trans_dquot.c - 1.19 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_trans_dquot.c.diff?r1=text&tr1=1.19&r2=text&tr2=1.18&f=h
	- Fix uquota and oquota enforcement problems.

fs/xfs/quota/xfs_qm_syscalls.c - 1.33 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_qm_syscalls.c.diff?r1=text&tr1=1.33&r2=text&tr2=1.32&f=h
	- Fix uquota and oquota enforcement problems.

                 reply	other threads:[~2007-03-20  0:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20070320005916.2197B26AB4C4@linuxbuild.melbourne.sgi.com \
    --to=donaldd@sgi.com \
    --cc=sgi.bugs.xfs@engr.sgi.com \
    --cc=xfs@oss.sgi.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