Skip to content

Commit 4ae47bd

Browse files
committed
common: add discard threads option, descriptions and flags
Signed-off-by: Matt Vandermeulen <[email protected]>
1 parent 2b11aa3 commit 4ae47bd

File tree

1 file changed

+26
-2
lines changed

1 file changed

+26
-2
lines changed

src/common/options/global.yaml.in

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4000,15 +4000,39 @@ options:
40004000
default: false
40014001
with_legacy: true
40024002
- name: bdev_enable_discard
4003+
desc: send discards to the block device
40034004
type: bool
40044005
level: advanced
40054006
default: false
40064007
with_legacy: true
4008+
flags:
4009+
- runtime
4010+
see_also:
4011+
- bdev_async_discard
4012+
- bdev_async_discard_threads
40074013
- name: bdev_async_discard
4008-
type: bool
4014+
desc: send discards to the block device in one or more threads
4015+
type: uint
40094016
level: advanced
40104017
default: false
4011-
with_legacy: true
4018+
with_legacy: false
4019+
flags:
4020+
- runtime
4021+
see_also:
4022+
- bdev_enable_discard
4023+
- bdev_async_discard_threads
4024+
- name: bdev_async_discard_threads
4025+
desc: number of discard threads used to issue discards to the device
4026+
type: uint
4027+
level: advanced
4028+
default: 1
4029+
min: 1
4030+
with_legacy: false
4031+
flags:
4032+
- runtime
4033+
see_also:
4034+
- bdev_enable_discard
4035+
- bdev_async_discard
40124036
- name: bdev_flock_retry_interval
40134037
type: float
40144038
level: advanced

0 commit comments

Comments
 (0)