public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* Definition of XFS_DQUOT_LOGRES()
@ 2008-03-31 22:45 Michael Nishimoto
  2008-04-01  1:28 ` David Chinner
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Nishimoto @ 2008-03-31 22:45 UTC (permalink / raw)
  To: XFS Mailing List

The comment for XFS_DQUOT_LOGRES states that we need to reserve space
for 3 dquots.  I can't figure out why we need to add this amount to *all*
operations and why this amount wasn't added after doing a runtime
quotaon check.

Comments?

     Michael

/*
  * In the worst case, when both user and group quotas are on,
  * we can have a max of three dquots changing in a single transaction.
  */
#define XFS_DQUOT_LOGRES(mp)    (sizeof(xfs_disk_dquot_t) * 3)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-02  1:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 22:45 Definition of XFS_DQUOT_LOGRES() Michael Nishimoto
2008-04-01  1:28 ` David Chinner
2008-04-01 21:03   ` Michael Nishimoto
2008-04-02  1:24     ` David Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox