]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: Fix the wrong BufferHead offset 22869/head
authordongdong tao <tdd21151186@gmail.com>
Mon, 28 May 2018 21:44:59 +0000 (05:44 +0800)
committerPrashant D <pdhange@redhat.com>
Thu, 5 Jul 2018 03:01:33 +0000 (23:01 -0400)
commit203e94ecd2175c05bca1ea37d1ad1ca04ef26df1
tree2f4b3dd88524bd25a9d941bfbf0aff9cfe4e9a4f
parent9ebf2d00f6b7deaf8600b24368c07e2b0719ae18
osdc: Fix the wrong BufferHead offset

the BufferHead offset should be "opos - bh->start()"

Fixes: https://tracker.ceph.com/issues/24484
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit 10f3204cca240c7172aef94b16fde203b33a19fd)
src/osdc/ObjectCacher.cc