search for: cc_name

Displaying 10 results from an estimated 10 matches for "cc_name".

Did you mean: lc_name
2013 Sep 06
1
[PATCH 1/6] Add dlm operations placeholders
...ection *conn) { dlm_lockspace_t *fsdlm; struct ocfs2_live_connection *uninitialized_var(control); - int rc = 0; + int rc = 0, ops_rv; BUG_ON(conn == NULL); @@ -828,12 +848,18 @@ static int user_cluster_connect(struct ocfs2_cluster_connection *conn) } rc = dlm_new_lockspace(conn->cc_name, NULL, DLM_LSFL_FS, DLM_LVB_LEN, - NULL, NULL, NULL, &fsdlm); + &ocfs2_ls_ops, conn, &ops_rv, &fsdlm); if (rc) { ocfs2_live_connection_drop(control); goto out; } + if (ops_rv < 0) { + printk(KERN_ERR "ocfs2: dlm lockspace ops could not be used....
2009 Jun 24
0
[STABLE, 2.6.30.x] ocfs2: Fix ocfs2_osb_dump()
...osb->s_mount_opt, osb->s_atime_quantum); - out += snprintf(buf + out, len - out, - "%10s => Stack: %s Name: %*s Version: %d.%d\n", - "Cluster", - (*osb->osb_cluster_stack == '\0' ? - "o2cb" : osb->osb_cluster_stack), - cconn->cc_namelen, cconn->cc_name, - cconn->cc_version.pv_major, cconn->cc_version.pv_minor); + if (cconn) { + out += snprintf(buf + out, len - out, + "%10s => Stack: %s Name: %*s " + "Version: %d.%d\n", "Cluster", + (*osb->osb_cluster_stack == '\0...
2012 Sep 06
2
[LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
....py", line 1288, in run_test report = run_test(nick, opts, None, report_dir) File "/home/sean/pg/others/llvm/lnt/lnt/tests/nt.py", line 645, in run_test target_flags) File "/home/sean/pg/others/llvm/lnt/lnt/testing/util/compilers.py", line 82, in get_cc_info cc_name,cc_version_num,cc_build_string,cc_extra = m.groups() AttributeError: 'NoneType' object has no attribute 'groups' I took a look at the code and basically it's doing some nasty ad-hoc regex parsing to try to figure out the compiler version and when the regex doesn't match, th...
2012 Sep 06
0
[LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
...est > report = run_test(nick, opts, None, report_dir) > File "/home/sean/pg/others/llvm/lnt/lnt/tests/nt.py", line 645, in run_test > target_flags) > File "/home/sean/pg/others/llvm/lnt/lnt/testing/util/compilers.py", > line 82, in get_cc_info > cc_name,cc_version_num,cc_build_string,cc_extra = m.groups() > AttributeError: 'NoneType' object has no attribute 'groups' > > I took a look at the code and basically it's doing some nasty ad-hoc > regex parsing to try to figure out the compiler version and when the > reg...
2012 Sep 06
1
[LLVMdev] LNT: failing to parse compiler info: what am I doing wrong?
...= run_test(nick, opts, None, report_dir) >> File "/home/sean/pg/others/llvm/lnt/lnt/tests/nt.py", line 645, in run_test >> target_flags) >> File "/home/sean/pg/others/llvm/lnt/lnt/testing/util/compilers.py", >> line 82, in get_cc_info >> cc_name,cc_version_num,cc_build_string,cc_extra = m.groups() >> AttributeError: 'NoneType' object has no attribute 'groups' >> >> I took a look at the code and basically it's doing some nasty ad-hoc >> regex parsing to try to figure out the compiler version and w...
2009 Jun 19
6
[PATCH 1/5] ocfs2: Pin journal head before accessing jh->b_committed_data
This patch adds jbd_lock_bh_state() and jbd_unlock_bh_state() around accessses to jh->b_committed_data. Fixes oss bugzilla#1131 http://oss.oracle.com/bugzilla/show_bug.cgi?id=1131 Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com> --- fs/ocfs2/suballoc.c | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/suballoc.c
2009 Jul 06
1
lvb length issue [was Re: [ocfs2-tools-devel] question of ocfs2_controld (Jun 27)]
..._USER_LVB_LEN is defined to 32. When mounting an ocfs2 volume, ocfs2 code calls dlm_new_lockspace directly. Which is in fs/ocfs2/stack_user.c:user_cluster_connect(): 814 static int user_cluster_connect(struct ocfs2_cluster_connection *conn) 815 { ... ... 842 rc = dlm_new_lockspace(conn->cc_name, strlen(conn->cc_name), 843 &fsdlm, DLM_LSFL_FS, DLM_LVB_LEN); ... ... 853 } DLM_LVB_LEN is 64. When mkfs.ocfs2 tries to operate on a mounted-already ocfs2 volume, mkfs.ocfs2 calls libdlm routin and tries to create a lockspace with 32byte lvb length. The lvb l...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to
2008 Sep 11
4
Some more debug stuff
Added two debugfs entries... one to dump o2hb livenodes and the other to dump osb. $ cat /sys/kernel/debug/ocfs2/BC4F4550BEA74F92BDCC746AAD2EC0BF/fs_state Device => Id: 8,65 Uuid: BC4F4550BEA74F92BDCC746AAD2EC0BF Gen: 0xA02024F2 Label: sunil-xattr Volume => State: 1 Flags: 0x0 Sizes => Block: 4096 Cluster: 4096 Features => Compat: 0x1 Incompat: 0x350 ROcompat: 0x1
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi, The following patches comprise the bulk of Ocfs2 updates for the 2.6.30 merge window. Aside from larger, more involved fixes, we're adding the following features, which I will describe in the order their patches are mailed. Sunil's exported some more state to our debugfs files, and consolidated some other aspects of our debugfs infrastructure. This will further aid us in debugging