[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110910202409.GB6709@quack.suse.cz>
Date: Sat, 10 Sep 2011 22:24:09 +0200
From: Jan Kara <jack@...e.cz>
To: Christoph Hellwig <hch@...radead.org>
Cc: Jan Kara <jack@...e.cz>, Andreas Dilger <adilger@...ger.ca>,
Aditya Kali <adityakali@...gle.com>,
"tytso@....edu" <tytso@....edu>,
"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH v2] ext4: make quota as first class supported feature
On Fri 09-09-11 11:40:57, Christoph Hellwig wrote:
> On Mon, Aug 29, 2011 at 10:46:02PM +0200, Jan Kara wrote:
> > The only pain point is repquota(8) - that needs a new kernel interface to
> > work reliably (for ocfs2 and xfs we workaround the inability to iterate
> > over all quota structures from userspace by using getpwent but that's just
> > ugly).
>
> Feel free to a new quotactl case to support it, but I don't reall see
> the problem of the getpwent loop.
Well, the trouble is with systems which have accounts stored e.g. in
LDAP with thousands / tens thousands of users (although each machine is
used only by a small subset of users). Then iterating with getpwent gets
really inefficient...
Honza
--
Jan Kara <jack@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists