search for: ocfs2_cluster_lock

Displaying 20 results from an estimated 36 matches for "ocfs2_cluster_lock".

Did you mean: ocfs2_cluster_unlock
2009 May 07
3
[PATCH] ocfs2_cluster_lock: code cleanup for redundant assignment
In fs/ocfs2/dlmglue.c:ocfs2_cluster_lock(), after label 'out:' the code is: 1373 if (wait && arg_flags & OCFS2_LOCK_NONBLOCK && 1374 mw.mw_mask & (OCFS2_LOCK_BUSY|OCFS2_LOCK_BLOCKED)) { 1375 wait = 0; 1376 if (lockres_remove_mask_waiter(lockres, &mw))...
2009 Apr 15
1
hang with fsdlm
...cv/3] worker_thread 3060 S< [dlm_send] worker_thread 3061 S< [dlm_recoverd] dlm_recoverd 3067 S< [kjournald2] kjournald2 3068 S< [ocfs2cmt] ocfs2_commit_thread 3082 D+ /usr/bin/perl /root/make_pa ocfs2_cluster_lock make_panic D 0000000000000002 0 3082 3021 ffff8801360f1a38 0000000000000046 ffffffffa0240b08 ffff88013703ea40 ffff88013eb877f8 0000000000004000 00000000001d0a80 000000000000cb10 0000000000000000 ffffffffa0240af0 ffff88013703ea40 ffff88007ffee340 Call Trace: [<ffffffffa022bdbf>]...
2009 Jun 02
10
[PATCH 0/7] [RESEND] Fix some deadlocks in quota code and implement lockdep for cluster locks
Hi, I'm resending this patch series. It's rediffed against linux-next branch of Joel's git tree. The first four patches are obvious fixes of deadlocks in quota code and should go in as soon as possible. The other three patches implement lockdep support for OCFS2 cluster locks. So you can have a look whether the code make sence to you and possibly merge them. They should be NOP when
2007 Dec 03
2
errors ocfs2 with Ubuntu/Dapper/amd64
...it? Nov 29 01:19:14 <hostname> kernel: [221867.166529] (11588,0):ocfs2_lock_create:818 ERROR: Dlm error "DLM_IVLOCKID" while calling dlmlock on resource M000000000000000593c7cc33386710: bad lockid Nov 29 01:19:14 <hostname> kernel: [221867.181570] (11588,0):ocfs2_cluster_lock:966 ERROR: status = -22 Nov 29 01:19:14 <hostname> kernel: [221867.188321] (11588,0):ocfs2_meta_lock_full:1612 ERROR: status = -22 Nov 29 01:19:14 <hostname> kernel: [221867.195289] (11588,0):ocfs2_inode_revalidate:1051 ERROR: status = -22 Nov 29 01:19:14 <hostname&g...
2011 May 26
5
[PATCH 0/4] ocfs2: bugfix for hard readonly mount
...oops when umount ocfs2 on hard readonly device. Because ocfs2_dismount_volume() will call ocfs2_cluster_hangup() and then call ocfs2_stack_driver_put(), will hit BUG_ON(active_stack == NULL). patch 2 fix oops when do ls or cat in ocfs2 on hard readonly device. Because ocfs2_open_lock() will call ocfs2_cluster_lock() and then call ocfs2_dlm_lock(), but active_stack is NULL. patch 3 fix bug of http://oss.oracle.com/bugzilla/show_bug.cgi?id=1322 ocfs2_statfs, ocfs2_fiemap, ocfs2_get_acl, ocfs2_listxattr and ocfs2_xattr_get need ocfs2_inode_lock to get dinode buffer head, but on hard readonly mount, they did...
2010 Dec 09
2
servers blocked on ocfs2
...) at 192.168.1.2:7777 Dec 4 09:15:11 heraclito kernel: (snmpd,16452,5):dlm_send_remote_convert_request:393 ERROR: dlm status = DLM_IVLOCKID Dec 4 09:15:11 heraclito kernel: (snmpd,16452,5):dlmconvert_remote:327 ERROR: dlm status = DLM_IVLOCKID Dec 4 09:15:11 heraclito kernel: (snmpd,16452,5):ocfs2_cluster_lock:1258 ERROR: DLM error DLM_IVLOCKID while calling dlmlock on resource M00000000000 0000000000b6f931666: bad lockid Dec 4 09:15:11 heraclito kernel: (snmpd,16452,5):ocfs2_inode_lock_full:2121 ERROR: status = -22 Dec 4 09:15:11 heraclito kernel: (snmpd,16452,5):_ocfs2_statfs:1266 ERROR: status =...
2007 Jul 25
4
Problem installing on RH3 U8
Hi, i dont seem to be able to get ocfs running on RH3 U8 32Bit [root@libra-devb-db1 root]# uname -a Linux devb-db1.mydomain 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 athlon i386 GNU/Linux [root@devb-db1 root]# cat /etc/redhat-release Red Hat Enterprise Linux AS release 3 (Taroon Update 8) [root@devb-db1 root]# rpm -ivh ocfs-2.4.21-EL-smp-1.0.14-1.i686.rpm Preparing...
2009 Jun 04
2
[PATCH 0/2] OCFS2 lockdep support
Hi, here comes the next version of OCFS2 lockdep support. I've dropped patches with fixes from the series since they were already merged. As Joel suggested, I've simplified the main patch a bit so that we don't have ifdefs around lock declarations and there are also a few other minor improvements. Honza
2006 Nov 03
2
Newbie questions -- is OCFS2 what I even want?
Dear Sirs and Madams, I run a small visual effects production company, Hammerhead Productions. We'd like to have an easily extensible inexpensive relatively high-performance storage network using open-source components. I was hoping that OCFS2 would be that system. I have a half-dozen 2 TB fileservers I'd like the rest of the network to see as a single 12 TB disk, with the aggregate
2009 Apr 20
2
BUG: soft lockup - CPU#1 stuck for 61s
...1 fan Apr 20 17:31:52 um-fe-1 thermal_sys Apr 20 17:31:52 um-fe-1 Apr 20 17:31:52 um-fe-1 [ 9123.585958] Pid: 4614, comm: awstats.pl Not tainted 2.6.26-2-amd64 #1 Apr 20 17:31:52 um-fe-1 [ 9123.585958] RIP: 0010:[<ffffffffa032b0ca>] Apr 20 17:31:52 um-fe-1 [<ffffffffa032b0ca>] :ocfs2:ocfs2_cluster_lock+0x87/0x73a Apr 20 17:31:52 um-fe-1 [ 9123.585958] RSP: 0018:ffff81001fd81af8 EFLAGS: 00000282 Apr 20 17:31:52 um-fe-1 [ 9123.585958] RAX: ffffffffa036ff60 RBX: ffff81003180a858 RCX: 0000000000000000 Apr 20 17:31:52 um-fe-1 [ 9123.585958] RDX: 0000000000000003 RSI: ffff81003180a858 RDI: ffff81001fd8...
2009 Jun 22
1
Orphan Scan - v3
Patch 5 has been respun with the recommended change... remove the ex argument in ocfs2_orphan_scan_lock() and ocfs2_orphan_scan_unlock(). Sunil
2009 Jun 18
3
[PATCH 0/2] orphan lock fixes for local mode.
Hi Joel/Srini, Here are 2 patches for orphan lock in local mode. patch 1: In local mode, we don't need lvb, so don't init it. patch 2: In local mode, orphan lock and unlock don't need to go to dlm part. Regards, Tao
2009 Feb 26
1
[PATCH 0/7] OCFS2 locking fixes and lockdep annotations
Hi, the first four patches in this series fix locking problems in OCFS2 quota code (three of them can lead to potential deadlocks). The fifth patch reorders ip_alloc_sem for directories to be acquired before localalloc locks. Mark would you please merge these? The last two patches implement lockdep annotations for OCFS2 cluster locks. We annotate all the cluster locks except for special ones
2008 Oct 23
2
[PATCH 1/1] OCFS2: fix for nfs getting stale inode.
...u64 blkno, int ex) +{ + int status; + int level = ex ? LKM_EXMODE : LKM_PRMODE; + struct ocfs2_lock_res *lockres; + + if (ocfs2_is_hard_readonly(osb)) + return -EROFS; + + if (ocfs2_mount_local(osb)) + return 0; + + lockres = &osb->osb_dealloc_lockres[blkno % OCFS2_DEALLOC_NR]; + status = ocfs2_cluster_lock(osb, lockres, level, 0, NULL, 0); + if (status < 0) + mlog_errno(status); + + return status; +} + +void ocfs2_dealloc_unlock(struct ocfs2_super *osb, u64 blkno, int ex) +{ + struct ocfs2_lock_res *lockres; + int level = ex ? LKM_EXMODE : LKM_PRMODE; + + lockres = &osb->osb_dealloc_lockre...
2009 Jun 04
3
Patches that adds delayed orphan scan timer (rev 3)
Resending after implementing review comments.
2009 Jun 02
3
Patches that adds delayed orphan scan timer (rev 2)
Resending after implementing review comments.
2009 Jun 02
3
Patches that adds delayed orphan scan timer
Resending after adding another patch to display delayed orphan scan statistics.
2009 May 19
2
[PATCH 1/1] OCFS2: timer to queue scan of all orphan slots
..._inode_unlock(struct inode *inode, mlog_exit_void(); } +int ocfs2_orphan_scan_lock(struct ocfs2_super *osb, int ex) +{ + int status = 0; + int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; + struct ocfs2_lock_res *lockres; + + lockres = &osb->osb_delayed_orphan_scan->ds_lockres; + status = ocfs2_cluster_lock(osb, lockres, level, 0, 0); + return status; +} + +void ocfs2_orphan_scan_unlock(struct ocfs2_super *osb, int ex) +{ + int level = ex ? DLM_LOCK_EX : DLM_LOCK_PR; + struct ocfs2_lock_res *lockres; + + lockres = &osb->osb_delayed_orphan_scan->ds_lockres; + ocfs2_cluster_unlock(osb, lockre...
2009 Mar 03
3
[PATCH 1/1] OCFS2: anti stale inode for nfs (V6)
...r_unlock(osb, lockres, DLM_LOCK_EX); } +int ocfs2_nfs_sync_lock(struct ocfs2_super *osb, int ex) +{ + int status; + struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync_lockres; + + if (ocfs2_is_hard_readonly(osb)) + return -EROFS; + + if (ocfs2_mount_local(osb)) + return 0; + + status = ocfs2_cluster_lock(osb, lockres, ex?LKM_EXMODE:LKM_PRMODE, 0, + 0); + if (status < 0) + mlog(ML_ERROR, "lock on nfs sync lock failed %d\n", status); + + return status; +} + +void ocfs2_nfs_sync_unlock(struct ocfs2_super *osb, int ex) +{ + struct ocfs2_lock_res *lockres = &osb->osb_nfs_sync...
2009 Jun 19
6
Orphan scan fixes - V2
Implemented the suggestions. Also, moved the ocfs2_orphan_scan_init() to the end of ocfs2_fill_super() instead of calling it earlier in ocfs2_initialize_super(). Sunil