]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_file: introduce rgw_lookup type hints
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 5 Apr 2017 00:16:13 +0000 (20:16 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 13 Apr 2017 14:35:37 +0000 (10:35 -0400)
commit2e66c7a7cc763c5c0d6f5db04855f60f2b2ceed3
tree48c1262c9c25a645127e3fdeecbba7c9ddb42846
parente8f1f4a6d45cd3f9c506fc2805e0846757ad18f3
rgw_file: introduce rgw_lookup type hints

The new type hints optimize object type deduction, when the
rgw_lookup is called from an rgw_readdir callback.

Fixes: http://tracker.ceph.com/issues/19623
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/include/rados/rgw_file.h
src/rgw/rgw_file.cc
src/rgw/rgw_file.h
src/test/librgw_file.cc
src/test/librgw_file_gp.cc
src/test/librgw_file_nfsns.cc