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: v19.2.1~102^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1239568e18f5f46e0e17910c520febbadb60418e;p=ceph.git common: add discard threads option, descriptions and flags Signed-off-by: Matt Vandermeulen (cherry picked from commit 4ae47bd7af6f6e1c4218c3e84db438dc0a9c404b) --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 51c8c0acfd7..9d2b0f8d379 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -4015,15 +4015,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