]> rtime.felk.cvut.cz Git - linux-imx.git/commit
NFSv4 reduce attribute requests for open reclaim
authorAndy Adamson <andros@netapp.com>
Wed, 3 Oct 2012 01:07:32 +0000 (21:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 3 Oct 2012 01:12:25 +0000 (18:12 -0700)
commite23008ec81ef37b7b271669ce5d2de2643b2dc75
treedaa52b0b710384e67b387e0fd4b607ecb8435492
parent807d66d80221920729a8d4abfa04246546a6d3fa
NFSv4 reduce attribute requests for open reclaim

We currently make no distinction in attribute requests between normal OPENs
and OPEN with CLAIM_PREVIOUS.  This offers more possibility of failures in
the GETATTR response which foils OPEN reclaim attempts.

Reduce the requested attributes to the bare minimum needed to update the
reclaim open stateid and split nfs4_opendata_to_nfs4_state processing
accordingly.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4xdr.c