rocksdb/utilities/transactions/lock/range/range_tree/lib
XieJiSS 8b1df101da fix: build on risc-v (#9215)
Summary:
Patch is modified from ~~https://reviews.llvm.org/file/data/du5ol5zctyqw53ma7dwz/PHID-FILE-knherxziu4tl4erti5ab/file~~

Tested on Arch Linux riscv64gc (qemu)

UPDATE: Seems like the above link is broken, so I tried to search for a link pointing to the original merge request. It turned out to me that the LLVM guys are cherry-picking from `google/benchmark`, and the upstream should be this:

808571a52f/src/cycleclock.h (L190)

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9215

Reviewed By: siying, jay-zhuang

Differential Revision: D34170586

Pulled By: riversand963

fbshipit-source-id: 41b16b9f7f3bb0f3e7b26bb078eb575499c0f0f4
2022-05-17 17:33:01 -07:00
..
ft Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
locktree Fix locktree accesses to PessimisticTransactions (#9898) 2022-04-27 09:12:52 -07:00
portability fix: build on risc-v (#9215) 2022-05-17 17:33:01 -07:00
util Apply the changes from: PS-5501 : Re-license PerconaFT 'locktree' to Apache V2 (#7801) 2020-12-22 14:47:41 -08:00
COPYING.AGPLv3 LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00
COPYING.APACHEv2 LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00
COPYING.GPLv2 LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00
db.h LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00
README LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00
standalone_port.cc LockTree library, originally from PerconaFT (#7753) 2020-12-09 12:10:57 -08:00

The files in this directory originally come from
https://github.com/percona/PerconaFT/.

This directory only includes the "locktree" part of PerconaFT, and its
dependencies.

The following modifications were made:
- Make locktree usable outside of PerconaFT library
- Add shared read-only lock support

The files named *_subst.* are substitutes of the PerconaFT's files, they
contain replacements of PerconaFT's functionality.