Skip to content
Commit 224736d9 authored by Stratos Psomadakis's avatar Stratos Psomadakis Committed by Sage Weil
Browse files

libceph: Allocate larger oid buffer in request msgs



ceph_osd_request struct allocates a 40-byte buffer for object names.
RBD image names can be up to 96 chars long (100 with the .rbd suffix),
which results in the object name for the image being truncated, and a
subsequent map failure.

Increase the oid buffer in request messages, in order to avoid the
truncation.

Signed-off-by: default avatarStratos Psomadakis <psomas@grnet.gr>
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 774ac21d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment