diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2006-09-08 21:21:03 (GMT) |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-09-24 20:50:43 (GMT) |
commit | 379dfe9d0db99ed33fb089fcb9c07f5f92566e9e (patch) | |
tree | 8f04d8dbf97fa70d8f02fcbb037e7b318cd7143e /fs/ocfs2/cluster | |
parent | 80c05846f604bab6d61e9732c262420ee9f5f358 (diff) | |
download | linux-fsl-qoriq-379dfe9d0db99ed33fb089fcb9c07f5f92566e9e.tar.xz |
ocfs2: Hook rest of the file system into dentry locking API
Actually replace the vote calls with the new dentry operations. Make any
necessary adjustments to get the scheme to work.
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster')
-rw-r--r-- | fs/ocfs2/cluster/tcp_internal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/tcp_internal.h b/fs/ocfs2/cluster/tcp_internal.h index ff9e2e2..da42b51 100644 --- a/fs/ocfs2/cluster/tcp_internal.h +++ b/fs/ocfs2/cluster/tcp_internal.h @@ -44,11 +44,14 @@ * locking semantics of the file system using the protocol. It should * be somewhere else, I'm sure, but right now it isn't. * + * New in version 3: + * - Replace dentry votes with a cluster lock + * * New in version 2: * - full 64 bit i_size in the metadata lock lvbs * - introduction of "rw" lock and pushing meta/data locking down */ -#define O2NET_PROTOCOL_VERSION 2ULL +#define O2NET_PROTOCOL_VERSION 3ULL struct o2net_handshake { __be64 protocol_version; __be64 connector_id; |