diff options
| author | Joe Thornber <ejt@redhat.com> | 2015-02-20 15:58:03 +0300 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2015-03-31 19:03:48 +0300 |
| commit | 75da39bf256c27e25f395b191ead79f323772672 (patch) | |
| tree | 8cd4fc26659bdef11314cab2aea3d8a61e290fc8 /lib/mpi/mpiutil.c | |
| parent | ac1f9ef211d5dd70110fa4bec6e8866b2c3a965e (diff) | |
| download | linux-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
