]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs/blocklayout: implement the return_range method
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Sep 2014 15:23:35 +0000 (08:23 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 10 Sep 2014 19:47:03 +0000 (12:47 -0700)
commit8059036909d6c3ab229a895808e3c8b5356447ea
tree00f81f6bead7fb6acf3b08465c4c501c6a15bc3d
parent8f352b9379d4b996fabe82111f4962bb14445e91
pnfs/blocklayout: implement the return_range method

This allows removing extents from the extent tree especially on truncate
operations, and thus fixing reads from truncated and re-extended that
previously returned stale data.

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