From: Nick Fisk Date: Thu, 22 Dec 2016 10:42:14 +0000 (+0000) Subject: doc: Update disk thread section to reflect that scrubbing is no longer done in the... X-Git-Tag: v12.0.0~337^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=babcd9cd010e5ebffc02cfd3b2893e6b9c849708;p=ceph.git doc: Update disk thread section to reflect that scrubbing is no longer done in the disk thread. Add options for scrub and trim priority Signed-off-by: Nick Fisk --- diff --git a/doc/rados/configuration/osd-config-ref.rst b/doc/rados/configuration/osd-config-ref.rst index a1ecc9cef845..b9c8abe9e752 100644 --- a/doc/rados/configuration/osd-config-ref.rst +++ b/doc/rados/configuration/osd-config-ref.rst @@ -424,6 +424,26 @@ recovery operations to ensure optimal performance during recovery. :Valid Range: 1-63 +``osd scrub priority`` + +:Description: The priority set for scrub operations. It is relative to + ``osd client op priority``. + +:Type: 32-bit Integer +:Default: ``5`` +:Valid Range: 1-63 + + +``osd snap trim priority`` + +:Description: The priority set for snap trim operations. It is relative to + ``osd client op priority``. + +:Type: 32-bit Integer +:Default: ``5`` +:Valid Range: 1-63 + + ``osd op thread timeout`` :Description: The Ceph OSD Daemon operation thread timeout in seconds. @@ -462,10 +482,9 @@ recovery operations to ensure optimal performance during recovery. operations. ``be`` is the default and is the same priority as all other threads in the OSD. ``rt`` means the disk thread will have precendence over all other - threads in the OSD. This is useful if scrubbing is much - needed and must make progress at the expense of client - operations. Note: Only works with the Linux Kernel CFQ - scheduler. + threads in the OSD. Note: Only works with the Linux Kernel + CFQ scheduler. Since Jewel scrubbing is no longer carried + out by the disk iothread, see osd priority options instead. :Type: String :Default: the empty string @@ -479,9 +498,8 @@ recovery operations to ensure optimal performance during recovery. host were in class ``idle`` and compete for I/O (i.e. due to controller congestion), it can be used to lower the disk thread priority of one OSD to 7 so that - another OSD with priority 0 can potentially scrub - faster. Note: Only works with the Linux Kernel CFQ - scheduler. + another OSD with priority 0 can have priority. + Note: Only works with the Linux Kernel CFQ scheduler. :Type: Integer in the range of 0 to 7 or -1 if not to be used. :Default: ``-1``