From: Benny Halevy <bhalevy@panasas.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Garth Gibson <garth@cs.cmu.edu>,
linux-nfs@vger.kernel.org, Jim Rees <rees@umich.edu>,
Andrew Klaassen <clawsoon@yahoo.com>
Subject: Re: Prioritizing readdirplus/getattr/lookup
Date: Tue, 05 Apr 2011 12:52:36 -0700 [thread overview]
Message-ID: <4D9B7304.7010506@panasas.com> (raw)
In-Reply-To: <1302032887.7265.40.camel@lade.trondhjem.org>
On 2011-04-05 12:48, Trond Myklebust wrote:
> On Tue, 2011-04-05 at 12:11 -0700, Benny Halevy wrote:
>> On 2011-04-05 10:14, Garth Gibson wrote:
>>> The OpenGroup HECE proposals for extending the application/filesystem interface did not have a team of implementers behind them. At the time some of the parallel file system vendors that added modules to the kernel were willing to work toward supporting these interfaces, but not a broader community.
>>>
>>> I encourage the pNFS community to consider the use cases that led to those proposals.
>>>
>>> One example is lazy attributes. Folks running large parallel jobs have a nasty habit of monitoring the progress of the job by running on their desktop a looping script doing ls -l on output files. What is the length of a file that is open and being written to by other nodes? Much of the time you want to be able to ask for a recently accurate value of attributes without recalling layouts, but perhaps some of the time you would like layouts to be recalled, or at least committed.
>>
>> Right now the pNFS server does not have to recall the layout on GETATTR
>> so lazy would be the default behavior for most implementations. Even if
>> a client holds a delegation the server could send a CB_GETATTR to it to
>> get the latest attributes without recalling the layout. At any rate,
>> the broader issue is that the posix system call API assumes a local file
>> system and is not network not cluster file-system aware.
>
> Recalling the outstanding layouts in a directory on every 'ls -l' sounds
> like the perfect recipe for poor performance. I can't see why any
> servers would want to do this.
>
> In any case, a layout recall does not trigger client writeback: layouts
> do not define a caching protocol.
Yet for already written (DATA_SYNC) data, a layout recall should trigger
a LAYOUTCOMMIT and that will update the visible attrs.
Benny
>
> Trond
next prev parent reply other threads:[~2011-04-05 19:52 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 13:31 Prioritizing readdirplus/getattr/lookup Andrew Klaassen
[not found] ` <802792.85762.qm-GjowA9KT+PL5nGHA2nhOEg9VFclH1bkmQQ4Iyu8u01E@public.gmane.org>
2011-04-04 16:22 ` Steven Procter
2011-04-04 16:45 ` Andrew Klaassen
2011-04-04 22:10 ` Andrew Klaassen
2011-04-04 23:05 ` Jim Rees
2011-04-05 0:26 ` Benny Halevy
2011-04-05 0:39 ` Jim Rees
[not found] ` <20110405003944.GA31014-8f4Pc2RrbJmHXe+LvDLADg@public.gmane.org>
2011-04-05 13:30 ` Benny Halevy
2011-04-05 17:14 ` Garth Gibson
2011-04-05 19:11 ` Benny Halevy
2011-04-05 19:34 ` Jim Rees
2011-04-05 19:46 ` Benny Halevy
2011-04-06 0:06 ` Andrew Klaassen
2011-04-06 19:25 ` Andrew Klaassen
2011-04-07 14:00 ` Chuck Lever
2011-04-07 14:34 ` Andrew Klaassen
2011-04-07 14:36 ` Chuck Lever
2011-04-07 21:25 ` Andrew Klaassen
2011-04-07 21:49 ` Andrew Klaassen
2011-04-07 22:48 ` Murata, Dennis
2011-04-08 1:22 ` Andrew Klaassen
2011-04-08 15:17 ` Chuck Lever
2011-04-11 13:31 ` Andrew Klaassen
2011-04-05 19:48 ` Trond Myklebust
2011-04-05 19:52 ` Benny Halevy [this message]
2011-04-05 19:57 ` Trond Myklebust
2011-04-05 20:57 ` Benny Halevy
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=4D9B7304.7010506@panasas.com \
--to=bhalevy@panasas.com \
--cc=Trond.Myklebust@netapp.com \
--cc=clawsoon@yahoo.com \
--cc=garth@cs.cmu.edu \
--cc=linux-nfs@vger.kernel.org \
--cc=rees@umich.edu \
/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).