Repository navigation
squid: os/bluestore: do not add expanded space to allocator after allocmap recovery - #70382
Conversation
Config Diff Tool Output! changed: bluestore_debug_enforce_settings: old: 'hdd' enforces settings intended for BlueStore above a rotational drive. 'ssd' enforces settings intended for BlueStore above a solid drive. 'default' - using settings for the actual hardware. (global.yaml.in)
! changed: bluestore_debug_enforce_settings: new: 'hybrid' enforces osd settings applicable to hybrid (AKA main=hdd, db/wal=ssd) disk setup. 'ssd' enforces osd settings applicable to all-flash disk setup. 'default' specifies automatic settings selection based on real detected hardware. (global.yaml.in)
! changed: bluestore_debug_enforce_settings: old: ['default', 'hdd', 'ssd'] (global.yaml.in)
! changed: bluestore_debug_enforce_settings: new: ['default', 'hybrid', 'ssd'] (global.yaml.in)
! changed: bluestore_debug_enforce_settings: old: Enforces specific hw profile settings (global.yaml.in)
! changed: bluestore_debug_enforce_settings: new: Enforces specific hardware profile settings (global.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #70382 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| d967a7c os/bluestore: make 'bluestore_debug_enforce_settings' control | PR #68503 | 4b74d0a os/bluestore: make 'bluestore_debug_enforce_settings' control |
| 98721cf os/bluestore: do not add expanded space to allocator after allocmap | d6e021d os/bluestore: do not add expanded space to allocator after allocmap | |
| 16e8fc8 qa/osd-bluefs-volume-ops: add more bluestore expansion test cases. | f88927d qa/osd-bluefs-volume-ops: add more bluestore expansion test cases. | |
| 77e60f7 test/osd-bluefs-volume-ops: minor cleanup | 641038f test/osd-bluefs-volume-ops: minor cleanup |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport d967a7c (cherry-pick of 4b74d0a)
Affected File(s)
src/common/options/global.yaml.insrc/test/objectstore/store_test.cc
Range Diff
Click to expand
--- Original (4b74d0af)
+++ Backport (d967a7c0)
@@ -9,3 +9,11 @@
actual device class completely.
Signed-off-by: Igor Fedotov <[email protected]>
+(cherry picked from commit 4b74d0af8fb968d3cd0a777da78e88288ea60b41)
+
+ Conflicts:
+ src/common/options/global.yaml.in
+ Trivial - the previous description for bluestore_debug_enforce_settings
+ got no relevant update in Squid.
+ src/test/objectstore/store_test.cc
+ Trivial - conflicts cause by no write v2 support.
================================================================================
RANGE DIFF
================================================================================
1: 4b74d0af8fb ! 1: d967a7c0743 os/bluestore: make 'bluestore_debug_enforce_settings' control rotational/non-rotational OSD behavior for DB/WAL devices.
@@ Commit message
actual device class completely.
Signed-off-by: Igor Fedotov <[email protected]>
+ (cherry picked from commit 4b74d0af8fb968d3cd0a777da78e88288ea60b41)
+
+ Conflicts:
+ src/common/options/global.yaml.in
+ Trivial - the previous description for bluestore_debug_enforce_settings
+ got no relevant update in Squid.
+ src/test/objectstore/store_test.cc
+ Trivial - conflicts cause by no write v2 support.
## src/common/options/global.yaml.in ##
@@ src/common/options/global.yaml.in: options:
+ - name: bluestore_debug_enforce_settings
type: str
level: dev
- desc: Enforces specific hardware profile settings
-- long_desc: '''hdd'' enforces settings intended for BlueStore on a rotational
-- drive. ''ssd'' enforces settings intended for BlueStore on an SSD. ''default''
-- indicates that BlueStore is to use settings based on the detected hardware.'
+- desc: Enforces specific hw profile settings
+- long_desc: '''hdd'' enforces settings intended for BlueStore above a rotational
+- drive. ''ssd'' enforces settings intended for BlueStore above a solid drive. ''default''
+- - using settings for the actual hardware.'
++ desc: Enforces specific hardware profile settings
+ long_desc: '''hybrid'' enforces osd settings applicable to hybrid
+ (AKA main=hdd, db/wal=ssd) disk setup.
+ ''ssd'' enforces osd settings applicable to all-flash disk setup.
@@ src/os/bluestore/BlueStore.h: private:
## src/test/objectstore/store_test.cc ##
@@ src/test/objectstore/store_test.cc: TEST_P(StoreTestSpecificAUSize, ReproBug41901Test) {
+ return;
- SetVal(g_conf(), "bluestore_write_v2", "false");
SetVal(g_conf(), "bluestore_max_blob_size", "524288");
- SetVal(g_conf(), "bluestore_debug_enforce_settings", "hdd");
+ SetVal(g_conf(), "bluestore_debug_enforce_settings", "hybrid");
@@ src/test/objectstore/store_test.cc: TEST_P(StoreTestSpecificAUSize, ReproBug4190
StartDeferred(65536);
@@ src/test/objectstore/store_test.cc: TEST_P(StoreTestSpecificAUSize, ReproBug56488Test) {
+
size_t alloc_size = 65536;
size_t write_size = 4096;
- SetVal(g_conf(), "bluestore_write_v2", "false");
- SetVal(g_conf(), "bluestore_debug_enforce_settings", "hdd");
+ SetVal(g_conf(), "bluestore_debug_enforce_settings", "hybrid");
SetVal(g_conf(), "bluestore_block_db_create", "true");
SetVal(g_conf(), "bluestore_block_db_size", stringify(1 << 30).c_str());
@@ src/test/objectstore/store_test.cc: TEST_P(StoreTestSpecificAUSize, BluestoreEnforceHWSettingsHdd) {
+ if (string(GetParam()) != "bluestore")
return;
- SetVal(g_conf(), "bluestore_write_v2", "false");
- SetVal(g_conf(), "bluestore_debug_enforce_settings", "hdd");
+ SetVal(g_conf(), "bluestore_debug_enforce_settings", "hybrid");
StartDeferred(0x1000);Deviation in Backport 16e8fc8 (cherry-pick of f88927d)
Affected File(s)
qa/standalone/osd/osd-bluefs-volume-ops.sh
Range Diff
Click to expand
--- Original (f88927d2)
+++ Backport (16e8fc8e)
@@ -2,3 +2,9 @@
Reproduces: https://tracker.ceph.com/issues/75852
Signed-off-by: Igor Fedotov <[email protected]>
+(cherry picked from commit f88927d283b08df6f1a13c547ef693ab074a6e59)
+
+ Conflicts:
+ qa/standalone/osd/osd-bluefs-volume-ops.sh
+ Trivial - online BlueFS expanding functionality isn't present in Squid
+ hence suggesting to backport a relevant test case too.
================================================================================
RANGE DIFF
================================================================================
1: f88927d283b ! 1: 16e8fc8e354 qa/osd-bluefs-volume-ops: add more bluestore expansion test cases.
@@ Commit message
Reproduces: https://tracker.ceph.com/issues/75852
Signed-off-by: Igor Fedotov <[email protected]>
+ (cherry picked from commit f88927d283b08df6f1a13c547ef693ab074a6e59)
+
+ Conflicts:
+ qa/standalone/osd/osd-bluefs-volume-ops.sh
+ Trivial - online BlueFS expanding functionality isn't present in Squid
+ hence suggesting to backport a relevant test case too.
## qa/standalone/osd/osd-bluefs-volume-ops.sh ##
@@ qa/standalone/osd/osd-bluefs-volume-ops.sh: function TEST_bluestore() {
@@ qa/standalone/osd/osd-bluefs-volume-ops.sh: function TEST_bluestore_expand() {
+ return 0
}
- function TEST_bluestore_expand_online() {
- local dir=$1
-
-- local flimit=$(ulimit -n)
-- if [ $flimit -lt 1536 ]; then
-- echo "Low open file limit ($flimit), test may fail. Increase to 1536 or higher and retry if that happens."
-- fi
- export CEPH_MON="127.0.0.1:7146" # git grep '\<7146\>' : there must be only one
- export CEPH_ARGS
- CEPH_ARGS+="--fsid=$(uuidgen) --auth-supported=none "
-@@ qa/standalone/osd/osd-bluefs-volume-ops.sh: function TEST_bluestore_expand_online() {
- ceph-bluestore-tool --path $dir/1 fsck || return 1
- ceph-bluestore-tool --path $dir/2 fsck || return 1
- ceph-bluestore-tool --path $dir/3 fsck || return 1
--
- }
-
+function TEST_bluestore_expand_with_allocmap_recovery() {
+ local dir=$1
+How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
jenkins test make check |
|
This PR has been added to wip-bharath11-testing-20260908.043338-squid. |
rotational/non-rotational OSD behavior for DB/WAL devices. Prior to this commit this parameter determined what device class settings to apply for BlueStore only. OSD had partially applied actual journal/db/main device class for some operations, e.g. benchmark on init or allocmap persistence, irrespective to this setting value. This commit allows 'bluestore_debug_enforce_settings" to override the actual device class completely. Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit 4b74d0a) Conflicts: src/common/options/global.yaml.in Trivial - the previous description for bluestore_debug_enforce_settings got no relevant update in Squid. src/test/objectstore/store_test.cc Trivial - conflicts cause by no write v2 support.
recovery. The recovery procedure performs that itself by design. Fixes: https://tracker.ceph.com/issues/75852 Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit d6e021d)
Reproduces: https://tracker.ceph.com/issues/75852 Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit f88927d) Conflicts: qa/standalone/osd/osd-bluefs-volume-ops.sh Trivial - online BlueFS expanding functionality isn't present in Squid hence suggesting to backport a relevant test case too.
Signed-off-by: Igor Fedotov <[email protected]> (cherry picked from commit 641038f)
77e60f7 to
78f4ecc
Compare
|
@ifed01 was your most recent force push trivial? I approved the QA results based on the old commit: If it was trivial, you can consider it approved. Otherwise, let's retest. |
|
Also, the audit either needs to be overriden or fixed. |
Yes, this was basically rebase on top of up-to-date squid branch. Plus adjusting auth args in qa/standalone/osd/osd-bluefs-volume-ops.sh to match new approach. |
|
✅ Audit Override Applied by @batrick. |
Parent tracker: https://tracker.ceph.com/issues/75852
Backport tracker: https://tracker.ceph.com/issues/78218
Backports: #68503
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.