xref: /linux/fs/ocfs2/cluster/ocfs2_heartbeat.h (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1328970deSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2*fa60ce2cSMasahiro Yamada /*
3a7f6a5fbSMark Fasheh  * ocfs2_heartbeat.h
4a7f6a5fbSMark Fasheh  *
5a7f6a5fbSMark Fasheh  * On-disk structures for ocfs2_heartbeat
6a7f6a5fbSMark Fasheh  *
7a7f6a5fbSMark Fasheh  * Copyright (C) 2002, 2004 Oracle.  All rights reserved.
8a7f6a5fbSMark Fasheh  */
9a7f6a5fbSMark Fasheh 
10a7f6a5fbSMark Fasheh #ifndef _OCFS2_HEARTBEAT_H
11a7f6a5fbSMark Fasheh #define _OCFS2_HEARTBEAT_H
12a7f6a5fbSMark Fasheh 
13a7f6a5fbSMark Fasheh struct o2hb_disk_heartbeat_block {
14a7f6a5fbSMark Fasheh 	__le64 hb_seq;
15a7f6a5fbSMark Fasheh 	__u8  hb_node;
16a7f6a5fbSMark Fasheh 	__u8  hb_pad1[3];
17a7f6a5fbSMark Fasheh 	__le32 hb_cksum;
18a7f6a5fbSMark Fasheh 	__le64 hb_generation;
190db638f4SMark Fasheh 	__le32 hb_dead_ms;
20a7f6a5fbSMark Fasheh };
21a7f6a5fbSMark Fasheh 
22a7f6a5fbSMark Fasheh #endif /* _OCFS2_HEARTBEAT_H */
23