]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc006dd52a4fea0be3300c87f899043b62bbee6fc
tree5afe82e874f9eff6eeb70e77db458b22dcea3307
parent158b576a7f012cbfc06c9e17d6993f0c78a09af4
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