]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit8a01a6af75f839ff8eb25dab69b49224e855bfa1
tree6e0c31ce682332cd8af5d6f77037b56421507542
parent4646015d7e4ca5a4dc19427fb0a0aeff15a4fd91
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