Skip to content

tentacle: blk:Warning added for discard queue overflow - #71602

Merged
batrick merged 4 commits into
ceph:tentaclefrom
badone:wip-badone-tracker-69082-tentacle-backport
Sep 23, 2026
Merged

batrick merged 4 commits into
ceph:tentaclefrom
badone:wip-badone-tracker-69082-tentacle-backport

Conversation

@badone

@badone badone commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Backport tracker: https://tracker.ceph.com/issues/78909

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@badone badone added this to the tentacle milestone Sep 8, 2026
@badone
badone requested a review from a team as a code owner September 8, 2026 01:13
@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Config Diff Tool Output

+ added: bdev_debug_discard_sleep (global.yaml.in)
+ added: bdev_discard_max_bytes (global.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

@badone badone changed the title Wip badone tracker 69082 tentacle backport tentacle:Wip badone tracker 69082 tentacle backport Sep 8, 2026
@badone badone changed the title tentacle:Wip badone tracker 69082 tentacle backport tentacle: Wip badone tracker 69082 tentacle backport Sep 8, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 8, 2026
@badone

badone commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

/config check ok

@badone badone removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 8, 2026
@badone

badone commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

/audit retest

github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @badone.

View workflow run

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 8, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 8, 2026
@badone

badone commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

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.

Did I stutter? What makes the bot think I didn't do this?

@badone badone added the needs-qa label Sep 8, 2026
@badone badone changed the title tentacle: Wip badone tracker 69082 tentacle backport tentacle: blk:Warning added for discard queue overflow Sep 14, 2026
@badone

badone commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

@aclamk mind giving this a review please?

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath20-testing-20260917.060858-tentacle.

@sseshasa

Copy link
Copy Markdown
Contributor

@batrick

batrick commented Sep 21, 2026

Copy link
Copy Markdown
Member

jenkins test make check

@batrick batrick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ceph Release Engineering Audit Report

Automated Backport Parity Review - Scrambled Commits Detected

The backport contains commits that are scrambled or out of order relative to the original PR(s).

  • Commits from PR #61286 are applied out of their original topological order.

Backports should apply cherry-picks in the exact same topological order as they were merged into the main branch to ensure clean history and avoid subtle regression risks.


Commit Parity Visualizer

BACKPORT PR #71602 SOURCE PR SOURCE STATUS
<<<< OUT OF ORDER >>>> PR #61286 94168dc blk:Warning added for discard queue overflow
<<<< OUT OF ORDER >>>> f66280b common/options: Added bdev_discard_max_bytes and bdev_debug_discard_sleep options
<<<< OUT OF ORDER >>>> 2e121b3 mon: Integrate discard queue overflow into pg health warnings
892cb47 Minor cleanup to ensure make check passes 29b9d11 Minor cleanup to ensure make check passes
22f8946 common/options: Added bdev_discard_max_bytes and bdev_debug_discard_sleep options <<<< OUT OF ORDER >>>>
2d49ce4 blk:Warning added for discard queue overflow <<<< OUT OF ORDER >>>>
a566f14 mon: Integrate discard queue overflow into pg health warnings <<<< OUT OF ORDER >>>>

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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 a566f14 (cherry-pick of 2e121b3)

Affected File(s)

Range Diff

Click to expand
--- Original (2e121b36)
+++ Backport (a566f14f)
@@ -7,3 +7,9 @@
 Fixes : https://tracker.ceph.com/issues/69082
 
 Signed-off-by: Jaya Prakash <[email protected]>
+(cherry picked from commit 2e121b360c729c2bcd85850b12508e7dd767d611)
+
+Conflicts:
+	src/mon/PGMap.cc
+          - Minor conflict due to addition of line above the change in
+            tentacle.

================================================================================
RANGE DIFF
================================================================================

1:  2e121b360c72 ! 1:  a566f14f13f5 mon: Integrate discard queue overflow into pg health warnings
    @@ Commit message
         Fixes : https://tracker.ceph.com/issues/69082
     
         Signed-off-by: Jaya Prakash <[email protected]>
    +    (cherry picked from commit 2e121b360c729c2bcd85850b12508e7dd767d611)
    +
    +    Conflicts:
    +            src/mon/PGMap.cc
    +              - Minor conflict due to addition of line above the change in
    +                tentacle.
     
      ## src/mon/PGMap.cc ##
     @@ src/mon/PGMap.cc: void PGMap::get_health_checks(
    -         summary += " experiencing stalled read in wal device of BlueFS";
    -       } else if (asum.first == "DB_DEVICE_STALLED_READ_ALERT") {
              summary += " experiencing stalled read in db device of BlueFS";
    +       } else if (asum.first == "EXTBLKDEV") {
    +         summary += " reporting problems with ExtBlkDev plugin";
     +      } else if (asum.first.find("_DISCARD_QUEUE") != std::string::npos) {
     +	for (auto str : asum.second.second) {
     +	  summary += str;

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.

@batrick

batrick commented Sep 21, 2026

Copy link
Copy Markdown
Member

@badone somehow your cherry-pick was done out-of-order. Can you fix that please?

Added a health warning mechanism to monitor the discard queue for potential overload
Emits a warning if the accumulated discarded bytes in the queue exceed the configured threshold
Introduced a debugging tool to simulate slow discard operations by adding a configurable delay

Fixes : https://tracker.ceph.com/issues/69082

Signed-off-by: Jaya Prakash <[email protected]>
(cherry picked from commit 94168dc)
…leep options

Added a health warning mechanism to monitor the discard queue for potential overload
Emits a warning if the accumulated discarded bytes in the queue exceed the configured threshold
Introduced a debugging tool to simulate slow discard operations by adding a configurable delay

Fixes : https://tracker.ceph.com/issues/69082

Signed-off-by: Jaya Prakash <[email protected]>
(cherry picked from commit f66280b)
Added a health warning mechanism to monitor the discard queue for potential overload
Emits a warning if the accumulated discarded bytes in the queue exceed the configured threshold
Introduced a debugging tool to simulate slow discard operations by adding a configurable delay

Fixes : https://tracker.ceph.com/issues/69082

Signed-off-by: Jaya Prakash <[email protected]>
(cherry picked from commit 2e121b3)

 Conflicts:
	src/mon/PGMap.cc
          - Minor conflict due to addition of line above the change in
                      tentacle.
Signed-off-by: Jaya Prakash <[email protected]>
(cherry picked from commit 29b9d11)
@badone
badone force-pushed the wip-badone-tracker-69082-tentacle-backport branch from a566f14 to 0cda0b1 Compare September 21, 2026 23:51
@badone

badone commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

/audit retest

@github-actions

Copy link
Copy Markdown

🔄 Audit Retest Triggered by @badone.

View workflow run

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ceph Release Engineering Audit Report

Commit Parity Visualizer

BACKPORT PR #71602 SOURCE PR SOURCE STATUS
a4369e4 blk:Warning added for discard queue overflow PR #61286 94168dc blk:Warning added for discard queue overflow
660de24 common/options: Added bdev_discard_max_bytes and bdev_debug_discard_sleep options f66280b common/options: Added bdev_discard_max_bytes and bdev_debug_discard_sleep options
880a6c8 mon: Integrate discard queue overflow into pg health warnings 2e121b3 mon: Integrate discard queue overflow into pg health warnings
0cda0b1 Minor cleanup to ensure make check passes 29b9d11 Minor cleanup to ensure make check passes

Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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 880a6c8 (cherry-pick of 2e121b3)

Affected File(s)

Range Diff

Click to expand
--- Original (2e121b36)
+++ Backport (880a6c8b)
@@ -7,3 +7,9 @@
 Fixes : https://tracker.ceph.com/issues/69082
 
 Signed-off-by: Jaya Prakash <[email protected]>
+(cherry picked from commit 2e121b360c729c2bcd85850b12508e7dd767d611)
+
+ Conflicts:
+	src/mon/PGMap.cc
+          - Minor conflict due to addition of line above the change in
+                      tentacle.

================================================================================
RANGE DIFF
================================================================================

1:  2e121b360c7 ! 1:  880a6c8b1fb mon: Integrate discard queue overflow into pg health warnings
    @@ Commit message
         Fixes : https://tracker.ceph.com/issues/69082
     
         Signed-off-by: Jaya Prakash <[email protected]>
    +    (cherry picked from commit 2e121b360c729c2bcd85850b12508e7dd767d611)
    +
    +     Conflicts:
    +            src/mon/PGMap.cc
    +              - Minor conflict due to addition of line above the change in
    +                          tentacle.
     
      ## src/mon/PGMap.cc ##
     @@ src/mon/PGMap.cc: void PGMap::get_health_checks(
    -         summary += " experiencing stalled read in wal device of BlueFS";
    -       } else if (asum.first == "DB_DEVICE_STALLED_READ_ALERT") {
              summary += " experiencing stalled read in db device of BlueFS";
    +       } else if (asum.first == "EXTBLKDEV") {
    +         summary += " reporting problems with ExtBlkDev plugin";
     +      } else if (asum.first.find("_DISCARD_QUEUE") != std::string::npos) {
     +	for (auto str : asum.second.second) {
     +	  summary += str;

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 21, 2026
@badone

badone commented Sep 22, 2026

Copy link
Copy Markdown
Contributor Author

@batrick done, but why is it flagged for a conflict that I documented?

@batrick

batrick commented Sep 23, 2026

Copy link
Copy Markdown
Member

@batrick done, but why is it flagged for a conflict that I documented?

The audit will always fail if there are conflicts. The conflicts need to be reviewed and an override added.

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 23, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 9208ed9 into ceph:tentacle Sep 23, 2026
17 checks passed
@Jayaprakash-ibm

Copy link
Copy Markdown
Contributor

This is a cleanup change to simplify the health summary #68353
I think we should also backport this
cc: @aclamk

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.

6 participants