From 319279c09f8e7802c63578e3672e46a1dc2938a6 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 5 Nov 2003 00:49:25 +0000 Subject: [PATCH] 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 --- lustre/mds/mds_internal.h | 7 +++++++ 1 file changed, 7 insertions(+) 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; -- 1.8.3.1