mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
e0c2a9aa1e
This new method of managing recovery is an alternative to the previous approach of using the userland gfs_controld. - use dlm slot numbers to assign journal id's - use dlm recovery callbacks to initiate journal recovery - use a dlm lock to determine the first node to mount fs - use a dlm lock to track journals that need recovery Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
25 lines
659 B
C
25 lines
659 B
C
/*
|
|
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
|
|
* Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
|
|
*
|
|
* This copyrighted material is made available to anyone wishing to use,
|
|
* modify, copy, or redistribute it subject to the terms and conditions
|
|
* of the GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef __SYS_DOT_H__
|
|
#define __SYS_DOT_H__
|
|
|
|
#include <linux/spinlock.h>
|
|
struct gfs2_sbd;
|
|
|
|
int gfs2_sys_fs_add(struct gfs2_sbd *sdp);
|
|
void gfs2_sys_fs_del(struct gfs2_sbd *sdp);
|
|
|
|
int gfs2_sys_init(void);
|
|
void gfs2_sys_uninit(void);
|
|
|
|
int gfs2_recover_set(struct gfs2_sbd *sdp, unsigned jid);
|
|
|
|
#endif /* __SYS_DOT_H__ */
|
|
|