aboutsummaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorJosh Durgin <josh.durgin@inktank.com>2013-06-12 19:15:06 -0700
committerSage Weil <sage@inktank.com>2013-06-13 08:46:15 -0700
commit3a96d5cd7bdce45d5dded75c3a62d4fb98050280 (patch)
tree0d0662e60f1640b40854c469bfba269624e0a467 /ipc
parent3abef3b3585bbc67d56fdc9c67761a900fb4b69d (diff)
downloadlinux-linaro-stable-3a96d5cd7bdce45d5dded75c3a62d4fb98050280.tar.gz
rbd: use the correct length for format 2 object names
Format 2 objects use 16 characters for the object name suffix to be able to express the full 64-bit range of object numbers. Format 1 images only use 12 characters for this. Using 12-character names for format 2 caused userspace and kernel rbd clients to read differently named objects, which made an image written by one client look empty to the other client. CC: stable@vger.kernel.org # 3.9+ Reported-by: Chris Dunlop <chris@onthe.net.au> Signed-off-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions