dm cache: tune migration throttling
authorJoe Thornber <ejt@redhat.com>
Fri, 10 May 2013 13:37:16 +0000 (14:37 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 10 May 2013 13:37:16 +0000 (14:37 +0100)
commitf8350daf7af05e3b8cf98e9550de3f623af03fe7
tree109342db8572f7fa15784ffb8bdf2b3b0dca258c
parent042bcef889f4319d366c67fb694f1f2498fcb68e
dm cache: tune migration throttling

Tune the dm cache migration throttling.

i) Issue a tick every second, just in case there's no i/o going through.

ii) Drop the migration threshold right down to something suitable for
background work.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-cache-target.c