Searched hist:"0016 eedc4185a3cd7e578b027a6e69001b85d6c4" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/fs/ocfs2/dlmfs/ |
H A D | userdlm.h | diff 0016eedc4185a3cd7e578b027a6e69001b85d6c4 Sat Jan 30 06:33:50 CST 2010 Joel Becker <joel.becker@oracle.com> ocfs2_dlmfs: Use the stackglue.
Rather than directly using o2dlm, dlmfs can now use the stackglue. This allows it to use userspace cluster stacks and fs/dlm. This commit forces o2cb for now. A latter commit will bump the protocol version and allow non-o2cb stacks.
This is one big sed, really. LKM_xxMODE becomes DLM_LOCK_xx. LKM_flag becomes DLM_LKF_flag.
We also learn to check that the LVB is valid before reading it. Any DLM can lose the contents of the LVB during a complicated recovery. userdlm should be checking this. Now it does. dlmfs will return 0 from read(2) if the LVB was invalid.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
|
H A D | userdlm.c | diff 0016eedc4185a3cd7e578b027a6e69001b85d6c4 Sat Jan 30 06:33:50 CST 2010 Joel Becker <joel.becker@oracle.com> ocfs2_dlmfs: Use the stackglue.
Rather than directly using o2dlm, dlmfs can now use the stackglue. This allows it to use userspace cluster stacks and fs/dlm. This commit forces o2cb for now. A latter commit will bump the protocol version and allow non-o2cb stacks.
This is one big sed, really. LKM_xxMODE becomes DLM_LOCK_xx. LKM_flag becomes DLM_LKF_flag.
We also learn to check that the LVB is valid before reading it. Any DLM can lose the contents of the LVB during a complicated recovery. userdlm should be checking this. Now it does. dlmfs will return 0 from read(2) if the LVB was invalid.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
|
H A D | dlmfs.c | diff efd647f744f3cf504ed83580274bd4b6918139fe Tue Mar 30 00:21:31 CDT 2010 Tao Ma <tao.ma@oracle.com> ocfs2_dlmfs: User DLM_* when decoding file open flags.
In commit 0016eedc4185a3cd7e578b027a6e69001b85d6c4, we have changed dlmfs to use stackglue. So when use DLM* when we decode dlm flags from open level.
Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> diff 0016eedc4185a3cd7e578b027a6e69001b85d6c4 Sat Jan 30 06:33:50 CST 2010 Joel Becker <joel.becker@oracle.com> ocfs2_dlmfs: Use the stackglue.
Rather than directly using o2dlm, dlmfs can now use the stackglue. This allows it to use userspace cluster stacks and fs/dlm. This commit forces o2cb for now. A latter commit will bump the protocol version and allow non-o2cb stacks.
This is one big sed, really. LKM_xxMODE becomes DLM_LOCK_xx. LKM_flag becomes DLM_LKF_flag.
We also learn to check that the LVB is valid before reading it. Any DLM can lose the contents of the LVB during a complicated recovery. userdlm should be checking this. Now it does. dlmfs will return 0 from read(2) if the LVB was invalid.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
|