vilobh meshram
2011-May-26  07:13 UTC
[Lustre-discuss] Information regarding the FILE HANDLE
Hi, I was wondering in which part/structure of the code the file handle information is present in Lustre. Can somebody please point me to it ? I tried looking up in the code but couldn''t exactly make it out. Is File handle part of EA i.e. the extended attributes ? Thanks, Vilobh -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110526/8738e4f8/attachment.html
Hello! On May 26, 2011, at 3:13 AM, vilobh meshram wrote:> I was wondering in which part/structure of the code the file handle information is present in Lustre. Can somebody please point me to it ? > > I tried looking up in the code but couldn''t exactly make it out. > > Is File handle part of EA i.e. the extended attributes ?There are multiple things that could be called file handle, so it would be great if you explain a little bit about what is it you are actually looking for. Bye, Oleg -- Oleg Drokin Senior Software Engineer Whamcloud, Inc.
vilobh meshram
2011-May-26  23:31 UTC
[Lustre-discuss] Information regarding the FILE HANDLE
Hi Oleg, Thanks for the reply. What is equivalent of the NFS File handle in Lustre ? Can you give me example of few of the multiple things that could be called as a File handle. Thanks, Vilobh On Thu, May 26, 2011 at 4:30 PM, Oleg Drokin <green at whamcloud.com> wrote:> Hello! > > On May 26, 2011, at 3:13 AM, vilobh meshram wrote: > > > I was wondering in which part/structure of the code the file handle > information is present in Lustre. Can somebody please point me to it ? > > > > I tried looking up in the code but couldn''t exactly make it out. > > > > Is File handle part of EA i.e. the extended attributes ? > > There are multiple things that could be called file handle, so it would be > great if you explain a little bit > about what is it you are actually looking for. > > Bye, > Oleg > -- > Oleg Drokin > Senior Software Engineer > Whamcloud, Inc. > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20110526/01a5698c/attachment.html
Hello!
   Well, the closest to nfs fh is probably lustre FID. (inode inum and
generation in 1.8).
   Multiple things are: the open handle returned by MDS open, the FIDs, the nfs
file handle constructed by lustre_nfs layer, the file descriptors returned from
open(2), ...
Bye,
    Oleg
On May 26, 2011, at 7:31 PM, vilobh meshram wrote:
> Hi Oleg,
> 
> Thanks for the reply.
> 
> What is equivalent of the NFS File handle in Lustre ?
> 
> Can you give me example of few of the multiple things that could be called
as a File handle.
> 
> Thanks,
> Vilobh
> 
> On Thu, May 26, 2011 at 4:30 PM, Oleg Drokin <green at whamcloud.com>
wrote:
> Hello!
> 
> On May 26, 2011, at 3:13 AM, vilobh meshram wrote:
> 
> > I was wondering in which part/structure of the code the file handle
information is present in Lustre. Can somebody please point me to it ?
> >
> > I tried looking up in the code but couldn''t exactly make it
out.
> >
> > Is File handle part of EA i.e. the extended attributes ?
> 
> There are multiple things that could be called file handle, so it would be
great if you explain a little bit
> about what is it you are actually looking for.
> 
> Bye,
>    Oleg
> --
> Oleg Drokin
> Senior Software Engineer
> Whamcloud, Inc.
> 
> 
--
Oleg Drokin
Senior Software Engineer
Whamcloud, Inc.