mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Binny Gill <kernelwise@yahoo.com>
To: trond.myklebust@fys.uio.no, linux-kernel@vger.kernel.org
Subject: Attributes returned by NFS Readdirplus not utilized?
Date: Sat, 20 Sep 2003 21:38:24 -0700 (PDT)	[thread overview]
Message-ID: <20030921043824.9720.qmail@web20706.mail.yahoo.com> (raw)
In-Reply-To: <20030920123944.GA2378@kiwi.hjbaader.home>

Hello Trond,

I am working with the patch to make readdirplus work for NFSv3 client in linux 2.4.18

I noticed that the attributes returned are mostly thrown away as the fattr->timestamp 
that they get during nfs_cached_lookup() is the mtime of the directory (which is normally way in
the past for directories that dont change that often). I was wondering why we cannot store the 
time the readdirplus results were received in the cache and use that as the fattr->timestamp. 

I would like to use '1 readdirplus' to serve a 'ls -la'. Currently it is more like
'1 readdirplus + getattrs for each child'. Am I missing something here?

Regards,
Binny


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

      reply	other threads:[~2003-09-21  4:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-20 12:39 2.4.22 Oops in NFS write Hans-Joachim Baader
2003-09-21  4:38 ` Binny Gill [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=20030921043824.9720.qmail@web20706.mail.yahoo.com \
    --to=kernelwise@yahoo.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®