forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/fs/dlm/config.h
....@@ -1,18 +1,18 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /******************************************************************************
23 *******************************************************************************
34 **
45 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
56 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
67 **
7
-** This copyrighted material is made available to anyone wishing to use,
8
-** modify, copy, or redistribute it subject to the terms and conditions
9
-** of the GNU General Public License v.2.
108 **
119 *******************************************************************************
1210 ******************************************************************************/
1311
1412 #ifndef __CONFIG_DOT_H__
1513 #define __CONFIG_DOT_H__
14
+
15
+#define DEFAULT_BUFFER_SIZE 4096
1616
1717 struct dlm_config_node {
1818 int nodeid;
....@@ -33,6 +33,7 @@
3333 int ci_log_debug;
3434 int ci_log_info;
3535 int ci_protocol;
36
+ int ci_mark;
3637 int ci_timewarn_cs;
3738 int ci_waitwarn_us;
3839 int ci_new_rsb_count;
....@@ -47,6 +48,7 @@
4748 int dlm_config_nodes(char *lsname, struct dlm_config_node **nodes_out,
4849 int *count_out);
4950 int dlm_comm_seq(int nodeid, uint32_t *seq);
51
+void dlm_comm_mark(int nodeid, unsigned int *mark);
5052 int dlm_our_nodeid(void);
5153 int dlm_our_addr(struct sockaddr_storage *addr, int num);
5254