]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
libradosstriper: fixed write_full when ENOENT 3637/head
authorSebastien Ponce <Sebastien.Ponce@cern.ch>
Thu, 5 Feb 2015 09:46:37 +0000 (10:46 +0100)
committerSebastien Ponce <sebastien.ponce@cern.ch>
Fri, 6 Feb 2015 08:12:57 +0000 (09:12 +0100)
commit37f196e80906d6b855ca0a7ce7344d1f8f50ae7f
treee3d00db64bb1ab52aee26d09919cfb2bfcd6882b
parent1ccd73a16e1829b5519ec5b83b2554af173ad052
libradosstriper: fixed write_full when ENOENT

Fixes: #10758
write_full was returning ENOENT when the file did not exists, while it should just have created it without complaining.

Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>
(cherry picked from commit 6a91f2bb82035b3c8021a7dc7b23548ce3d61eb6)
src/libradosstriper/RadosStriperImpl.cc
src/test/libradosstriper/io.cc