From: phil Date: Wed, 5 Nov 2003 00:49:25 +0000 (+0000) Subject: b=1028 X-Git-Tag: v1_7_0_51~2^7~301 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=319279c09f8e7802c63578e3672e46a1dc2938a6;p=fs%2Flustre-release.git b=1028 The totally non-controversial parts of my outstanding mds epoch code. - add I/O epoch fields to the mds_body, mds_obd, and ll_inode_info - store the epoch in the LLI after a successful open - add a data structure, which will go into an MDS inode's i_filterdata --- diff --git a/lustre/mds/mds_internal.h b/lustre/mds/mds_internal.h index 5696e7f..0a0dccc 100644 --- a/lustre/mds/mds_internal.h +++ b/lustre/mds/mds_internal.h @@ -4,6 +4,13 @@ #ifndef _MDS_INTERNAL_H #define _MDS_INTERNAL_H + +struct mds_filter_data { + __u64 io_epoch; +}; + +#define MDS_FILTERDATA(inode) ((struct mds_filter_data *)(inode)->i_filterdata) + static inline struct mds_obd *mds_req2mds(struct ptlrpc_request *req) { return &req->rq_export->exp_obd->u.mds;