mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:46:53 +07:00
cbe0e331fd
Unlike ocfs2, dlmfs has no permanent storage. It can't store off a cluster stack it is supposed to be using. So it can't specify the stack name in ocfs2_cluster_connect(). Instead, we create ocfs2_cluster_connect_agnostic(), which simply uses the stack that is currently enabled. This is find for dlmfs, which will rely on the stack initialization. We add the "stackglue" capability to dlmfs's capability list. This lets userspace know dlmfs can be used with all cluster stacks. Signed-off-by: Joel Becker <joel.becker@oracle.com>
33 lines
959 B
C
33 lines
959 B
C
/* -*- mode: c; c-basic-offset: 8; -*-
|
|
* vim: noexpandtab sw=8 ts=8 sts=0:
|
|
*
|
|
* ocfs2_lockingver.h
|
|
*
|
|
* Defines OCFS2 Locking version values.
|
|
*
|
|
* Copyright (C) 2008 Oracle. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public
|
|
* License, version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*/
|
|
|
|
#ifndef OCFS2_LOCKINGVER_H
|
|
#define OCFS2_LOCKINGVER_H
|
|
|
|
/*
|
|
* The protocol version for ocfs2 cluster locking. See dlmglue.c for
|
|
* more details.
|
|
*
|
|
* 1.0 - Initial locking version from ocfs2 1.4.
|
|
*/
|
|
#define OCFS2_LOCKING_PROTOCOL_MAJOR 1
|
|
#define OCFS2_LOCKING_PROTOCOL_MINOR 0
|
|
|
|
#endif /* OCFS2_LOCKINGVER_H */
|