]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
prio-q: initialize cur iterator
authorNoah Watkins <noahwatkins@gmail.com>
Wed, 30 Oct 2013 23:34:29 +0000 (16:34 -0700)
committerSage Weil <sage@inktank.com>
Fri, 1 Nov 2013 23:02:15 +0000 (16:02 -0700)
commit4402898390a9d9c8cb296ea05ac7c75f2c32a528
tree146396c8cab9a2fb1df84394d982fb880cd0a8f5
parent353813b2e1a98901b876790c7c531f8a202c661d
prio-q: initialize cur iterator

For new SubQueues `cur` is not intialized, so front/pop_front will freak
out. I honestly I have no idea how this hasn't been seen, but it was
being triggered frequently on OSX.

Fixes: #6686
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/common/PrioritizedQueue.h