Vitaliy Filippov
abf0611d93
Use clean_entry_bitmap_size instead of entry_attr_size back because of changed bitmap handling
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
edbf0eb040
Add a test for snapshots, fix bugs. Now the test passes
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
2db2ed22ea
Fix several snapshot I/O bugs
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
0422d94a70
Send bitmaps with primary-reads, actually read bitmaps for READ ops
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
ff2208ae70
Allocate bitmaps along with stripes to avoid memory fragmentation
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
ae54dddb0c
Remove cryptic bitmap inlining from bs_op_t and osd_op_t, use bitmap in primary OSD code
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
07e10210b6
Use bitmap granularity for alignment checks
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
6625aaae00
Add "external" bitmap support to osd_rmw
2021-03-16 12:48:36 +03:00
Vitaliy Filippov
435045751d
Delete objects only after a SYNC during rebalance in the non-immediate_commit mode
...
Previously OSDs could commit deletes before writes during recovery or rebalance
in the "lazy fsync" (immediate_commit=off) mode which could result in lost objects
2021-03-16 12:48:26 +03:00
Vitaliy Filippov
1be94da437
Check & remove extra chunks for degraded / incomplete objects, too
2021-03-08 17:04:10 +03:00
Vitaliy Filippov
21e7686037
Fix possible "assertion failed: pg.inflight >= 0" error during PG stop
2021-03-08 17:04:10 +03:00
Vitaliy Filippov
ab21a1908b
Check for the dirty PG flag when trying to continue to stop it after sync
2021-03-08 17:04:10 +03:00
Vitaliy Filippov
6155b23a7e
Replace pgs[id] with pgs.at(id) to prevent accidental auto-vivification
2021-02-28 19:36:59 +03:00
Vitaliy Filippov
bf9a175efc
Move C/C++ sources to src subdirectory
2021-02-25 23:59:03 +03:00