]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librgw: reimplement RGWLibFS::stat_leaf
authorMatt Benjamin <mbenjamin@redhat.com>
Tue, 8 Dec 2015 21:18:50 +0000 (16:18 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:06:17 +0000 (12:06 -0500)
commit6e70b6deee597003a91a9d3ed4eacc025dd06eb7
tree84b73e1c9ada12885dec78961f36109904286ce5
parent3ac44f9178a5781fd4f2b5374c9367bbf06b1e75
librgw: reimplement RGWLibFS::stat_leaf

Now the code attempts to read an object header (which may be cached),
and if this fails, uses RGWStatLeafRequest to find a potential matching
file or directory leaf.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc
src/rgw/rgw_file.h