Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
recovery.h File Reference
#include "incore.h"

Go to the source code of this file.

Functions

int gfs2_replay_read_block (struct gfs2_jdesc *jd, unsigned int blk, struct buffer_head **bh)
 
int gfs2_revoke_add (struct gfs2_sbd *sdp, u64 blkno, unsigned int where)
 
int gfs2_revoke_check (struct gfs2_sbd *sdp, u64 blkno, unsigned int where)
 
void gfs2_revoke_clean (struct gfs2_sbd *sdp)
 
int gfs2_find_jhead (struct gfs2_jdesc *jd, struct gfs2_log_header_host *head)
 
int gfs2_recover_journal (struct gfs2_jdesc *gfs2_jd, bool wait)
 
void gfs2_recover_func (struct work_struct *work)
 

Variables

struct workqueue_structgfs_recovery_wq
 

Function Documentation

int gfs2_find_jhead ( struct gfs2_jdesc jd,
struct gfs2_log_header_host head 
)

gfs2_find_jhead - find the head of a log : the journal : the log descriptor for the head of the log is returned here

Do a binary search of a journal and find the valid log entry with the highest sequence number. (i.e. the log head)

Returns: errno

Definition at line 263 of file recovery.c.

void gfs2_recover_func ( struct work_struct work)

Definition at line 451 of file recovery.c.

int gfs2_recover_journal ( struct gfs2_jdesc gfs2_jd,
bool  wait 
)

Definition at line 600 of file recovery.c.

int gfs2_replay_read_block ( struct gfs2_jdesc jd,
unsigned int  blk,
struct buffer_head **  bh 
)

Definition at line 32 of file recovery.c.

int gfs2_revoke_add ( struct gfs2_sbd sdp,
u64  blkno,
unsigned int  where 
)

Definition at line 55 of file recovery.c.

int gfs2_revoke_check ( struct gfs2_sbd sdp,
u64  blkno,
unsigned int  where 
)

Definition at line 84 of file recovery.c.

void gfs2_revoke_clean ( struct gfs2_sbd sdp)

Definition at line 108 of file recovery.c.

Variable Documentation

struct workqueue_struct* gfs_recovery_wq

Definition at line 30 of file recovery.c.