dm cache: fix incorrect 'idle_time' reset in IO tracker
authorJoe Thornber <ejt@redhat.com>
Thu, 11 May 2017 10:14:16 +0000 (06:14 -0400)
committerMike Snitzer <snitzer@redhat.com>
Mon, 15 May 2017 01:53:11 +0000 (21:53 -0400)
commit072792dcdfc8d5f91a26050e5665285f50afebf5
tree597428541018bbbcdda239d50bc8b4e21b975292
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
dm cache: fix incorrect 'idle_time' reset in IO tracker

Some bios have no payload (eg, a FLUSH), don't reset the idle_time when
these come in.

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