]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: prefetch missing metadata pages
authorJoe Thornber <ejt@redhat.com>
Mon, 6 Oct 2014 14:28:30 +0000 (15:28 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:27 +0000 (15:25 -0500)
commit4a65b6fab37e8a3b30cbdd2404d6178fa044ba8e
tree6e0c31ce682332cd8af5d6f77037b56421507542
parentc006dd52a4fea0be3300c87f899043b62bbee6fc
dm thin: prefetch missing metadata pages

Prefetch metadata at the start of the worker thread and then again every
128th bio processed from the deferred list.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-thin-metadata.c
drivers/md/dm-thin-metadata.h
drivers/md/dm-thin.c