* How to get the file path from file handle - NFS.
@ 2010-09-09 12:24 Tayade, Nilesh
[not found] ` <D3F292ADF945FB49B35E96C94C2061B90D1991A4-2s2rCY1e8UXHBhWB4kaBDUEOCMrvLtNR@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Tayade, Nilesh @ 2010-09-09 12:24 UTC (permalink / raw)
To: linux-nfs
Hi,
I seek some pointers on how to obtain the file path from the file
handle. The NFS protocol exchange the file handle between the Server and
Client.
I want to extract the file path at client side from the available file
handle.
I went through some of the reference documents. It say-
The mapping exists in /var/nfs/fhpath or /etc/default/nfslogd files. And
can be configured through /etc/nfs/nfslog.conf.
http://docstore.mik.ua/orelly/networking_2ndEd/nfs/ch14_06.htm
But essentially I am looking forward extracting it through application C
code (may be getting the pointer to the hash table etc.)- the reason
being I want to avoid file open, read operations (on the nfslogd file)
due to performance issue.
Could someone please advice if it is possible to extract it through some
structure? Can we directly try to read the mapping hash table at client
side?
--
Thanks,
Nilesh
x46222
Yahoo IM: nilesh_tayade85
^ permalink raw reply [flat|nested] 4+ messages in thread* RE: How to get the file path from file handle - NFS.
@ 2010-09-10 5:32 Tayade, Nilesh
0 siblings, 0 replies; 4+ messages in thread
From: Tayade, Nilesh @ 2010-09-10 5:32 UTC (permalink / raw)
To: linux-nfs
Resending the email. Seems like it bounced back.
> -----Original Message-----
> From: Tayade, Nilesh
> Sent: Thursday, September 09, 2010 5:55 PM
> To: linux-nfs@vger.kernel.org
> Subject: How to get the file path from file handle - NFS.
>
> Hi,
>
> I seek some pointers on how to obtain the file path from the file
> handle. The NFS protocol exchange the file handle between the Server
> and Client.
> I want to extract the file path at client side from the available
> file handle.
>
> I went through some of the reference documents. It say-
> The mapping exists in /var/nfs/fhpath or /etc/default/nfslogd files.
> And can be configured through /etc/nfs/nfslog.conf.
> http://docstore.mik.ua/orelly/networking_2ndEd/nfs/ch14_06.htm
>
> But essentially I am looking forward extracting it through
> application C code (may be getting the pointer to the hash table
> etc.)- the reason being I want to avoid file open, read operations
> (on the nfslogd file) due to performance issue.
>
> Could someone please advice if it is possible to extract it through
> some structure? Can we directly try to read the mapping hash table
> at client side?
>
>
> --
> Thanks,
> Nilesh
> x46222
> Yahoo IM: nilesh_tayade85
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-10 7:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-09 12:24 How to get the file path from file handle - NFS Tayade, Nilesh
[not found] ` <D3F292ADF945FB49B35E96C94C2061B90D1991A4-2s2rCY1e8UXHBhWB4kaBDUEOCMrvLtNR@public.gmane.org>
2010-09-09 16:01 ` J. Bruce Fields
2010-09-10 7:17 ` Tayade, Nilesh
-- strict thread matches above, loose matches on Subject: below --
2010-09-10 5:32 Tayade, Nilesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox