[Lustre-discuss] sync_journal

Kit Westneat kwestneat at ddn.com
Fri May 21 11:35:21 PDT 2010


I'm surprised you can't set this via conf_param. What parameter name did 
you try? Also, in bugzilla Nathan has patches to change conf_param 
syntax to match the {get,set,list}_param syntax so that it is easier to 
set permanent tunables.
> I'd think (without having tried it) that:
>
> lctl conf_param {fsname}.obdfilter.sync_journal=0
>    

That's the first one I tried :-) BTW, conf_param doesn't fail nicely. If 
you all are revisiting it, it would be nice to get some output on stderr 
that it's failed. Here is what it looks like:

[root at vm0 iosched]# lctl set_param obdfilter.*.sync_journal=0
obdfilter.lustre-OST0000.sync_journal=0
[root at vm0 iosched]# lctl conf_param lustre.obdfilter.sync_journal=0
[root at vm0 iosched]# dmesg |tail
LDISKFS-fs: mballoc enabled
LDISKFS-fs: mounted filesystem hdc with ordered data mode
Lustre: Filtering OBD driver; http://www.lustre.org/
Lustre: lustre-OST0000: new disk, initializing
Lustre: lustre-OST0000: Now serving lustre-OST0000 on /dev/hdc with 
recovery enabled
Lustre: 23279:0:(mds_lov.c:1167:mds_notify()) MDS lustre-MDT0000: add 
target lustre-OST0000_UUID
Lustre: 22906:0:(quota_master.c:1716:mds_quota_recovery()) Only 0/1 OSTs 
are active, abort quota recovery
Lustre: lustre-OST0000: received MDS connection from 0 at lo
Lustre: MDS lustre-MDT0000: lustre-OST0000_UUID now active, resetting 
orphans
Lustre: Ignoring unrecognized param 'obdfilter.sync_journal=0'

I also tried every other way that I could think of to do it. Are the 
conf_param patches scheduled to be in 1.8.4? You don't happen to have 
the ticket # handy do you?

Thanks,
Kit

-- 
---
Kit Westneat
kwestneat at datadirectnet.com
812-484-8485




More information about the lustre-discuss mailing list