Re: Differences between default config values and docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 25, 2013 at 3:07 AM, Gregory Farnum <greg@xxxxxxxxxxx> wrote:
> On Sunday, February 24, 2013 at 2:59 PM, Andrey Korolyov wrote:
>> On Mon, Feb 25, 2013 at 2:49 AM, Gregory Farnum <greg@xxxxxxxxxxx (mailto:greg@xxxxxxxxxxx)> wrote:
>> > On Sunday, February 24, 2013 at 2:42 PM, Andrey Korolyov wrote:
>> > > On Mon, Feb 25, 2013 at 2:37 AM, Gregory Farnum <greg@xxxxxxxxxxx (mailto:greg@xxxxxxxxxxx)> wrote:
>> > > > On Sunday, February 24, 2013 at 1:48 PM, Andrey Korolyov wrote:
>> > > > > Hi,
>> > > > >
>> > > > > "filestore_queue_max_ops": "50",
>> > > > > "filestore_flusher": "true",
>> > > > >
>> > > > > Just checked that this options are set with values above instead of
>> > > > > config` 500 and 0 as mentioned in docs, and second option has an
>> > > > > observable performance impact when enabled.
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > Defaults get changed fairly often and I'm not sure when that doc was created — it was probably for argonaut. Sorry if it's causing you trouble!
>> > > >
>> > > >
>> > > > > Also there is some wild
>> > > > > magic, I`m not able to set bool value to the false at runtime, instead
>> > > > > of it, value dropped to true even if set to false at start of an osd
>> > > > > in config:
>> > > > >
>> > > > > ceph --keyfile admin osd tell \* injectargs "--filestore-flusher 0"
>> > > > >
>> > > > > 2013-02-25 01:17:29.255987 osd.14 [INF] failed to parse arguments: 0
>> > > > > 2013-02-25 01:17:29.256006 osd.14 [INF] applying configuration change:
>> > > > > filestore_flusher = 'true'
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > I don't remember if "0" is supposed to work in this case or not — but "false" should. Try that?
>> > > > -Greg
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > I have tried in different combinations, involving 0 and false, with
>> > > and without quotations, no success at all. Meanwhile, modifying any
>> > > integer value works well, so it is boolean-specific issue.
>> >
>> >
>> >
>> > What version are you using? I can't find the output you're citing anywhere in current master.
>>
>> Oh, sorry, forgot to add - 290a352c3f9e241deac562e980ac8c6a74033ba6
>> from bobtail branch, both binaries and running instances.
>
>
> Try
> ceph --keyfile admin osd tell \* injectargs "--filestore-flusher=0"
> (add the equals sign) and let me know if that works. Looks like maybe the boolean parser isn't accepting space-separated option/value pairs.

Tried, too :)

Equal sign in both cases of integer and bool results to

2013-02-25 03:08:32.449118 osd.0 [INF] ignoring empty injectargs
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux