Question related to nfs(network file system) in linux kernel.
Hi All, I want a requirement to intercept rpc call to nfs(network file system) or get hold of nfs buffer in kernel space and get data from the buffer to print it. I went through the kernel code .But i didn't get it .I am beginner in linux kernel. Please give your suggestions. Thanks in Advance. Siva Kumar
On Mon, 28 Apr 2014 17:57:11 +0530, Sivakumar V said:
I want a requirement to intercept rpc call to nfs(network file system) or get hold of nfs buffer in kernel space and get data from the buffer to print it.
First thing to do is take a step back. What problem are you trying to solve by intercepting the RPC and printing the data? (Hint - print it to *where*? Is the destination a feasible target if you're doing NFS over a 10Gbit adapter? Etc etc..)
On May 13, 2014 1:03 AM, "Sivakumar V" <sivakumarv44@gmail.com> wrote:
Hi All,
I want a requirement to intercept rpc call to nfs(network file system) or
get hold of nfs
buffer in kernel space and get data from the buffer to print it.
You probably should look for xpo structures of TCP and UDP . plus sk_data_ready callback. Been a while since I saw NFS but that's the place.
I went through the kernel code .But i didn't get it .I am beginner in linux kernel.
Please give your suggestions.
Thanks in Advance. Siva Kumar
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
Pranay Srivastava -
Sivakumar V -
Valdis.Kletnieks@vt.edu