ext4: Optimize ext4 DIO overwrites
[linux/fpc-iii.git] / fs / ocfs2 / heartbeat.h
blob5fedb2d35dc078e0d557290a25a1971365c3148e
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* -*- mode: c; c-basic-offset: 8; -*-
3 * vim: noexpandtab sw=8 ts=8 sts=0:
5 * heartbeat.h
7 * Function prototypes
9 * Copyright (C) 2002, 2004 Oracle. All rights reserved.
12 #ifndef OCFS2_HEARTBEAT_H
13 #define OCFS2_HEARTBEAT_H
15 void ocfs2_init_node_maps(struct ocfs2_super *osb);
17 void ocfs2_do_node_down(int node_num, void *data);
19 /* node map functions - used to keep track of mounted and in-recovery
20 * nodes. */
21 void ocfs2_node_map_set_bit(struct ocfs2_super *osb,
22 struct ocfs2_node_map *map,
23 int bit);
24 void ocfs2_node_map_clear_bit(struct ocfs2_super *osb,
25 struct ocfs2_node_map *map,
26 int bit);
27 int ocfs2_node_map_test_bit(struct ocfs2_super *osb,
28 struct ocfs2_node_map *map,
29 int bit);
31 #endif /* OCFS2_HEARTBEAT_H */