]> git.baikalelectronics.ru Git - kernel.git/commit
pnfs/blocklayout: refactor extent processing
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Sep 2014 00:37:25 +0000 (17:37 -0700)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 12 Sep 2014 17:33:49 +0000 (13:33 -0400)
commit3fc6649e71c34deecba8cfcd1b5c54ba2c9abd70
tree31b397a0ef6f2d10a1b0d36a87c01355b6ddb445
parent91ebbaf92544ad7f3b8143189c71b8a90c9b1752
pnfs/blocklayout: refactor extent processing

Factor out a helper for all per-extent work, and merge the now trivial
functions for lseg allocation and parsing.

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