Displaying 1 result from an estimated 1 matches for "create_lockspace".
2009 Jul 06
1
lvb length issue [was Re: [ocfs2-tools-devel] question of ocfs2_controld (Jun 27)]
...) to
>> mkfs.ocfs2 when formating a mounted-by-other-node ocfs2 volume.
>
> Can't fs/dlm take multiple LVB sizes?
>
In this case, it cannot.
During mkfs.ocfs2, libdlm gets called to create a new lockspace via ioctl
handler inside fs/dlm, which (indeed) is fs/dlm/user.c:device_create_lockspace():
404 static int device_create_lockspace(struct dlm_lspace_params *params)
... ...
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...