From: Oleg Drokin <green@linuxhacker.ru>
To: jim owens <jowens@hp.com>
Cc: Andreas Dilger <adilger@sun.com>, linux-fsdevel@vger.kernel.org
Subject: Re: Attempt at "stat light" implementation
Date: Tue, 7 Apr 2009 11:38:26 -0400 [thread overview]
Message-ID: <5F293D25-E48B-4B0F-808F-B389DE05DD01@linuxhacker.ru> (raw)
In-Reply-To: <49DB6FB1.1060504@hp.com>
Hello!
On Apr 7, 2009, at 11:22 AM, jim owens wrote:
> - applications are not smart (except maybe on luster).
> - applications find it easier and usually faster to get
> all the stat info and sort it themselves, particularly
> when they are tested exclusively on local systems.
No argument about these.
> - who is going to fix (and keep fixed) those gui file managers
> (and stop users from "ls -l" or viewing properties)?
The idea is once this gets upstream, ls (and then possibly
filemanagers) will start to use this call.
Then it will eventualy propagate to users the natural way.
> - even internal kernel getattrs would often make a "light"
> call, then the next operation needed the "heavy" attrs,
> so we sent 2 RPCs instead of 1 and had to do a lot more
> complicated local attr cache management of what fields
> were valid in cache and what were not.
The thing is, e.g. in Lustre there are different kind of locks you
would get for different inode attributes and these 2 RPCs to
get them separately 5 minutes apart from each other would actually
save us some RPCs, since there would not be lock ping pong to
invalidate the locks held by a client protecting e.g. directory
nlink count (that the client does not care about) when another dir
is created in that dir.
> And I spent a lot of time fixing attr cache and cluster
> locking problems in the cluster FS and NFS code.
Well, since internally we represent only partial view of attributes
anyway, this is a not an issue for us.
Bye,
Oleg
next prev parent reply other threads:[~2009-04-07 15:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-07 6:23 Attempt at "stat light" implementation Oleg Drokin
2009-04-07 10:23 ` Andreas Dilger
2009-04-07 14:54 ` Oleg Drokin
2009-04-07 17:52 ` Christoph Hellwig
2009-04-07 15:22 ` jim owens
2009-04-07 15:38 ` Oleg Drokin [this message]
2009-04-07 16:20 ` jim owens
2009-04-07 17:32 ` Jamie Lokier
2009-04-07 17:38 ` Jeff Garzik
2009-04-07 17:56 ` Jamie Lokier
2009-04-07 18:21 ` Andreas Dilger
2009-04-07 19:30 ` Ulrich Drepper
2009-04-12 20:55 ` Jamie Lokier
2009-04-07 17:41 ` Oleg Drokin
2009-04-07 17:54 ` Jamie Lokier
2009-04-07 18:00 ` Oleg Drokin
2009-04-07 18:18 ` Andreas Dilger
2009-04-07 18:31 ` Nicholas Miell
2009-04-07 17:49 ` Christoph Hellwig
2009-04-07 17:56 ` Oleg Drokin
2009-04-07 18:28 ` Andreas Dilger
2009-04-07 18:50 ` Jamie Lokier
2009-04-07 19:48 ` Jeff Garzik
2009-04-07 19:47 ` Jeff Garzik
2009-04-07 20:18 ` Evgeniy Polyakov
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=5F293D25-E48B-4B0F-808F-B389DE05DD01@linuxhacker.ru \
--to=green@linuxhacker.ru \
--cc=adilger@sun.com \
--cc=jowens@hp.com \
--cc=linux-fsdevel@vger.kernel.org \
/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).