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

Go to the source code of this file.

Functions

void gfs2_ail_flush (struct gfs2_glock *gl, bool fsync)
 
int gfs2_inode_refresh (struct gfs2_inode *ip)
 

Variables

struct gfs2_glock_operations gfs2_meta_glops
 
struct gfs2_glock_operations gfs2_inode_glops
 
struct gfs2_glock_operations gfs2_rgrp_glops
 
struct gfs2_glock_operations gfs2_trans_glops
 
struct gfs2_glock_operations gfs2_iopen_glops
 
struct gfs2_glock_operations gfs2_flock_glops
 
struct gfs2_glock_operations gfs2_nondisk_glops
 
struct gfs2_glock_operations gfs2_quota_glops
 
struct gfs2_glock_operations gfs2_journal_glops
 
struct gfs2_glock_operationsgfs2_glops_list []
 

Function Documentation

void gfs2_ail_flush ( struct gfs2_glock gl,
bool  fsync 
)

Definition at line 108 of file glops.c.

int gfs2_inode_refresh ( struct gfs2_inode ip)

gfs2_inode_refresh - Refresh the incore copy of the dinode : The GFS2 inode

Returns: errno

Definition at line 373 of file glops.c.

Variable Documentation

struct gfs2_glock_operations gfs2_flock_glops
Initial value:
= {
.go_type = LM_TYPE_FLOCK,
}

Definition at line 570 of file glops.c.

struct gfs2_glock_operations* gfs2_glops_list[]
struct gfs2_glock_operations gfs2_inode_glops
Initial value:
= {
.go_xmote_th = inode_go_sync,
.go_inval = inode_go_inval,
.go_demote_ok = inode_go_demote_ok,
.go_lock = inode_go_lock,
.go_dump = inode_go_dump,
.go_type = LM_TYPE_INODE,
.go_flags = GLOF_ASPACE,
}

Definition at line 538 of file glops.c.

struct gfs2_glock_operations gfs2_iopen_glops
Initial value:
= {
.go_type = LM_TYPE_IOPEN,
.go_callback = iopen_go_callback,
}

Definition at line 565 of file glops.c.

struct gfs2_glock_operations gfs2_journal_glops
Initial value:
= {
.go_type = LM_TYPE_JOURNAL,
}

Definition at line 582 of file glops.c.

struct gfs2_glock_operations gfs2_meta_glops
Initial value:
= {
.go_type = LM_TYPE_META,
}

Definition at line 534 of file glops.c.

struct gfs2_glock_operations gfs2_nondisk_glops
Initial value:
= {
.go_type = LM_TYPE_NONDISK,
}

Definition at line 574 of file glops.c.

struct gfs2_glock_operations gfs2_quota_glops
Initial value:
= {
.go_type = LM_TYPE_QUOTA,
}

Definition at line 578 of file glops.c.

struct gfs2_glock_operations gfs2_rgrp_glops
Initial value:
= {
.go_xmote_th = rgrp_go_sync,
.go_inval = rgrp_go_inval,
.go_lock = gfs2_rgrp_go_lock,
.go_unlock = gfs2_rgrp_go_unlock,
.go_dump = gfs2_rgrp_dump,
.go_type = LM_TYPE_RGRP,
.go_flags = GLOF_ASPACE,
}

Definition at line 548 of file glops.c.

struct gfs2_glock_operations gfs2_trans_glops
Initial value:
= {
.go_xmote_th = trans_go_sync,
.go_xmote_bh = trans_go_xmote_bh,
.go_demote_ok = trans_go_demote_ok,
.go_type = LM_TYPE_NONDISK,
}

Definition at line 558 of file glops.c.