]> git.karo-electronics.de Git - linux-beck.git/commit
pNFS: Do not free layout segments that are marked for return
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Oct 2016 23:50:54 +0000 (19:50 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:21:42 +0000 (17:21 -0500)
commit68f744797edd27016055c562a605691f5d4ac933
tree81d5f9a6af42b7ddfd70902d064e871e4eccfc99
parent7b410d9ce460f70e346d91d8cfbdd2cb054eb775
pNFS: Do not free layout segments that are marked for return

We may want to process and transmit layout stat information for the
layout segments that are being returned, so we should defer freeing
them until after the layoutreturn has completed.

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