]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: more futzing with stat
authorSage Weil <sage@newdream.net>
Thu, 7 Apr 2011 21:57:41 +0000 (14:57 -0700)
committerSage Weil <sage@newdream.net>
Thu, 7 Apr 2011 22:01:58 +0000 (15:01 -0700)
commit61ce52cc3376395edef3f68974ecf56229c6c628
tree6b590f46a5ad09a3947de22dfbe3f0c107cb86ab
parenteb08daaba28805c24bba654559a06983779ed8a6
osd: more futzing with stat

We can get here when the object doesn't exist if the client specifies
may read and may write (in this case, Filer::probe).  Look at the exists
bit in the object context.  If the object is supposed to exist, we should never get ENOENT from stat.

Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/ReplicatedPG.cc