Skip to content

os/bluestore/unittest_alloc_aging: Updated#52830

Closed
aclamk wants to merge 2 commits intoceph:mainfrom
aclamk:wip-aclamk-bs-fix-alloc-aging
Closed

os/bluestore/unittest_alloc_aging: Updated#52830
aclamk wants to merge 2 commits intoceph:mainfrom
aclamk:wip-aclamk-bs-fix-alloc-aging

Conversation

@aclamk
Copy link
Copy Markdown
Contributor

@aclamk aclamk commented Aug 5, 2023

Fixed compilation after Allocator interface update.
Added "hybrid" to the list.
Now accepts ceph command line parameters.

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

Fixed compilation after Allocator interface update.
Added "hybrid" to the list.
Now accepts ceph command line parameters.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
@github-actions github-actions bot added the tests label Aug 5, 2023
Now added consistency check for free extents returned by Allocator.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
@ifed01
Copy link
Copy Markdown
Contributor

ifed01 commented Aug 24, 2023

jenkins test api

1 similar comment
@aclamk
Copy link
Copy Markdown
Contributor Author

aclamk commented Aug 29, 2023

jenkins test api

<< "] vs [0x" << it->first << "-" << it->first + it->second
<< "]" << std::dec << std::endl;
if (end > it->first + it->second) {
// this new extent spans further then previous one, take it
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO the condition above means that old(!) extents spans further not the new one. So you might want to switch these 'if' branches

}
}
}
//3. Check total capacity
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this checking can be performed at step 2. as well.

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Dec 23, 2023
@github-actions
Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants