All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Staubach <staubach@redhat.com>
To: Mohit Katiyar <katiyar.mohit@gmail.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: nfs mounting operation
Date: Thu, 28 Sep 2006 08:44:55 -0400	[thread overview]
Message-ID: <451BC3C7.4030308@redhat.com> (raw)
In-Reply-To: <46465bb30609272113i4daf0b9em1f32e03f35bf9fb7@mail.gmail.com>

Mohit Katiyar wrote:
> Hi all,
>
> I am new to the NFS filesystem. When we perfrom a nfs mount the
> nfs_getattr function is called. I would like to know why this getattr
> function is called and from which function in the vfs layer. I think
> it comes from vfs_stat_fd function but what are the parameters passed
> to it for calling get_attribute. Basically whose attributes are being
> searched??
> The same case with unmounting operation. why this getattr function is
> called and from where in vfs layer it is invoked?
> I am using linux-2.6.15. 

The over the wire GETATTR function is used during mounting to get the
initial set of attributes for the root of the mounted file system.

 From time to time, GETATTR is also used to validate the attributes and
cached resources associated with entities on the mounted file system.

        ps

  reply	other threads:[~2006-09-28 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28  4:13 nfs mounting operation Mohit Katiyar
2006-09-28 12:44 ` Peter Staubach [this message]
2006-09-29  4:05   ` Mohit Katiyar
2006-09-29 12:32     ` Peter Staubach

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=451BC3C7.4030308@redhat.com \
    --to=staubach@redhat.com \
    --cc=katiyar.mohit@gmail.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 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.