]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit463de18ec550830f83698906b296e654c49f17f3
tree109342db8572f7fa15784ffb8bdf2b3b0dca258c
parent9648c9663599d106b838ca6a4db32a48a732fc03
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