]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: handle images disappearing while in ls -l
authorDan Mick <dan.mick@inktank.com>
Thu, 13 Dec 2012 22:06:17 +0000 (14:06 -0800)
committerDan Mick <dan.mick@inktank.com>
Thu, 13 Dec 2012 22:46:53 +0000 (14:46 -0800)
commit8103414a45a02275b61e9bee93a60db0619f7a1c
tree2b950a12758a1ec8944e9c992619edb8a342334e
parentc17d628b52971e19af6fd032019b7d811c2f53c3
rbd: handle images disappearing while in ls -l

rbd.list() returns a list of names, but nothing stops them from
going away before rbd.open(); check for ENOENT and ignore if that
happens; warn on other errors

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/rbd.cc