Vitaliy Filippov
4872f617a4
Clear connect timeout in stop_client() to stop races during disconnections
2 years ago
Vitaliy Filippov
e8ac08be14
Allow to overwrite incomplete objects or parts of objects to recover them
2 years ago
Vitaliy Filippov
660c2412fb
Improve debugging output for incomplete/degraded
2 years ago
Vitaliy Filippov
faa5e1436f
Attempt journal trim even without new flushes
...
This is the new guaranteed unblocking method which replaces old trims
in init and rollback, and also fixes a possible stall when just several
writes in the beginning of the journal are flushed without triggering
a subsequent trim.
2 years ago
Vitaliy Filippov
5fbe36198a
Fix journal trimming
...
1) Update journal's used_start in memory only after updating journal superblock.
Doing the opposite is incorrect because part of the journal will be lost if writers
overwrite its old beginning.
2) Sync journal device after updating the superblock.
3) Do not trim in rollback and init because trimming there would also require
updating the superblock. And the only reason to trim in both those places was
to unblock writers. And a guaranteed unblocking method will follow in the next
commit :)
2 years ago
Vitaliy Filippov
99c45bb5ed
Fix debugging output during journal loading
2 years ago
Vitaliy Filippov
701eb79422
Stabilize writes before deleting extra chunks to not stall peer journals
2 years ago
Vitaliy Filippov
220bda0667
Fix possible buffer over(under)flow when handling LIST
2 years ago
Vitaliy Filippov
1e8f0328e0
Cancel outbound operations after re-peering PGs
2 years ago
Vitaliy Filippov
f011e0c675
Do not block stabilize by list and list by write
2 years ago
Vitaliy Filippov
1a694c387e
Print slow ops in log
2 years ago
Vitaliy Filippov
738ad5af79
Fix infinite looping in continue_recovery_op() when pg_cancel_write_queue() is called
2 years ago
Vitaliy Filippov
9abf3c17c9
Correct fix for "Pool %u PG %u configuration is invalid" during startup
...
Establish watcher connection after loading PGs
2 years ago
Vitaliy Filippov
d2b901aa09
Fix default auto-created failure domains
2 years ago
Vitaliy Filippov
befff09370
Fix possible crash due to uninitialized ring_data_t in ringloop
2 years ago
Vitaliy Filippov
d1645551d4
Implement write batching
...
Also fix possible race condition which could in theory lead to "command out of sync"
and a buffer overflow that could happen on incorrect server response.
2 years ago
Vitaliy Filippov
7cb561f95a
Add etcd to the example service generator
2 years ago
Vitaliy Filippov
ae480196e2
Add a note about etcd bug, fix simple-offsets.js cmdline
2 years ago
Vitaliy Filippov
398c86f943
Improve PG-related log messages
2 years ago
Vitaliy Filippov
bec5f921a6
Fix buffer overflows in the no_same_sector_overwrites mode
2 years ago
Vitaliy Filippov
5335c8de8e
Do not use unordered_map for list_ops/list_results
2 years ago
Vitaliy Filippov
c696a82083
Replace assert with if + error message (may happen on metadata corruption)
2 years ago
Vitaliy Filippov
900171586b
XOR 2+1 test results
2 years ago
Vitaliy Filippov
70612e5df0
Do not handle change events before loading config
2 years ago
Vitaliy Filippov
d952c24979
Use timeout in rw callback
2 years ago
Vitaliy Filippov
776fe954a5
Fix crashes on multiple OSD reconnects
...
Identify clients by pointers instead of peer_fd as peer may be dropped
and reconnected between callbacks
Yeah maybe I need some Rust, but ... maybe in the future :)
2 years ago
Vitaliy Filippov
9350656af6
Fix osd tags
2 years ago
Vitaliy Filippov
ece14a7d65
Hide "Connected with..." client messages by default
2 years ago
Vitaliy Filippov
be5f314c32
Change notes about gcc requirement to 9+, fio to 3.16+
2 years ago
Vitaliy Filippov
15dba96375
Implement inode removal tool. Removes multiple objects from multiple OSDs in parallel
2 years ago
Vitaliy Filippov
3d05aa9362
Make it build with GCC 10, fio 3.20+ (atomics...) and QEMU 5.1
3 years ago
Vitaliy Filippov
94efb54feb
Implement OSD tags (device classes), fix pool failure_domain configuration
3 years ago
Vitaliy Filippov
aa2a0ee00f
Do not group adjacent stripes by default as it's pointless on SSDs
3 years ago
Vitaliy Filippov
9f2a948712
Make pg_stripe_size a per-pool config
3 years ago
Vitaliy Filippov
ba74eece4a
More fixes to the failure model (why am I doing this?..)
3 years ago
Vitaliy Filippov
2fdd8a1b38
More correct failure model (I hope so)
3 years ago
Vitaliy Filippov
526983f7a9
Add usable CLI commands for NBD proxy (map/unmap/list)
3 years ago
Vitaliy Filippov
8e36f04482
One more experiment with cluster AFR%
3 years ago
Vitaliy Filippov
f460d8c1c8
Add note about NBD
3 years ago
Vitaliy Filippov
7619a789c0
Set request size in NBD
3 years ago
Vitaliy Filippov
e65a28e27e
Implement a simple NBD proxy (does not daemonize yet)
3 years ago
Vitaliy Filippov
6852f299ae
Add functions to calculate AFR for a cluster
3 years ago
Vitaliy Filippov
1967269c13
Resume operations in cluster_client when PGs are loaded (fixes a hang in qemu-img)
3 years ago
Vitaliy Filippov
7574183ba6
Make qemu driver build with QEMU 3.x
3 years ago
Vitaliy Filippov
108cd6312d
Correct some typos in README, add note about qemu-img
3 years ago
Vitaliy Filippov
588b9e6393
Add README
3 years ago
Vitaliy Filippov
0471b09b9c
Add license notices to all source code files
3 years ago
Vitaliy Filippov
ef911555ed
Add cpp-btree and json11 submodules
3 years ago
Vitaliy Filippov
9d20839a02
Add license texts
3 years ago
Vitaliy Filippov
67a2e5640c
Fix a GIANT memory leak on read :D
3 years ago