]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "common: add discard threads option, descriptions and flags" wip-revert-pr59065
authorskanta <skanta@redhat.com>
Tue, 5 Nov 2024 10:51:41 +0000 (16:21 +0530)
committerskanta <skanta@redhat.com>
Tue, 5 Nov 2024 10:51:41 +0000 (16:21 +0530)
This reverts commit 1239568e18f5f46e0e17910c520febbadb60418e.
The commit was merged prematurely without testing.

Signed-off-by: Srinivasa Bharath Kanta <skanta@redhat.com>
src/common/options/global.yaml.in

index 91225413f2eb8ef93d4bcded0965885512ebf0ae..1b64b5da71772996e6b3c7eb71eca609ae43fb15 100644 (file)
@@ -4015,39 +4015,15 @@ options:
   default: false
   with_legacy: true
 - name: bdev_enable_discard
-  desc: send discards to the block device
   type: bool
   level: advanced
   default: false
   with_legacy: true
-  flags:
-  - runtime
-  see_also:
-  - bdev_async_discard
-  - bdev_async_discard_threads
 - name: bdev_async_discard
-  desc: send discards to the block device in one or more threads
-  type: uint
+  type: bool
   level: advanced
   default: false
-  with_legacy: false
-  flags:
-  - runtime
-  see_also:
-  - bdev_enable_discard
-  - bdev_async_discard_threads
-- name: bdev_async_discard_threads
-  desc: number of discard threads used to issue discards to the device
-  type: uint
-  level: advanced
-  default: 1
-  min: 1
-  with_legacy: false
-  flags:
-  - runtime
-  see_also:
-  - bdev_enable_discard
-  - bdev_async_discard
+  with_legacy: true
 - name: bdev_flock_retry_interval
   type: float
   level: advanced