45 Commits (f2e9749c9340ceffe036890be485ec0a2ac128ed)

Author SHA1 Message Date
Vitaliy Filippov 76caecf7c7 Inmemory metadata mode 3 years ago
Vitaliy Filippov f4d06ba102 OP_DELETE flushing 3 years ago
Vitaliy Filippov 00eeedae90 Add "fsync disabled" mode 3 years ago
Vitaliy Filippov 76655929c4 Add readonly flag 3 years ago
Vitaliy Filippov 9260cd263a Verify data crc32 when reading journal 3 years ago
Vitaliy Filippov 2039df76a5 Fix journal reading and make it more similar to writing :) 3 years ago
Vitaliy Filippov 40781c67b2 Trim journal on start 3 years ago
Vitaliy Filippov 45f34fb3b2 Fix linear overwrite, make metadata writes ordered, ignore older entries when recovering journal 3 years ago
Vitaliy Filippov b6fff5a77e Fix metadata area size calculation, print free space, wait for free space 3 years ago
Vitaliy Filippov 9fa0d3325f Support inmemory journal 3 years ago
Vitaliy Filippov e1ac4dba23 Fix safe stop procedure 3 years ago
Vitaliy Filippov 35a6ed728d Fix another stall due to bad unstable_writes tracking, do not try to write beyond the end of the journal 3 years ago
Vitaliy Filippov 2630e2e3b9 Fix metadata partition length, fix journal allocation at the end 3 years ago
Vitaliy Filippov 876231d26b no new 3 years ago
Vitaliy Filippov ce5cd13bc8 Use fdatasync (just for testing over an FS) 3 years ago
Vitaliy Filippov ff7469ee91 Make allocator a class 3 years ago
Vitaliy Filippov a6770f619a Fix crash while reading metadata 3 years ago
Vitaliy Filippov 50cf3667fa Track unstable writes 3 years ago
Vitaliy Filippov 82a2b8e7d9 Fix some extra bugs and it seems now it is even able to trim the journal 3 years ago
Vitaliy Filippov 7e87290fca Clear second sector of the journal, init iov for callbacks 3 years ago
Vitaliy Filippov 201eeb8516 Rewrite metadata_init to the same "goto-coroutine" style 3 years ago
Vitaliy Filippov 2b12428cb1 Debug OP_STABLE so the basic case passes without problem 3 years ago
Vitaliy Filippov 299b7288d5 Fix journal loading 3 years ago
Vitaliy Filippov eb55b2fe20 Initialize sector 0 of the journal 3 years ago
Vitaliy Filippov b5f04c58ff Rewrite journal_init to the "goto-coroutine" style 3 years ago
Vitaliy Filippov 8c690c76ec Wakeup ring loop 3 years ago
Vitaliy Filippov e40a71b2ce Check result to be equal to iov_len 3 years ago
Vitaliy Filippov c2de733e35 Copy io_uring_prep_* to my_uring_prep_* so they do not clear user_data 3 years ago
Vitaliy Filippov eec1c35ea4 Begin to debug ... all of this stuff :) 3 years ago
Vitaliy Filippov a4aaa3c7c7 First implementation of journal trimming 3 years ago
Vitaliy Filippov 71194f014a Update dirty_db and clean_db after flushing an entry 3 years ago
Vitaliy Filippov 0627dd0f5e Used journal sector tracking 3 years ago
Vitaliy Filippov bc549553e4 Rename dirty_entry.size to len, remove some unneeded methods and fields, read metadata correctly 3 years ago
Vitaliy Filippov 1c6b9778a4 Handle all io_uring events using lambdas 3 years ago
Vitaliy Filippov db66b3916e Begin metadata read-modify-write 3 years ago
Vitaliy Filippov ae77a228c7 Rename big_write.block to location 3 years ago
Vitaliy Filippov ff57dd420e Rename object_db to clean_db 3 years ago
Vitaliy Filippov 40890aeec5 Rename dirty_queue to dirty_db and make it a single std::map 3 years ago
Vitaliy Filippov 5330461029 Move blockstore journal fields to journal_t, implement multiple write buffers for journal sectors 3 years ago
Vitaliy Filippov 3f5ad16748 Fix ringloop, implement first version of handle_event for reads 3 years ago
Vitaliy Filippov 82cf0a170e Port everything to ring_loop 3 years ago
Vitaliy Filippov 351366d228 Add ring_loop 3 years ago
Vitaliy Filippov c959948c82 Finish journal reader 3 years ago
Vitaliy Filippov e1c92d2227 Begin journal init reader 3 years ago
Vitaliy Filippov 9babacb00a Move init into a separate file 3 years ago
Vitaliy Filippov f4705d81d7 Split into multiple files, begin init_loop, adjust read 3 years ago
Vitaliy Filippov db3b810588 journal structures + read fulfill 3 years ago
Vitaliy Filippov 03335d3533 Blockstore: device opening 3 years ago