From: Josh Durgin Date: Thu, 13 Jun 2013 02:15:06 +0000 (-0700) Subject: rbd: use the correct length for format 2 object names X-Git-Tag: v3.10-rc7~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a96d5cd7bdce45d5dded75c3a62d4fb98050280;p=pandora-kernel.git 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 Signed-off-by: Josh Durgin Reviewed-by: Sage Weil --- Reading git-diff-tree failed