24 #include <linux/version.h> 31 #ifndef __MOTR_M0T1FS_FSYNC_H__ 32 #define __MOTR_M0T1FS_FSYNC_H__ 378 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) 394 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0) 407 struct m0t1fs_sb *
csb,
408 struct m0t1fs_inode *
inode,
431 struct m0t1fs_inode *
inode,
static struct m0_reqh_service_txid stx[NUM_STRECORDS]
static struct m0_semaphore wait
void(* fop_put)(struct m0_fop *fop)
int(* post_rpc)(struct m0_rpc_item *item)
void m0t1fs_fsync_record_update(struct m0_reqh_service_ctx *service, struct m0t1fs_sb *csb, struct m0t1fs_inode *inode, struct m0_be_tx_remid *btr)
static struct m0_rpc_item * item
M0_INTERNAL int m0t1fs_fsync_request_create(struct m0_reqh_service_txid *stx, struct m0t1fs_fsync_fop_wrapper **ffw, enum m0_fsync_mode mode)
struct m0_tlink ffw_tlink
static int struct dentry * dentry
M0_INTERNAL int m0t1fs_fsync_reply_process(struct m0t1fs_sb *csb, struct m0t1fs_inode *inode, struct m0t1fs_fsync_fop_wrapper *ffw)
static int struct dentry int mode
static struct super_block super_block
M0_INTERNAL int m0t1fs_fsync_core(struct m0t1fs_inode *inode, enum m0_fsync_mode mode)
static struct super_block sb
void(* fop_fini)(struct m0_fop *fop)
int m0t1fs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
int(* kernel_fsync)(struct file *file, loff_t start, loff_t end, int datasync)
static int start(struct m0_fom *fom)
static struct m0_fop * fop
int m0t1fs_sync_fs(struct super_block *sb, int wait)
struct m0_reqh_service_txid * ffw_stx
static struct m0_reqh_service * service[REQH_IN_UT_MAX]
int(* wait_for_reply)(struct m0_rpc_item *item, m0_time_t timeout)