From: Steve Dickson <SteveD@redhat.com>
To: Sean Finney <sean.finney@sonyericsson.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH v2] nfs-utils: mountd: Use a dynamic buffer for storing lists of gid's
Date: Thu, 21 Apr 2011 08:26:36 -0400 [thread overview]
Message-ID: <4DB0227C.7070701@RedHat.com> (raw)
In-Reply-To: <1302261406-9048-1-git-send-email-sean.finney@sonyericsson.com>
On 04/08/2011 07:16 AM, Sean Finney wrote:
> Previously, in auth_unix_gid, group lists were stored in an array of
> hard-coded length 100, and in the situation that the group lists for a
> particular call were too large, the array was swapped with a dynamically
> allocated/freed buffer. For environments where users are commonly in
> a large number of groups, this isn't an ideal approach.
>
> Instead, use malloc/realloc to grow the list on an as-needed basis.
>
> Signed-off-by: Sean Finney <sean.finney@sonyericsson.com>
My bad... I committed this early this week and forgot to
acknowledge on the list... Sorry about that...
steved.
prev parent reply other threads:[~2011-04-21 12:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 11:16 [PATCH v2] nfs-utils: mountd: Use a dynamic buffer for storing lists of gid's Sean Finney
2011-04-08 11:16 ` [PATCH v2] nfs-utils: Increase the stdio file buffer size for procfs files Sean Finney
2011-04-08 18:04 ` J. Bruce Fields
2011-04-21 12:28 ` Steve Dickson
2011-04-21 12:26 ` Steve Dickson [this message]
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=4DB0227C.7070701@RedHat.com \
--to=steved@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=sean.finney@sonyericsson.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;
as well as URLs for NNTP newsgroup(s).