summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/tlb.h
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2013-08-27 21:45:46 (GMT)
committerSage Weil <sage@inktank.com>2013-09-04 05:08:46 (GMT)
commit03507db631c94a48e316c7f638ffb2991544d617 (patch)
treeb2035f4289b911bb4172804b2a7b46958a749d0c /arch/arm64/include/asm/tlb.h
parent9542cf0bf9b1a3adcc2ef271edbcbdba03abf345 (diff)
downloadlinux-03507db631c94a48e316c7f638ffb2991544d617.tar.xz
rbd: fix buffer size for writes to images with snapshots
rbd_osd_req_create() needs to know the snapshot context size to create a buffer large enough to send it with the message front. It gets this from the img_request, which was not set for the obj_request yet. This resulted in trying to write past the end of the front payload, hitting this BUG: libceph: BUG_ON(p > msg->front.iov_base + msg->front.iov_len); Fix this by associating the obj_request with its img_request immediately after it's created, before the osd request is created. Fixes: http://tracker.ceph.com/issues/5760 Suggested-by: Alex Elder <alex.elder@linaro.org> Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Alex Elder <alex.elder@linaro.org>
Diffstat (limited to 'arch/arm64/include/asm/tlb.h')
0 files changed, 0 insertions, 0 deletions