]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librgw: incremental enumeration progress
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 10 Dec 2015 23:13:27 +0000 (18:13 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:06:33 +0000 (12:06 -0500)
commitb83ac0d94585a3c0c21479e7a0fe640b475986ea
tree5339dc8c04083f8547d05edc9f94a17dc471fd5a
parent6dba6924b16a1f8b10dda5973a462a177dd092c7
librgw: incremental enumeration progress

As of this change, enumeration is -almost- correct, but the
rules for name, object_name(), and full_object_name() need to be
checked.

The rationale for storing just the last component name in dirents
means that name can't ever have the form "foo/bar" (make sure it
doesn't).  But there may still be code which assumes name ==
object_name() OR assumes object_name() is hashable (it isn't, that
has to be the full object name).

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