]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs: force a layout commit when encountering busy segments during recall
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Sep 2014 15:23:29 +0000 (08:23 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:02 +0000 (12:47 -0700)
commitcf5ce8826e8f8670118daea74a7209fd294e2a63
tree9e316ee5e0f348dc56244461255356eb6f8d2933
parent11c7c21aaf069a1fa985836bd0d368bbc9141c33
pnfs: force a layout commit when encountering busy segments during recall

Expedite layout recall processing by forcing a layout commit when
we see busy segments.  Without it the layout recall might have to wait
until the VM decided to start writeback for the file, which can introduce
long delays.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c
fs/nfs/pnfs.c