Repository navigation
os/bluestore: check bluefs allocations on log replay - #31513
Conversation
liewegas
left a comment
There was a problem hiding this comment.
LGTM! Could add bluefs_log_replay_check_allocations = true to qa/tasks/ceph.conf.template too...
There was a problem hiding this comment.
maybe default this to false, actually?
There was a problem hiding this comment.
I'd prefer to have it on by default. Otherwise IMO it's going to be void. Are you expecting much overhead due to this?
There was a problem hiding this comment.
I guess not since it's only on replay. I was thinking that we'd have it on in the default teuthology config. This is fine, though!
ad8bfee to
09b50d4
Compare
There was a problem hiding this comment.
Recurring ceph_assert(pos < bs.size()); can became part of apply function.
There was a problem hiding this comment.
Can put pos outside loop, and replace off += granularity with pos++, although I am almost certain that assembly for both on -O3 will be the same.
There was a problem hiding this comment.
I like this apply function, but can it get more descriptive name, e.q : for_each_bit, or something?
There was a problem hiding this comment.
I guess, you want op_alloc_add in ?
There was a problem hiding this comment.
no, forget to remove
There was a problem hiding this comment.
Proposal: "Checks for allocations consistency during log replay".
Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
09b50d4 to
37128ed
Compare
Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
6fe260b to
b162f94
Compare
Signed-off-by: Igor Fedotov <[email protected]>
…tions Signed-off-by: Igor Fedotov <[email protected]>
Signed-off-by: Igor Fedotov <[email protected]>
b162f94 to
ffba2bb
Compare
|
@tchaikov - yes, please rerun |
As bitmap allocator doesn't provide full consistency checking it might be useful for bluefs to do that on its own.
Signed-off-by: Igor Fedotov [email protected]
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox