refactor extent manipulation

Christoph Hellwig
2017-09-03T07:30:00Z

Hi all,

this series refactor the extent manipulation routines so that they are
isolated from the nitty gritty details of the extent list implementation.
It is the first step towards a more scalable extent list data structure.