dm thin metadata: add dm_thin_find_mapped_range()
authorJoe Thornber <ejt@redhat.com>
Thu, 16 Apr 2015 11:47:21 +0000 (12:47 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 11 Jun 2015 21:13:03 +0000 (17:13 -0400)
commita5d895a90bf57e5fe87edf48dd1852e7292d570d
tree9ac33ffeca4546e80c4975dc41f320b7519661f8
parent4ec331c3ea7ec94f28aa1c62a279cfa1cfe3c91b
dm thin metadata: add dm_thin_find_mapped_range()

Retrieve the next run of contiguously mapped blocks.  Useful for working
out where to break up IO.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin-metadata.c
drivers/md/dm-thin-metadata.h