]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
10132: osd: tries to set ioprio when the config option is blank 3245/head
authorMykola Golub <mgolub@zhuzha.mirantis.lviv.net>
Tue, 23 Dec 2014 11:39:33 +0000 (13:39 +0200)
committerMykola Golub <mgolub@zhuzha.mirantis.lviv.net>
Tue, 23 Dec 2014 11:39:33 +0000 (13:39 +0200)
commitb41a739f686f34c40343f12c3e924f90f2fa8cf5
tree090f2b6b7c6565054d38281be3b20f111ff69931
parente1384afd5adc0b9e810c17a471eaf8d2fb9c3c03
10132: osd: tries to set ioprio when the config option is blank

According to documentation, ioprio params will only be used if both
osd disk thread ioprio class and osd disk thread ioprio priority are
set to a non default value.

So, add a proper check and do not generate "set_disk_tp_priority(22)
Invalid argument" warning for the default settings.
src/osd/OSD.cc