Make rm_inode work with incomplete and degraded objects, allow to wait before deleting objects

This commit is contained in:
Vitaliy Filippov
2020-12-28 16:38:08 +03:00
parent ccabbbfbcb
commit 4a17a61d1f
3 changed files with 148 additions and 62 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ struct pg_t
std::vector<osd_num_t> cur_set;
// same thing in state_dict-like format
pg_osd_set_t cur_loc_set;
// moved object map. by default, each object is considered to reside on the cur_set.
// moved object map. by default, each object is considered to reside on cur_set.
// this map stores all objects that differ.
// it may consume up to ~ (raw storage / object size) * 24 bytes in the worst case scenario
// which is up to ~192 MB per 1 TB in the worst case scenario