dm array: introduce cursor api
authorJoe Thornber <ejt@redhat.com>
Thu, 15 Sep 2016 15:11:42 +0000 (11:11 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 22 Sep 2016 15:15:04 +0000 (11:15 -0400)
commitfdd1315aa5f022fe6574efdc2d9535f75a0ee255
tree769113eca5f6a1594247d62410dbd829e74d8fd3
parent7d111c81fa29041c730010450618917fb05cab62
dm array: introduce cursor api

More efficient way to iterate an array due to prefetching (makes use of
the new dm_btree_cursor_* api).

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