Displaying 6 results from an estimated 6 matches for "stack_us".
Did you mean:
stack_sgs
2013 Sep 06
1
[PATCH 1/6] Add dlm operations placeholders
Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
---
fs/ocfs2/stack_user.c | 30 ++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
index 286edf1..1b18193 100644
--- a/fs/ocfs2/stack_user.c
+++ b/fs/ocfs2/stack_user.c
@@ -799,11 +799,31 @@ static int fs_protocol_compare(struct ocf...
2009 Jun 19
1
[PATCH] ocfs2: Provide the ocfs2_dlm_lvb_valid() stack API.
...mote this behavior.
We add a stack glue API ocfs2_dlm_lvb_valid(). It returns non-zero when
the LVB is valid. o2dlm will always return valid, while fs/dlm will
check VALNOTVALID.
Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
fs/ocfs2/stack_o2cb.c | 11 +++++++++++
fs/ocfs2/stack_user.c | 8 ++++++++
fs/ocfs2/stackglue.c | 13 +++++++------
fs/ocfs2/stackglue.h | 6 ++++++
4 files changed, 32 insertions(+), 6 deletions(-)
diff --git a/fs/ocfs2/stack_o2cb.c b/fs/ocfs2/stack_o2cb.c
index fcd120f..3f66137 100644
--- a/fs/ocfs2/stack_o2cb.c
+++ b/fs/ocfs2/stack_o2cb.c
@...
2009 Jun 24
0
[GIT PULL] ocfs2 updates for 2.6.31, take 2
...| 24 +++++++--
fs/ocfs2/file.c | 6 +-
fs/ocfs2/inode.c | 11 ++++
fs/ocfs2/journal.c | 43 +++++++++++-----
fs/ocfs2/journal.h | 2 +-
fs/ocfs2/namei.c | 15 ++++--
fs/ocfs2/ocfs2.h | 10 ++++
fs/ocfs2/stack_o2cb.c | 11 ++++
fs/ocfs2/stack_user.c | 8 +++
fs/ocfs2/stackglue.c | 13 +++--
fs/ocfs2/stackglue.h | 6 ++
fs/ocfs2/suballoc.c | 28 +++++++++--
fs/ocfs2/super.c | 69 ++++++++++++++-------------
fs/ocfs2/sysfile.c | 19 +++++++
include/linux/lockdep.h | 15 ++++++
17 files changed, 309 ins...
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
...cfs2/ocfs2_fs.h | 79 +++-
fs/ocfs2/ocfs2_lockid.h | 2 +-
fs/ocfs2/slot_map.c | 454 +++++++++++---
fs/ocfs2/slot_map.h | 32 +-
fs/ocfs2/stack_o2cb.c | 420 +++++++++++++
fs/ocfs2/stack_user.c | 883 +++++++++++++++++++++++++++
fs/ocfs2/stackglue.c | 568 +++++++++++++++++
fs/ocfs2/stackglue.h | 261 ++++++++
fs/ocfs2/suballoc.c | 103 +++-
fs/ocfs2/suballoc.h | 1 +...
2008 Jul 14
18
[git patches] Ocfs2 and Configfs updates for 2.6.27
...| 2 +-
fs/ocfs2/journal.c | 2 +-
fs/ocfs2/localalloc.c | 2 +-
fs/ocfs2/ocfs2.h | 12 ++
fs/ocfs2/ocfs2_fs.h | 2 +-
fs/ocfs2/stack_user.c | 19 +--
fs/ocfs2/super.c | 6 +-
include/linux/configfs.h | 4 +-
22 files changed, 390 insertions(+), 124 deletions(-)
Akinobu Mita (1):
ocfs2: use simple_read_from_buffer()
Coly Li (1):...
2009 Jul 06
1
lvb length issue [was Re: [ocfs2-tools-devel] question of ocfs2_controld (Jun 27)]
...412
413 error = dlm_new_lockspace(params->name, strlen(params->name),
414 &lockspace, params->flags, DLM_USER_LVB_LEN);
... ...
431 }
DLM_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...