Commit Graph

7 Commits (a1f2f19489e427aca96a82c77c76e76804b9338a)

Author SHA1 Message Date
Vitaliy Filippov a1f2f19489 Do not increment inode statistics if the object already exists 2 years ago
Vitaliy Filippov c35963967f Add inode space usage statistics tracking to blockstore 2 years ago
Vitaliy Filippov 40b7c21fb1 Followup to 307c1731c1 - fix mark_stable 2 years ago
Vitaliy Filippov 307c1731c1 Forget all dirty_entries before stable big_write or delete during initialisation 2 years ago
Vitaliy Filippov 299d7d7c95 Use common macro for get_sqe 2 years ago
Vitaliy Filippov 98f1e2c277 Rework write/sync ordering 2 years ago
Vitaliy Filippov bf9a175efc Move C/C++ sources to src subdirectory 2 years ago
Vitaliy Filippov 4a2dcf7b6b Update the license to VNPL 1.1 2 years ago
Vitaliy Filippov 534a4a657e Rename space_check.sectors_required to sectors_to_write 2 years ago
Vitaliy Filippov 9b5d8b9ad4 Fix multiple-sector journal writes, add assertions to not miss any SQEs 2 years ago
Vitaliy Filippov 9ef7f865b0 Fix incorrect calls to prepare_journal_sector_write() when flushing multiple sectors 2 years ago
Vitaliy Filippov 1018764c91 Fix write->delete->write bugs, add & fix some debugging output 2 years ago
Vitaliy Filippov f011e0c675 Do not block stabilize by list and list by write 2 years ago
Vitaliy Filippov bec5f921a6 Fix buffer overflows in the no_same_sector_overwrites mode 2 years ago
Vitaliy Filippov 0471b09b9c Add license notices to all source code files 2 years ago
Vitaliy Filippov 242d9a42a2 Change object format in prints to %lx:%lx v%lu 2 years ago
Vitaliy Filippov 416a80b099 Make blockstore object state a combination of type and workflow 3 years ago
Vitaliy Filippov 985c309d7f Remove duplicate code between blockstore_{rollback,stable} and blockstore_init 3 years ago
Vitaliy Filippov 0f43f6d3f6 Fix crashes, print some stats 3 years ago
Vitaliy Filippov 8a8b619875 Handle secondary OSD connection errors [in theory] 3 years ago
Vitaliy Filippov c0a22d825d Fix degraded object recovery (it seems to work now) 3 years ago
Vitaliy Filippov 46f9bd2a69 Make blockstore list operation return consistent snapshots 3 years ago
Vitaliy Filippov 3f522c66e6 Implement immediate commit mode 3 years ago
Vitaliy Filippov c3737ae3ff Add journal fsync to stabilize/rollback 3 years ago
Vitaliy Filippov 1696446545 Rename min/max _used to _flushed 3 years ago
Vitaliy Filippov 1e21555343 Add FIXME with Oops 3 years ago
Vitaliy Filippov 2b09710d6f Implement blockstore rollback operation 3 years ago
Vitaliy Filippov 43f6cfeb73 Extract alignments to options 3 years ago
Vitaliy Filippov a3d3949dce Do not overwrite same journal sector multiple times 3 years ago
Vitaliy Filippov b3f2102f33 Add queue stall tracking 3 years ago
Vitaliy Filippov a7e74670a5 Split blockstore implementation and interface header 3 years ago
Vitaliy Filippov 749ab6e2c6 Rename blockstore_operation to blockstore_op_t 3 years ago
Vitaliy Filippov f4d06ba102 OP_DELETE flushing 3 years ago
Vitaliy Filippov a7a0946ba8 WIP OP_DELETE 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 9ba243b3ee Add debug prints 3 years ago
Vitaliy Filippov ce5cd13bc8 Use fdatasync (just for testing over an FS) 3 years ago
Vitaliy Filippov 1080cbdf12 Fix used journal sector tracking again 3 years ago
Vitaliy Filippov b8e53f8c67 Fix op validation, fix journal sector usage tracking 3 years ago
Vitaliy Filippov 3e46728321 Continue fio engine 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 2b12428cb1 Debug OP_STABLE so the basic case passes without problem 3 years ago
Vitaliy Filippov e40a71b2ce Check result to be equal to iov_len 3 years ago
Vitaliy Filippov eec1c35ea4 Begin to debug ... all of this stuff :) 3 years ago
Vitaliy Filippov c38c8ab029 Prevent two parallel flushes of the same object 3 years ago
Vitaliy Filippov f1e236c6e8 Sync metadata & data after copying from journal 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 214da03735 Move flusher into a separate file 3 years ago