From: Evgeniy Polyakov <zbr@ioremap.net>
To: Oleg Drokin <green@linuxhacker.ru>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Attempt at "stat light" implementation
Date: Wed, 8 Apr 2009 00:18:24 +0400 [thread overview]
Message-ID: <20090407201823.GA4162@ioremap.net> (raw)
In-Reply-To: <20090407062356.GA1336463@fiona.linuxhacker.ru>
Hi Oleg.
On Tue, Apr 07, 2009 at 10:23:56AM +0400, Oleg Drokin (green@linuxhacker.ru) wrote:
> I quickly realized that perhaps we can use just one extra syscall for fstat, and stat/lstat could be
> implemented as statat with just current cwd, though I do not know how desirable that is.
>
> Also I though that it would be kind of useful to allow the bitmask to be compatible with existing statat
> flags usage so that we do not need a new statat.
What if instead you add single additional fsatat() flag and check
provided stat structure for the data user requested to get?
I.e. if i_size is not zero, than user wants to get it, the same applies
to all other fields.
--
Evgeniy Polyakov
prev parent reply other threads:[~2009-04-07 20:18 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
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 [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=20090407201823.GA4162@ioremap.net \
--to=zbr@ioremap.net \
--cc=green@linuxhacker.ru \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.