dm transaction manager: add support for prefetching blocks of metadata
authorJoe Thornber <ejt@redhat.com>
Mon, 6 Oct 2014 14:27:26 +0000 (15:27 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:26 +0000 (15:25 -0500)
commit4646015d7e4ca5a4dc19427fb0a0aeff15a4fd91
tree5afe82e874f9eff6eeb70e77db458b22dcea3307
parente5cfc69a513cdc9d9e753c5ce07f0cc6b496bfd3
dm transaction manager: add support for prefetching blocks of metadata

Introduce the dm_tm_issue_prefetches interface.  If you're using a
non-blocking clone the tm will build up a list of requested blocks that
weren't in core.  dm_tm_issue_prefetches will request those blocks to be
prefetched.

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