commit | c88953d87f5c8cd95bebcbd6d15f2f0cdd348136 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Sep 10 08:23:31 2014 -0700 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Sep 10 12:47:03 2014 -0700 |
tree | 6805b3c8feb934404205d5e79a2cf37dde87647f | |
parent | 612aa983a041056c3368aacfdc9febd406d245a8 [diff] |
pnfs: add return_range method If a layout driver keeps per-inode state outside of the layout segments it needs to be notified of any layout returns or recalls on an inode, and not just about the freeing of layout segments. Add a method to acomplish this, which will allow the block layout driver to handle the case of truncated and re-expanded files properly. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>