]> git.baikalelectronics.ru Git - kernel.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)
commitcc68e7fb824a26135ab9d1cffdcd53bc74ecea70
tree81d5f9a6af42b7ddfd70902d064e871e4eccfc99
parent9c6589f0c141b5a5fd3286a04bd63a4cdfe3069c
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