pnfs/blocklayout: return layouts on setattr
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Sep 2014 15:23:36 +0000 (08:23 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:03 +0000 (12:47 -0700)
commit848746bd247cdc3ce1d103e92913316445763778
treef235f4e2c75cd54d695dcdb9c5e15beb0bda06ff
parent71d5b76302e21390b4ab747875de6bd5cfbca979
pnfs/blocklayout: return layouts on setattr

This speads up truncate-heavy workloads like fsx by multiple orders of
magnitude.

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