]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "common: remove lingering bdev_async_discard option"
authorskanta <skanta@redhat.com>
Tue, 5 Nov 2024 10:50:59 +0000 (16:20 +0530)
committerskanta <skanta@redhat.com>
Tue, 5 Nov 2024 10:50:59 +0000 (16:20 +0530)
This reverts commit 519730b0b11124cad52e23f37bc1c5f059eaefdf.
The commit was merged prematurely without testing.

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

index 74bf403f09b0f7c2a20c3e022409194be6487d82..91225413f2eb8ef93d4bcded0965885512ebf0ae 100644 (file)
@@ -4023,18 +4023,31 @@ options:
   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
+  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: 0
-  min: 0
+  default: 1
+  min: 1
   with_legacy: false
   flags:
   - runtime
   see_also:
   - bdev_enable_discard
+  - bdev_async_discard
 - name: bdev_flock_retry_interval
   type: float
   level: advanced