mirror of
https://github.com/ceph/ceph
synced 2024-12-25 04:43:17 +00:00
5258bcbd73
This is the MVP for a driver for RGW that operates on top of a POSIX filesystem. It supports get, put, list, copy, multipart, external access via the filesystem itself, and ordered bucket listings via an LRU-based cache. Note that this is currently a Filter, indended to run on top of dbstore. This is because it currently doesn't have any User implementation, so it depends on dbstore's User. Everything else is implemented in POSIXDriver. Once there is a User implementation, this will become a Store, instead of a Filter. Commit messages from bucket listing cache: rgw/posixdriver: recycle lmdb database handles as required While LMDB workflows often do not close/return database handles, ours continually reuses them. This requires us to close each handle (atomically) when a cache entry is recycled. rgw/posixdriver: don't instantiate bucket cache entries from notify events rgw/posixdriver: incorporate lmdb-safe for now The current inclusion is based on https://github.com/Martchus/lmdb-safe, which is actively maintained but currently has some packaging issues the author has agreed to accept fixes for. For now, skip the submodule to save time and remove an external dependency. rgw/posixdriver: fix listing of cached, empty bucket * check lmdb enumeration result in all cases and w/better style * add unit test for enumeration of an empty cached directory rgw/posixdriver: nest lmdbs in a directory under the dbroot path to avoid cleanup issues rgw/posixdriver: refactor for posix integration * Derive BucketCache types as templates on a SAL driver and SAL bucket pair. * Integrate cache fills as callbacks into SAL layer (or mock, for tests) * Renaming and cleanups rgw/posixdriver: add bucket cache implementation and tests Adds free-standing cache of buckets and object names, with bucket names (and listing attributes, upcoming) managed in a hashed set of lmdb databases, which provides ordering and a high-performance listing cache. An framework for notification on new object creation (e.g., outside S3 workflow) is provided, and a Linux implementation using inotify. FindLMDB.cmake taken with attribution and license. rgw/posixdriver: add zpp_bits serialization (FAST) Signed-off-by: Daniel Gryniewicz <dang@redhat.com> Signed-off-by: Ali Maredia <amaredia@redhat.com> Signed-off-by: Matt Benjamin <mbenjamin@redhat.com> |
||
---|---|---|
.. | ||
FindPython | ||
AddCephTest.cmake | ||
BuildArrow.cmake | ||
BuildBoost.cmake | ||
Buildc-ares.cmake | ||
BuildDPDK.cmake | ||
BuildFIO.cmake | ||
BuildOpentelemetry.cmake | ||
Buildpmdk.cmake | ||
BuildRocksDB.cmake | ||
BuildSPDK.cmake | ||
BuildUBBD.cmake | ||
Builduring.cmake | ||
BuildUtf8proc.cmake | ||
BuildZstd.cmake | ||
CephCheck_link.c | ||
CephCheck_link.map | ||
CephChecks.cmake | ||
CheckCxxAtomic.cmake | ||
CheckNasm.cmake | ||
CTags.cmake | ||
Distutils.cmake | ||
Findaio.cmake | ||
FindArrow.cmake | ||
Findbabeltrace.cmake | ||
FindBacktrace.cmake | ||
Findblkid.cmake | ||
FindBoost.cmake | ||
Findc-ares.cmake | ||
FindCUnit.cmake | ||
FindCython.cmake | ||
FindDAOS.cmake | ||
Finddaxctl.cmake | ||
Finddml.cmake | ||
Finddpdk.cmake | ||
Findfmt.cmake | ||
FindFUSE.cmake | ||
FindGMock.cmake | ||
Findgperftools.cmake | ||
FindGSSApi.cmake | ||
FindJeMalloc.cmake | ||
Findkeyutils.cmake | ||
Findlibcryptsetup.cmake | ||
FindLinuxZNS.cmake | ||
FindLMDB.cmake | ||
FindLTTngUST.cmake | ||
FindLZ4.cmake | ||
FindMake.cmake | ||
Findmotr.cmake | ||
Findndctl.cmake | ||
Findnl.cmake | ||
FindNUMA.cmake | ||
FindOATH.cmake | ||
FindOpenLDAP.cmake | ||
FindParquet.cmake | ||
Findpmdk.cmake | ||
FindPython3.cmake | ||
FindQatDrv.cmake | ||
Findqatzip.cmake | ||
FindRabbitMQ.cmake | ||
FindRDKafka.cmake | ||
Findrdmacm.cmake | ||
FindRocksDB.cmake | ||
FindSanitizers.cmake | ||
Findsnappy.cmake | ||
FindSQLite3.cmake | ||
FindStdFilesystem_test.cc | ||
FindStdFilesystem.cmake | ||
Findthrift.cmake | ||
Findudev.cmake | ||
Finduring.cmake | ||
Findutf8proc.cmake | ||
Finduuid.cmake | ||
Findverbs.cmake | ||
Findxfs.cmake | ||
Findyaml-cpp.cmake | ||
Findzbd.cmake | ||
Findzfs.cmake | ||
FindZstd.cmake | ||
GetGitRevisionDescription.cmake | ||
GetGitRevisionDescription.cmake.in | ||
LimitJobs.cmake | ||
patch-dpdk-conf.sh | ||
SIMDExt.cmake |