]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
journal: suppress notifications if client still in try_pop_front loop
authorJason Dillaman <dillaman@redhat.com>
Fri, 6 May 2016 15:05:50 +0000 (11:05 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 7 May 2016 12:23:19 +0000 (08:23 -0400)
commit3b8d21ac13865791d8fc4c519f47c1f7d6096e76
tree25de169f7788bab24c122aa0db49039e988ccb63
parent5d205ef33cb8b5517f141d46a62947dd583500e0
journal: suppress notifications if client still in try_pop_front loop

One such example is popping the last entry from an object.  The next
object will be automatically prefetched.  When that object is received,
we do not want to alert the user that entries are available since
try_pop_front already indicated more records were available.

Fixes: http://tracker.ceph.com/issues/15755
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/journal/JournalPlayer.cc