All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Ming Zhang <blackmagic02881@gmail.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: about quota implementation
Date: Mon, 12 Mar 2007 16:35:17 +0000	[thread overview]
Message-ID: <20070312163517.GA8690@infradead.org> (raw)
In-Reply-To: <1173715909.3889.23.camel@dhcp-107.ibrix.com>

On Mon, Mar 12, 2007 at 12:11:49PM -0400, Ming Zhang wrote:
> Hi All
> 
> I have a question about current quota implementation. 
> 
> This is current implementation. There is a rquotad running on same box
> as nfsd. Then in quota-tools, it check if file system type is nfs, then
> it invoke a rpc call and get that from rquotad.
> 
> Another way is to implement the s_qcops in kernel nfs client and thus
> quota-tools can use a unified way to get quotactl information.
> 
> Any special reason why not use 2nd way to make quota-tools simpler? One
> reason I can think of is to put unnecessary code out of kernel. Is there
> any other reason?

I think it's mostly a historical issue.  There was no abstraction
between the quotactl syscall and the default disk based quota implementation
at the time the nfs quote code was written.  I'd definitively welcome
a patch adding a kernel interface for nfs quotas.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2007-03-12 16:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 16:11 about quota implementation Ming Zhang
2007-03-12 16:35 ` Christoph Hellwig [this message]
2007-03-12 17:11   ` Trond Myklebust
2007-03-12 17:24     ` Ming Zhang
2007-03-12 17:27       ` Christoph Hellwig
2007-03-12 17:40         ` Ming Zhang
2007-03-12 17:39       ` Trond Myklebust
2007-03-12 17:44         ` Ming Zhang
2007-03-12 17:35     ` Ming Zhang
2007-03-12 17:29   ` Ming Zhang

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=20070312163517.GA8690@infradead.org \
    --to=hch@infradead.org \
    --cc=blackmagic02881@gmail.com \
    --cc=nfs@lists.sourceforge.net \
    /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.