Commit graph android_kernel_sony_sdm845/drivers/md/persistent-data/dm-array.h
Message SHA1
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>

Joe Thornber   authored and   Mike Snitzer   commited 2016-09-22 11:15:04 -04:00
fdd1315aa5
dm array: add dm_array_new()
dm_array_new() creates a new, populated array more efficiently than
starting with an empty one and resizing.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>

Joe Thornber   authored and   Mike Snitzer   commited 2016-09-22 11:12:23 -04:00
dd6a77d998
dm persistent data: add transactional array
Add a transactional array.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

Joe Thornber   authored and   Alasdair G Kergon   commited 2013-03-01 22:45:51 +00:00
6513c29f44