]> asedeno.scripts.mit.edu Git - linux.git/commit
NFSv4: Add encode/decode of the layoutreturn op in OPEN_DOWNGRADE
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 20 Nov 2016 18:34:16 +0000 (13:34 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 19 Dec 2016 22:29:52 +0000 (17:29 -0500)
commitb6808145ad2aa625b962fc55f30484091d5e8fe7
tree841b59786c7dda968c01b10b9a3cf1b2a9f65539
parent86cfb0418537460baf0de0b5e9253784be27a6f9
NFSv4: Add encode/decode of the layoutreturn op in OPEN_DOWNGRADE

While we do not need to return the RW layout when downgrading from a
read/write open state to read-only, we might want to do so in order
to reduce the burden on the metadataserver so that it does not need
to check for changed data when responding to GETATTR requests.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4xdr.c