void *(* fs_start)(struct inode *inode, int op);
void *(* fs_brw_start)(int objcount, struct fsfilt_objinfo *fso,
int niocount, struct niobuf_remote *nb);
- int (* fs_commit)(struct inode *inode, void *handle);
+ int (* fs_commit)(struct inode *inode, void *handle,int force_sync);
int (* fs_setattr)(struct dentry *dentry, void *handle,
struct iattr *iattr);
int (* fs_set_md)(struct inode *inode, void *handle, void *md,
static inline void *fsfilt_start(struct obd_device *obd,
struct inode *inode, int op)
{
- ENTRY;
- return obd->obd_fsops->fs_start(inode, op);
+ void *handle = obd->obd_fsops->fs_start(inode, op);
+ CDEBUG(D_HA, "starting handle %p\n", handle);
+ return handle;
}
static inline void *fsfilt_brw_start(struct obd_device *obd, int objcount,
struct fsfilt_objinfo *fso, int niocount,
struct niobuf_remote *nb)
{
- return obd->obd_fsops->fs_brw_start(objcount, fso, niocount, nb);
+ void *handle = obd->obd_fsops->fs_brw_start(objcount, fso, niocount,nb);
+ CDEBUG(D_HA, "starting handle %p\n", handle);
+ return handle;
}
static inline int fsfilt_commit(struct obd_device *obd, struct inode *inode,
- void *handle)
+ void *handle, int force_sync)
{
- return obd->obd_fsops->fs_commit(inode, handle);
- EXIT;
+ CDEBUG(D_HA, "committing handle %p\n", handle);
+ return obd->obd_fsops->fs_commit(inode, handle, force_sync);
}
static inline int fsfilt_setattr(struct obd_device *obd, struct dentry *dentry,