]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache: io destined for the cache device can now serve as tick bios
authorJoe Thornber <ejt@redhat.com>
Mon, 21 Oct 2013 11:51:45 +0000 (12:51 +0100)
committerMike Snitzer <snitzer@redhat.com>
Sat, 9 Nov 2013 22:55:49 +0000 (17:55 -0500)
commit2736c57d917a4e1ce1c601b47b301dc0b8ba0375
treee60fb7b744c0957c71c00a7ef5936dbf4814ebcc
parent99d1d4d93f8c7d12011e25467f2d77d0ddbb2830
dm cache: io destined for the cache device can now serve as tick bios

Previously only origin bios could trigger ticks, which meant if all
the io was destined for the cache no ticks were generated.  If no ticks
are generated then multiple hits, and movements in general, are
attributed to the same tick.

Only a stop gap fix, we need a better solution.

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