dm persistent data: add btree_walk
authorJoe Thornber <ejt@redhat.com>
Fri, 1 Mar 2013 22:45:50 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:50 +0000 (22:45 +0000)
commit4e7f1f9089660aec3b5ab2645ce62777c6f4c6a2
tree56f012273947dcd88e4a73944aae37d01f023b56
parentb0d8ed4d96a26ef3ac54a4aa8911c9413070662e
dm persistent data: add btree_walk

Add dm_btree_walk to iterate through the contents of a btree.
This will be used by the dm cache target.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/persistent-data/dm-btree-internal.h
drivers/md/persistent-data/dm-btree-spine.c
drivers/md/persistent-data/dm-btree.c
drivers/md/persistent-data/dm-btree.h