From: Kyle Rose <krose@krose.org>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-nfs@vger.kernel.org
Subject: Re: READDIRPLUS max mount option
Date: Fri, 07 Mar 2008 16:04:05 -0500 [thread overview]
Message-ID: <47D1ADC5.1050108@krose.org> (raw)
In-Reply-To: <1204922570.16746.37.camel@heimdal.trondhjem.org>
> The size of the actual READDIRPLUS requests is completely unaffected by
> your patch. Your change actually means that the client will continue to
> use READDIRPLUS on very large directories instead of falling back to
> readdir.
>
Sorry to be imprecise. "Size of request" should be "size of response"
or "cost of request". The meaning is clear, I think.
> If you want a faster readdir(), you will find that splitting those huge
> directories up into smaller subdirs is an alternative solution that
> tends to scale much better on both client and server.
>
Agreed that this is probably the least terrible of the available
solutions, but in my specific case it requires a more extensive
modification to my software than the relatively minor kernel change.
> Having hundreds of mount options for minor tweaks is not an acceptable
> practice. Each mount option needs to be abundantly justified.
>
Regarding your straw man, nobody's proposing hundreds of mount options.
I imagine the effort required to implement each one would keep such a
thing from happening. ;-)
> Since we're talking about what is really a quite arbitrary limit, I can
> certainly see an argument for why we might want a way to change it, but
> I'm still not convinced that we need to be setting this parameter at the
> mountpoint level.
Fair enough. A proc entry to alter this globally would be an acceptable
compromise for me, even if my local sysadmins might not like it.
Kyle
next prev parent reply other threads:[~2008-03-07 21:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 19:37 READDIRPLUS max mount option Kyle Rose
2008-03-07 19:59 ` Trond Myklebust
2008-03-07 20:09 ` Kyle Rose
2008-03-07 20:42 ` Trond Myklebust
2008-03-07 21:04 ` Kyle Rose [this message]
2008-03-09 16:16 ` Jan Engelhardt
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=47D1ADC5.1050108@krose.org \
--to=krose@krose.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/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