From: huanghua Date: Fri, 11 Jul 2008 05:21:49 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_0_51~2^121 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c3c016ecd66ed2ea93ba15d2352f313cdeaa232e;p=fs%2Flustre-release.git Branch b1_8_gate b=11930 i=adilger i=nikita.danilov i=alex --- 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);