2011-12-04 12:05:02

by Mkrtchyan, Tigran

[permalink] [raw]
Subject: [PATCH 0/2] nfsv41: add current_stateid processing

current_stateid processing will allow clients to construct compounds
like OPEN + READ + CLOSE or OPEN +LAYOUTGET.

As dCache server marks all layouts return-on-close, any open to a file followed
by LAYOUTGET. A combined compound will allow to do the same in one go.

Currently linux client doesn't support it. But before we can get such
functionality
linux server have to support it as well. Here is an attempt to add it.

I made a dirty test with pynfs with to test OPEN+CLOSE in a single compound.
If I read nfsd code correctly, READ and WRITE have to work as well. I
will refactor
pynfs a bit to easily construct such tests.

This is patches for preview to be sure that other server developers
are happy with
my approach before I change much more.

Tigran.