From: Matt Vandermeulen Date: Thu, 8 Feb 2024 17:54:22 +0000 (-0400) Subject: common: add discard threads option, descriptions and flags X-Git-Tag: v20.0.0~2400^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4ae47bd7af6f6e1c4218c3e84db438dc0a9c404b;p=ceph.git common: add discard threads option, descriptions and flags Signed-off-by: Matt Vandermeulen --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 88c896f9026..6f255f9d576 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -4000,15 +4000,39 @@ 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 - type: bool + desc: send discards to the block device in one or more threads + type: uint level: advanced default: false - with_legacy: true + 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 - name: bdev_flock_retry_interval type: float level: advanced