]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
libcephfs: get osd location on -1 should return EINVAL
authorSage Weil <sage@inktank.com>
Sat, 28 Dec 2013 18:25:00 +0000 (10:25 -0800)
committerGreg Farnum <greg@inktank.com>
Thu, 2 Oct 2014 04:41:31 +0000 (21:41 -0700)
commit285a13a1ecb2c9af65cfe39c7d017e277aeb0b00
tree48e313763bc6e5d312f0c91b99d9035a57db02ac
parent79825e7b0d73f066c342a3167783865e1aae10cd
libcephfs: get osd location on -1 should return EINVAL

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit b88af07ef5a3c9a484255b54149a6e6a635845dc)

c70331db13bdbf1f967ece48cdbec28b97c3d19c backported some
CRUSH changes which necessitate backporting this as well, or
we get failures like successfully looking up an OSD with ID -1.
Reviewed-by: Greg Farnum <greg@inktank.com>
src/client/Client.cc
src/test/libcephfs/test.cc