]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-replay: handle EOF gracefully 7416/head
authorMykola Golub <mgolub@mirantis.com>
Thu, 21 Jan 2016 11:45:42 +0000 (13:45 +0200)
committerLoic Dachary <ldachary@redhat.com>
Fri, 29 Jan 2016 05:19:58 +0000 (12:19 +0700)
commit24c0b27c6f6a26c2b7bab5bcbc421a18592d026f
tree996f636c87e07be12283ff1de45a4f88195f2270
parent86ba6caf992d2544cdd174e3b3f26a6099c91fc5
rbd-replay: handle EOF gracefully

Fixes: #14452
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit c59b84c3e2c9bbda68219e4d2288a889dd9ca6cb)

Conflicts:
src/rbd_replay/BufferReader.cc: trivial resolution
        caused by s/CEPH_PAGE_SIZE/CEPH_BUFFER_APPEND_SIZE/
        in the context of one hunk.
src/rbd_replay/BufferReader.cc
src/rbd_replay/BufferReader.h
src/rbd_replay/Replayer.cc