Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2394395

Summary: [GSS] ceph configuration option bdev_async_discard is removed
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Bipin Kunal <bkunal>
Component: RADOSAssignee: Prashant Dhange <pdhange>
Status: CLOSED ERRATA QA Contact: Pawan <pdhiran>
Severity: high Docs Contact:
Priority: high    
Version: 8.1CC: bhubbard, ceph-eng-bugs, cephqe-warriors, nojha, pdhange, rzarzyns, vumrao
Target Milestone: ---   
Target Release: 9.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-20.1.0-46 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2394396 (view as bug list) Environment:
Last Closed: 2026-01-29 06:59:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2394396    

Description Bipin Kunal 2025-09-10 15:16:28 UTC
Description of problem - Provide a detailed description of the issue encountered, including logs/command-output snippets and screenshots if the issue is observed in the UI:

Recently, we started deploying and upgrading our clusters to OCP 4.18.21 and ODF version 4.18.9.

Normally, we run these 2 commands after installing ODF via the ceph-toolbox POD:

$ oc -n openshift-storage exec ${TOOLS_POD} – ceph config set osd.${OSD} bdev_enable_discard true
$ oc -n openshift-storage exec ${TOOLS_POD} – ceph config set osd.${OSD} bdev_async_discard true

This is also described in your KB https://access.redhat.com/solutions/6975295

However, the second command for the bdev_async_discard-parameter trows an error now:

$ oc exec -it rook-ceph-tools-695fddf56d-9xr29 – ceph config set osd.0 bdev_async_discard true
Error EINVAL: unrecognized config option 'bdev_async_discard'
command terminated with exit code 22

The OCP platform infrastructure and deployment type (AWS, Bare Metal, VMware, etc. Please clarify if it is platform agnostic deployment), (IPI/UPI):

VMware

The ODF deployment type (Internal, External, Internal-Attached (LSO), Multicluster, DR, Provider, etc):

Internal




The version of all relevant components (OCP, ODF, RHCS, ACM whichever is applicable):




ODF version 4.18.9 seems to be running this Ceph version:

ceph version 19.2.1-245.el9cp (45227ca7204586f8ebf0c2f98931aa70f5778f3c) squid (stable)

Does this issue impact your ability to continue to work with the product?




This issue might be blocking our upgrade towarde OCP 4.18 and ODF 4.18

Is there any workaround available to the best of your knowledge?

we will use bdev_async_discard_thread instead of using bdev_async_discard. 

The setting bdev_async_discard_threads is a global setting, not one on the OSDs

—
sh-5.1$ ceph config set global bdev_async_discard_threads 1
sh-5.1$ ceph config dump
WHO                                              MASK  LEVEL     OPTION                                 VALUE                               RO
global                                                 advanced  bdev_async_discard_threads             1

—

Can this issue be reproduced? If so, please provide the hit rate

NA




Can this issue be reproduced from the UI?

NA

If this is a regression, please provide more details to justify this:

NA

Actual results:

This bug exactly describes this issue:
https://tracker.ceph.com/issues/70327




Expected results:




Logs collected and log location in supportshell:

<hostname>/04244496

drwxrwxrwx+ 3 yank yank 59 Sep  3 12:50 0010-must-gather-tc01.tgz
drwxrwxrwx+ 3 yank yank 59 Sep  3 13:22 0020-odf-must-gather-tc01.tgz

Additional info:

Comment 7 errata-xmlrpc 2026-01-29 06:59:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2026:1536