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)
commitca0fe1dfa5acac6ec4ef5820d2eb5460b02648d5
tree31b397a0ef6f2d10a1b0d36a87c01355b6ddb445
parent9cc475411779d635619c2d414da0769e3cbf796b
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