Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
lops.c File Reference
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linux/buffer_head.h>
#include <linux/mempool.h>
#include <linux/gfs2_ondisk.h>
#include <linux/bio.h>
#include <linux/fs.h>
#include "gfs2.h"
#include "incore.h"
#include "inode.h"
#include "glock.h"
#include "log.h"
#include "lops.h"
#include "meta_io.h"
#include "recovery.h"
#include "rgrp.h"
#include "trans.h"
#include "util.h"
#include "trace_gfs2.h"

Go to the source code of this file.

Functions

void gfs2_log_flush_bio (struct gfs2_sbd *sdp, int rw)
 
void gfs2_log_write_page (struct gfs2_sbd *sdp, struct page *page)
 

Variables

struct gfs2_log_operations gfs2_buf_lops
 
struct gfs2_log_operations gfs2_revoke_lops
 
struct gfs2_log_operations gfs2_rg_lops
 
struct gfs2_log_operations gfs2_databuf_lops
 
struct gfs2_log_operationsgfs2_log_ops []
 

Function Documentation

void gfs2_log_flush_bio ( struct gfs2_sbd sdp,
int  rw 
)

gfs2_log_flush_bio - Submit any pending log bio : The superblock : The rw flags

Submit any pending part-built or full bio to the block device. If there is no pending bio, then this is a no-op.

Definition at line 237 of file lops.c.

void gfs2_log_write_page ( struct gfs2_sbd sdp,
struct page page 
)

Definition at line 369 of file lops.c.

Variable Documentation

struct gfs2_log_operations gfs2_buf_lops
Initial value:
= {
.lo_add = buf_lo_add,
.lo_before_commit = buf_lo_before_commit,
.lo_after_commit = buf_lo_after_commit,
.lo_before_scan = buf_lo_before_scan,
.lo_scan_elements = buf_lo_scan_elements,
.lo_after_scan = buf_lo_after_scan,
.lo_name = "buf",
}

Definition at line 887 of file lops.c.

struct gfs2_log_operations gfs2_databuf_lops
Initial value:
= {
.lo_add = databuf_lo_add,
.lo_before_commit = databuf_lo_before_commit,
.lo_after_commit = databuf_lo_after_commit,
.lo_scan_elements = databuf_lo_scan_elements,
.lo_after_scan = databuf_lo_after_scan,
.lo_name = "databuf",
}

Definition at line 911 of file lops.c.

struct gfs2_log_operations* gfs2_log_ops[]
Initial value:

Definition at line 920 of file lops.c.

struct gfs2_log_operations gfs2_revoke_lops
Initial value:
= {
.lo_add = revoke_lo_add,
.lo_before_commit = revoke_lo_before_commit,
.lo_after_commit = revoke_lo_after_commit,
.lo_before_scan = revoke_lo_before_scan,
.lo_scan_elements = revoke_lo_scan_elements,
.lo_after_scan = revoke_lo_after_scan,
.lo_name = "revoke",
}

Definition at line 897 of file lops.c.

Initial value:
= {
.lo_name = "rg",
}

Definition at line 907 of file lops.c.