Skip to content

os/bluestore: Set of various fixes to bluefs#63761

Merged
tchaikov merged 3 commits intoceph:mainfrom
aclamk:aclamk-bs-bluefs-various-fixes
Jun 20, 2025
Merged

os/bluestore: Set of various fixes to bluefs#63761
tchaikov merged 3 commits intoceph:mainfrom
aclamk:aclamk-bs-bluefs-various-fixes

Conversation

@aclamk
Copy link
Contributor

@aclamk aclamk commented Jun 5, 2025

There are 3 fixes in the batch:

  1. unittest_bluefs leaks related to BlueFS::FileWriter
  2. unittest_bluefs leaks related to shared allocator tests
  3. WALv2 added extra field to bluefs_super_t, removed

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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

aclamk added 3 commits June 5, 2025 19:31
1. Moved BlueFS::FileWriter iovs cleanup from _drain_writer to
   destructor
2. Add missing umount()s, close_writer()s, delete writers

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
New WAL handling mode added field `wal_version` to bluefs_super_t.
At some point of refactor become unused.
Removing it while we still can.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
Valgrind detected the leaks.

Signed-off-by: Adam Kupczyk <akupczyk@ibm.com>
@aclamk aclamk requested a review from a team as a code owner June 5, 2025 19:41
@tchaikov
Copy link
Contributor

tchaikov commented Jun 8, 2025

FWIW, i created a similar fix at #63602. closing it in favor of this one.

@tchaikov
Copy link
Contributor

tchaikov commented Jun 8, 2025

jenkins test make check arm64

2 similar comments
@tchaikov
Copy link
Contributor

tchaikov commented Jun 8, 2025

jenkins test make check arm64

@tchaikov
Copy link
Contributor

tchaikov commented Jun 8, 2025

jenkins test make check arm64

@tchaikov tchaikov merged commit 627b134 into ceph:main Jun 20, 2025
12 of 13 checks passed
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