]> git.karo-electronics.de Git - linux-beck.git/commit
NFSv4.1: Ensure that the layout sequence id stays 'close' to the current
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Oct 2012 23:32:22 +0000 (16:32 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Oct 2012 23:57:48 +0000 (16:57 -0700)
commit22aaf71495570b31350c37fd0aa736551bbaa3c9
tree513b8cb36005322aa2c418e3e0519aefe597cda5
parent0f35ad6f688e9b7bcaa918a42130695822906f11
NFSv4.1: Ensure that the layout sequence id stays 'close' to the current

Clamp the layout barrier sequence id to the current sequence id
minus the maximum number of outstanding layoutget requests.

Also ensure that we correctly initialise lo->plh_barrier if there are
no layout segments associated to this layout header.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/pnfs.c