Hello Oleg,

On 6/22/07, Oleg Drokin <[EMAIL PROTECTED]> wrote:
Hello!

On Fri, Jun 22, 2007 at 03:57:54PM -0400, Jeff Blasius wrote:
> Is lustre 1.6 file locking (fcntl) capable? I am unable to create
> locks on our system. Can someone help me troubleshoot?

You need to mount with -o localflock (for local node consistent locking only)
When I do this I get...
Lustre: client 000001042141b800 umount complete
LustreError: 5995:0:(obd_mount.c:1910:lustre_fill_super()) Unable to
mount  (-22)
LustreError: Unknown option 'localflock', won't mount.
LustreError: 6023:0:(mgc_request.c:150:config_log_find()) can't get
log 00000100081c8800


or
-o flock for cluster-wide consistent locking.
Note this latest mode still has some problems that you might or might not fix.

This does mount, but gives the BUG below when using flock or fcntl. If
there are no simple fixes for these issues, would you recommend
applying a patch cocktail or rolling back to 1.4.x, given the current
state of 1.6.x?
Thank You,
           jeff

BUG: soft lockup detected on CPU#0!

Call Trace:
<IRQ>  [<ffffffff810af147>] softlockup_tick+0xdb/0xed
[<ffffffff8108eafd>] update_process_times+0x42/0x68
[<ffffffff810709fd>] smp_local_timer_interrupt+0x34/0x55
[<ffffffff81071105>] smp_apic_timer_interrupt+0x51/0x69
[<ffffffff81059ce6>] apic_timer_interrupt+0x66/0x70
<EOI>  [<ffffffff8105f8e1>] _spin_lock+0x7/0xf
 [<ffffffff882fd087>] :ptlrpc:lock_res_and_lock+0x87/0x8e
 [<ffffffff883006c1>] :ptlrpc:ldlm_lock_decref_internal+0x69/0x378
 [<ffffffff8831d847>] :ptlrpc:ldlm_process_flock_lock+0xea7/0x162a
 [<ffffffff88306302>] :ptlrpc:ldlm_resource_add_lock+0xa6/0x156
 [<ffffffff8831e7bc>] :ptlrpc:ldlm_flock_completion_ast+0x6f4/0x79e
 [<ffffffff88302c65>] :ptlrpc:ldlm_lock_enqueue+0x523/0x536
 [<ffffffff88300cc5>] :ptlrpc:__ldlm_handle2lock+0x2f5/0x354
 [<ffffffff8833167e>] :ptlrpc:lustre_swab_ldlm_reply+0x0/0x2b
 [<ffffffff88311f12>] :ptlrpc:ldlm_cli_enqueue_fini+0x7f1/0x918
[<ffffffff810848f8>] default_wake_function+0x0/0xe
 [<ffffffff882fd2fc>] :ptlrpc:ldlm_lock_remove_from_lru+0x74/0xe0
 [<ffffffff883126bb>] :ptlrpc:ldlm_cli_enqueue+0x682/0x722
[<ffffffff8844b5ac>] :lustre:ll_file_flock+0x437/0x4e1
 [<ffffffff8831e0c8>] :ptlrpc:ldlm_flock_completion_ast+0x0/0x79e
[<ffffffff8102f58e>] locks_remove_posix+0x93/0xc0
[<ffffffff8102372a>] filp_close+0x55/0x65
[<ffffffff8101d6a3>] sys_close+0x8c/0xc9
[<ffffffff8105911e>] system_call+0x7e/0x83




Bye,
    Oleg



--
Jeff Blasius / [EMAIL PROTECTED]
Phone: (203)432-9940  51 Prospect Rm. 011
High Performance Computing (HPC)
UNIX Systems Administrator, WorkStation Support (WSS)
Yale University Information Technology Services (ITS)

_______________________________________________
Lustre-discuss mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-discuss

Reply via email to