From c3c016ecd66ed2ea93ba15d2352f313cdeaa232e Mon Sep 17 00:00:00 2001 From: huanghua Date: Fri, 11 Jul 2008 05:21:49 +0000 Subject: [PATCH] Branch b1_8_gate b=11930 i=adilger i=nikita.danilov i=alex --- lustre/include/obd.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lustre/include/obd.h b/lustre/include/obd.h index a239e52..4d8c4e8 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -422,6 +422,10 @@ struct client_obd { /* used by quotacheck */ int cl_qchk_stat; /* quotacheck stat of the peer */ + + /* sequence manager */ + struct lu_client_seq *cl_seq; + atomic_t cl_resends; /* resend count */ /* Cache of triples */ struct lustre_cache *cl_cache; @@ -939,6 +943,10 @@ struct obd_ops { struct obd_connect_data *ocd); int (*o_disconnect)(struct obd_export *exp); + /* Initialize/finalize fids infrastructure. */ + int (*o_fid_init)(struct obd_export *exp); + int (*o_fid_fini)(struct obd_export *exp); + int (*o_statfs)(struct obd_device *obd, struct obd_statfs *osfs, __u64 max_age, __u32 flags); int (*o_statfs_async)(struct obd_device *obd, struct obd_info *oinfo, @@ -1061,7 +1069,7 @@ struct obd_ops { int (*o_llog_finish)(struct obd_device *obd, int count); /* metadata-only methods */ - int (*o_pin)(struct obd_export *, obd_id ino, __u32 gen, int type, + int (*o_pin)(struct obd_export *, struct ll_fid *, struct obd_client_handle *, int flag); int (*o_unpin)(struct obd_export *, struct obd_client_handle *, int); -- 1.8.3.1