]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm cache policy mq: keep track of the number of entries in a multiqueue
authorJoe Thornber <ejt@redhat.com>
Fri, 20 Feb 2015 12:58:03 +0000 (12:58 +0000)
committerMike Snitzer <snitzer@redhat.com>
Tue, 31 Mar 2015 16:03:48 +0000 (12:03 -0400)
commit75da39bf256c27e25f395b191ead79f323772672
tree8cd4fc26659bdef11314cab2aea3d8a61e290fc8
parentac1f9ef211d5dd70110fa4bec6e8866b2c3a965e
dm cache policy mq: keep track of the number of entries in a multiqueue

Small optimisation, now queue_empty() doesn't need to walk all levels of
the multiqueue.

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