Commit Graph

715 Commits (0772dea06158f01b26b16a21e2875eab2c07ec79)

Author SHA1 Message Date
Vitaliy Filippov e5caffb6ac Allow to read specific versions 2019-11-10 13:26:56 +03:00
Vitaliy Filippov 2d0334f9b9 Remove in_progress_ops 2019-11-10 12:52:37 +03:00
Vitaliy Filippov ae56fe1067 Finish sync algorithm in theory 2019-11-10 12:52:37 +03:00
Vitaliy Filippov 24f5d71595 Move handle_event code into _read.cpp, _write.cpp; move sync code into _sync.cpp 2019-11-10 02:27:27 +03:00
Vitaliy Filippov 8e634d5b74 Continue sync implementation 2019-11-09 02:16:44 +03:00
Vitaliy Filippov 7456f0f7e2 Remove duplicate code 2019-11-08 19:54:57 +03:00
Vitaliy Filippov 153de65ce7 Begin sync implementation 2019-11-08 19:54:45 +03:00
Vitaliy Filippov 90f081f398 Check for op->wait_for conditions
It's almost identical to just re-submit... so maybe it was pointless
2019-11-08 12:08:25 +03:00
Vitaliy Filippov a5f2d8b85e Ack writes 2019-11-08 02:31:07 +03:00
Vitaliy Filippov 40890aeec5 Rename dirty_queue to dirty_db and make it a single std::map 2019-11-08 00:20:10 +03:00
Vitaliy Filippov 5330461029 Move blockstore journal fields to journal_t, implement multiple write buffers for journal sectors 2019-11-07 23:42:24 +03:00
Vitaliy Filippov 84c62840bd Begin write algorithm 2019-11-07 02:24:12 +03:00
Vitaliy Filippov 2f18a3d19e Begin implementation of enqueue/dequeue 2019-11-06 19:27:48 +03:00
Vitaliy Filippov 3f5ad16748 Fix ringloop, implement first version of handle_event for reads 2019-11-05 23:06:06 +03:00
Vitaliy Filippov 82cf0a170e Port everything to ring_loop 2019-11-05 02:43:21 +03:00
Vitaliy Filippov 351366d228 Add ring_loop 2019-11-05 02:12:04 +03:00
Vitaliy Filippov c959948c82 Finish journal reader 2019-11-04 20:18:52 +03:00
Vitaliy Filippov e1c92d2227 Begin journal init reader 2019-11-04 01:42:53 +03:00
Vitaliy Filippov 9babacb00a Move init into a separate file 2019-11-03 22:04:30 +03:00
Vitaliy Filippov f4705d81d7 Split into multiple files, begin init_loop, adjust read 2019-11-03 02:30:11 +03:00
Vitaliy Filippov db3b810588 journal structures + read fulfill 2019-11-01 02:47:57 +03:00
Vitaliy Filippov f1b2d3d3b4 unoptimized crc32 and xor 2019-10-31 21:04:27 +03:00
Vitaliy Filippov 03335d3533 Blockstore: device opening 2019-10-31 13:49:46 +03:00
Vitaliy Filippov e91952e89e Hierarchical bitmap allocator 2019-10-28 01:22:01 +03:00
Zhijiang TAO a4da043b17 update readme 2016-08-16 11:56:09 +08:00
Zhijiang TAO f4ffe052d9 ADDING INT64 UINT64 test cases 2016-08-16 11:10:14 +08:00
Zhijiang TAO eb4d67a68e using longlong for internel storage 2016-08-16 11:00:25 +08:00
Zhijiang TAO f6b4188933 添加int64类型,但是还是会溢出 2016-08-16 00:14:02 +08:00
Andrew Twyman 787809178d Merge pull request #71 from admsyn/fix-cmake-c++11-flag
Use CXX_STANDARD to specify c++11 compile flags
2016-08-12 17:10:09 -07:00
Adam Carlucci 580fd44b5f Use CXX_STANDARD to specify c++11 compile flags 2016-08-10 18:16:59 -07:00
Andrew Twyman fb6cc808e0 Merge pull request #69 from dropbox/atwyman/pre-processor-customization
Allow json11 tests to be customized with pre-processor defines
2016-07-28 22:54:22 -07:00
Andrew Twyman 7a947c1e2f Remove extraneous parentheses 2016-07-28 22:42:01 -07:00
Andrew Twyman 200c98aede Allow json11 tests to be customized with pre-processor defines 2016-07-28 22:27:43 -07:00
Andrew Twyman 78e43a9ea7 Merge pull request #68 from AustinBrunkhorst/master
[MSVC 14] int to bool conversion performance warning
2016-07-25 17:30:21 -07:00
Austin Brunkhorst 40f10bd28d Use `false` instead of `0` + conversion. 2016-07-25 17:28:15 -07:00
Andrew Twyman d9867d8ab3 Merge pull request #66 from 4brunu/master
Add option to disable unit tests
2016-07-25 17:00:35 -07:00
Austin Brunkhorst 467dc6ae05 Fixes warning C4800: 'int': forcing value to bool 'true' or 'false' on MSVC 14 2016-07-24 11:34:17 -07:00
Bruno Coelho 3704671508 Add option to disable unit tests 2016-07-05 15:37:44 +01:00
Andrew Twyman 913269c7a4 Merge pull request #64 from shrikant-dropbox/master
MSVS 2013 compatibility changes.
2016-06-20 17:58:44 -07:00
Shrikant Kelkar f6c0f68737 MSVS 2013 compatibility changes. 2016-06-20 17:36:17 -07:00
Andrew Twyman a20878aaa5 Make the DR1467 canary test code optional 2016-05-18 18:36:58 -07:00
Andrew Twyman 4597f98abe Fix sign comparison warnings, and parser confusion 2016-05-18 18:31:52 -07:00
j4cbo df1fdbfd79 Merge pull request #57 from ChrisKitching/fixpkgconfigInstall
Don't assume in-tree builds when installing json11.pc
2016-05-14 10:52:20 -07:00
Chris Kitching 05b5514400
Don't assume in-tree builds when installing json11.pc 2016-05-05 02:43:43 +01:00
j4cbo 8452587160 Merge pull request #55 from Dushistov/parse_not_full_json
Parse half ready json
2016-05-03 07:22:59 -07:00
j4cbo a1409a9a1a Merge pull request #56 from Dushistov/json_parser_anonymous
make JsonParser invisible from outside
2016-05-03 07:13:45 -07:00
Evgeniy A. Dushistov 0e4ace7e40 make parser invisible from outside 2016-04-28 01:28:42 +03:00
Evgeniy A. Dushistov 33bca8e178 implement parsing of chunked json
Update: add more tests + use parser.failed
2016-04-27 23:37:17 +03:00
Andrew Twyman eefbd630ec Merge pull request #53 from njwhite/master
Generate pkg-config File & Add Install Target
2016-04-18 20:04:30 -07:00
Nick White 8076ba74e0 Generate pkg-config File & Add Install
...to the CMake build script. The pkg-config file needs a version number (which
it takes from the CMakeLists.txt variable), which I've set to 1.0.0. The cmake
project declaration needs to be after the minimum-requirement declaration to
avoid errors from the cmake's change in VERSION semantics.
2016-04-16 18:43:09 +01:00