62 Commits (c414a90abc51cdd4a84aaad7f852397ae9f21eea)

Author SHA1 Message Date
Vitaliy Filippov c414a90abc TRACE 1 year ago
Vitaliy Filippov afe2e76c87 Implement regular automatic syncs, split osd_t constructor into some methods 1 year ago
Vitaliy Filippov c3737ae3ff Add journal fsync to stabilize/rollback 2 years ago
Vitaliy Filippov c863543bfe Fix possible journal corruption caused by concurrent flushing and writing of the same journal sector 2 years ago
Vitaliy Filippov 41dddddbf2 Fix some logging 2 years ago
Vitaliy Filippov 2d4e24c9ce Add journal dumper debugging tool 2 years ago
Vitaliy Filippov 2be4824a7a Fix a small memory leak and BS_OP_SYNC mishandling, now fio does not hang during primary-osd test 2 years ago
Vitaliy Filippov 1733de2db6 Test & fix single-PG primary OSD 2 years ago
Vitaliy Filippov 2b09710d6f Implement blockstore rollback operation 2 years ago
Vitaliy Filippov d0ab2a20b2 Make fsync flags separate for data, metadata and journal 2 years ago
Vitaliy Filippov d5386aa958 Check presence in sync_to_repeat 2 years ago
Vitaliy Filippov 43f6cfeb73 Extract alignments to options 2 years ago
Vitaliy Filippov 36d8c8724f Fix sparse reads using bitmap, fix journal replay (we could sometimes lose its end) 2 years ago
Vitaliy Filippov cf819eb442 Implement sparse block bitmap to avoid zero-fill 2 years ago
Vitaliy Filippov b3f2102f33 Add queue stall tracking 2 years ago
Vitaliy Filippov bf3eecc159 Extract 512 to constants 2 years ago
Vitaliy Filippov 4677ace4cc Allow zero-length overwrites 2 years ago
Vitaliy Filippov 19abe6227e Fix submission ring overflow & ring_data_t reuse conflicts 2 years ago
Vitaliy Filippov a7e74670a5 Split blockstore implementation and interface header 2 years ago
Vitaliy Filippov 02a0eb49c2 Begin reply code 2 years ago
Vitaliy Filippov aaea3e1f99 Fix read_fulfill, use vector 2 years ago
Vitaliy Filippov 1f7381e220 Do not use goto resume_0 due to some strange -O3 bug which leads to hangs (it seems it optimizes flush_queue.size() away) 2 years ago
Vitaliy Filippov fd13965b90 Force start when journal is full 2 years ago
Vitaliy Filippov 2963ad98ec Start to flush only when there are <sync_threshold> journal entries to flush 2 years ago
Vitaliy Filippov aa3b252327 Fsync data before writing metadata 2 years ago
Vitaliy Filippov a165909745 FIXME 2 years ago
Vitaliy Filippov 76caecf7c7 Inmemory metadata mode 2 years ago
Vitaliy Filippov f4d06ba102 OP_DELETE flushing 2 years ago
Vitaliy Filippov 14b2f49f4d FIXME 2 years ago
Vitaliy Filippov 00eeedae90 Add "fsync disabled" mode 2 years ago
Vitaliy Filippov 40781c67b2 Trim journal on start 2 years ago
Vitaliy Filippov 45f34fb3b2 Fix linear overwrite, make metadata writes ordered, ignore older entries when recovering journal 2 years ago
Vitaliy Filippov 9fa0d3325f Support inmemory journal 2 years ago
Vitaliy Filippov e1ac4dba23 Fix safe stop procedure 2 years ago
Vitaliy Filippov d56cb290ee Two FIXMEs 2 years ago
Vitaliy Filippov 95396e2c83 Note read errors 2 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 2 years ago
Vitaliy Filippov 2630e2e3b9 Fix metadata partition length, fix journal allocation at the end 2 years ago
Vitaliy Filippov 9ba243b3ee Add debug prints 2 years ago
Vitaliy Filippov e2b91968c5 Fix sync confirmations and some pipeline-stall bugs 2 years ago
Vitaliy Filippov 95b0395493 Remove trim_interval=1 2 years ago
Vitaliy Filippov ce5cd13bc8 Use fdatasync (just for testing over an FS) 2 years ago
Vitaliy Filippov 9568354d78 Fix old_clean_loc treatment (cannot persist sparse_hash_map iterator) 2 years ago
Vitaliy Filippov 2831d40edb Fix repeated syncs 2 years ago
Vitaliy Filippov ff7469ee91 Make allocator a class 2 years ago
Vitaliy Filippov be3015169f Safe stop procedure 2 years ago
Vitaliy Filippov 82a2b8e7d9 Fix some extra bugs and it seems now it is even able to trim the journal 2 years ago
Vitaliy Filippov 7e87290fca Clear second sector of the journal, init iov for callbacks 2 years ago
Vitaliy Filippov 201eeb8516 Rewrite metadata_init to the same "goto-coroutine" style 2 years ago
Vitaliy Filippov 2b12428cb1 Debug OP_STABLE so the basic case passes without problem 2 years ago