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)
commit7c5d187581f57657de79e795602d9f1a0254c88c
tree9e316ee5e0f348dc56244461255356eb6f8d2933
parent3a3908c8b09d5ec19d543836d4f38d240ae27fe8
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