From: Wido den Hollander <wido@42on.com>
To: Wido den Hollander <wido@pcextreme.nl>,
ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Default config value for osd_disk_thread_ioprio_class
Date: Wed, 29 Apr 2015 14:23:24 +0200 [thread overview]
Message-ID: <5540CD3C.4080409@42on.com> (raw)
In-Reply-To: <5540CA47.8010201@pcextreme.nl>
On 04/29/2015 02:10 PM, Wido den Hollander wrote:
> Hi,
>
> In the process of upgrading a cluster from Giant to Hammer I saw this
> on the OSD logs:
>
> 2015-04-29 14:02:37.015454 7f887875e900 -1 osd.456 43089
> set_disk_tp_priority(22) Invalid argument:
> osd_disk_thread_ioprio_class is but only the following values are
> allowed: idle, be or rt
>
> That is correct, since config_opts.h says:
>
> OPTION(osd_disk_thread_ioprio_class, OPT_STR, "") // rt realtime be
> best effort idle
>
> It's nothing bad, but it would be nicer if we got rid of it.
>
> What to do here? Allow "" as a config setting and then ignore it or
> set the default to rt, be or idle?
>
I see there actually is a check for it:
if (cct->_conf->osd_disk_thread_ioprio_class.empty() ||
cct->_conf->osd_disk_thread_ioprio_priority < 0)
return;
So empty() does not return True there while it should since the setting
is set to ""?
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Wido den Hollander
42on B.V.
Ceph trainer and consultant
Phone: +31 (0)20 700 9902
Skype: contact42on
next prev parent reply other threads:[~2015-04-29 12:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 12:10 Default config value for osd_disk_thread_ioprio_class Wido den Hollander
2015-04-29 12:23 ` Wido den Hollander [this message]
2015-04-29 16:49 ` Sage Weil
2015-04-29 18:55 ` Wido den Hollander
2015-05-05 6:46 ` Mykola Golub
2015-05-05 8:43 ` Wido den Hollander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5540CD3C.4080409@42on.com \
--to=wido@42on.com \
--cc=ceph-devel@vger.kernel.org \
--cc=wido@pcextreme.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.