summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2015-02-20 15:58:03 +0300
committerMike Snitzer <snitzer@redhat.com>2015-03-31 19:03:48 +0300
commit75da39bf256c27e25f395b191ead79f323772672 (patch)
tree8cd4fc26659bdef11314cab2aea3d8a61e290fc8 /lib/mpi/mpiutil.c
parentac1f9ef211d5dd70110fa4bec6e8866b2c3a965e (diff)
downloadlinux-75da39bf256c27e25f395b191ead79f323772672.tar.xz
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions