dm bufio: prefetch
authorMikulas Patocka <mpatocka@redhat.com>
Wed, 28 Mar 2012 17:41:29 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:29 +0000 (18:41 +0100)
commita66cc28f53a7e9679dedb2bc66ddb0e0c6bdd0ee
tree0d1037562bd8a47f6e9d31d7ed56e24c7aa98c66
parent67e2e2b281812b5caf4923a38aadc6b89e34f064
dm bufio: prefetch

This patch introduces a new function dm_bufio_prefetch. It prefetches
the specified range of blocks into dm-bufio cache without waiting
for i/o completion.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-bufio.c
drivers/md/dm-bufio.h