LAYOUTGET failure handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am learning NFS (and pNFS) and not much familiar with its
implementation in Linux kernel. I have a question on the LAYOUTGET
operation.

I have a pNFS server setup which fakes most of the pNFS operations.
The "layout_get" implementation simply returns "-ENOENT". I am not
sure how this should be treated on the pNFS client side. In my
experiment, I am mounting the pNFS server and trying to read a file
(using "cat"). On wireshark trace (attached with the mail), I could
see that LAYOUTGET fails with NFS4ERR_BADLAYOUT error, but afterwards
I see the READ request from client and it is handled gracefully (and I
can see the contents of the file). Is this appropriate behavior?

I am using RHEL6.1 (with pNFS patch for kernel 2.6.32 applied) on
server, and client is RHEL6.1 stock kernel.

I am sorry if this is not the appropriate forum for such kind of
questions, and pardon my ignorance/lack of knowledge in the domain.

Thanks,
Vishal

Attachment: pnfs_layoutget_failure.cap
Description: Binary data


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux