Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
xfs_sync.h File Reference

Go to the source code of this file.

Macros

#define SYNC_WAIT   0x0001 /* wait for i/o to complete */
 
#define SYNC_TRYLOCK   0x0002 /* only try to lock inodes */
 

Functions

int xfs_syncd_init (struct xfs_mount *mp)
 
void xfs_syncd_stop (struct xfs_mount *mp)
 
int xfs_quiesce_data (struct xfs_mount *mp)
 
void xfs_quiesce_attr (struct xfs_mount *mp)
 
void xfs_flush_inodes (struct xfs_inode *ip)
 
int xfs_reclaim_inodes (struct xfs_mount *mp, int mode)
 
int xfs_reclaim_inodes_count (struct xfs_mount *mp)
 
void xfs_reclaim_inodes_nr (struct xfs_mount *mp, int nr_to_scan)
 
void xfs_inode_set_reclaim_tag (struct xfs_inode *ip)
 
void __xfs_inode_set_reclaim_tag (struct xfs_perag *pag, struct xfs_inode *ip)
 
void __xfs_inode_clear_reclaim_tag (struct xfs_mount *mp, struct xfs_perag *pag, struct xfs_inode *ip)
 
int xfs_sync_inode_grab (struct xfs_inode *ip)
 
int xfs_inode_ag_iterator (struct xfs_mount *mp, int(*execute)(struct xfs_inode *ip, struct xfs_perag *pag, int flags), int flags)
 

Variables

struct workqueue_structxfs_syncd_wq
 

Macro Definition Documentation

#define SYNC_TRYLOCK   0x0002 /* only try to lock inodes */

Definition at line 25 of file xfs_sync.h.

#define SYNC_WAIT   0x0001 /* wait for i/o to complete */

Definition at line 24 of file xfs_sync.h.

Function Documentation

void __xfs_inode_clear_reclaim_tag ( struct xfs_mount *  mp,
struct xfs_perag pag,
struct xfs_inode *  ip 
)
void __xfs_inode_set_reclaim_tag ( struct xfs_perag pag,
struct xfs_inode *  ip 
)

Definition at line 515 of file xfs_sync.c.

void xfs_flush_inodes ( struct xfs_inode *  ip)

Definition at line 472 of file xfs_sync.c.

int xfs_inode_ag_iterator ( struct xfs_mount *  mp,
int(*)(struct xfs_inode *ip, struct xfs_perag *pag, int flags execute,
int  flags 
)

Definition at line 193 of file xfs_sync.c.

void xfs_inode_set_reclaim_tag ( struct xfs_inode *  ip)
void xfs_quiesce_attr ( struct xfs_mount *  mp)

Definition at line 328 of file xfs_sync.c.

int xfs_quiesce_data ( struct xfs_mount *  mp)

Definition at line 304 of file xfs_sync.c.

int xfs_reclaim_inodes ( struct xfs_mount *  mp,
int  mode 
)
int xfs_reclaim_inodes_count ( struct xfs_mount *  mp)

Definition at line 959 of file xfs_sync.c.

void xfs_reclaim_inodes_nr ( struct xfs_mount *  mp,
int  nr_to_scan 
)

Definition at line 943 of file xfs_sync.c.

int xfs_sync_inode_grab ( struct xfs_inode *  ip)
int xfs_syncd_init ( struct xfs_mount *  mp)

Definition at line 493 of file xfs_sync.c.

void xfs_syncd_stop ( struct xfs_mount *  mp)

Definition at line 506 of file xfs_sync.c.

Variable Documentation

struct workqueue_struct* xfs_syncd_wq

Definition at line 42 of file xfs_sync.c.