From 1274701dd41fa90b305d41169dd141c650a44bc7 Mon Sep 17 00:00:00 2001 From: tappro Date: Wed, 3 Sep 2008 08:11:04 +0000 Subject: [PATCH] - export handling for VBR b:15391 i:rread, bzzz --- lustre/include/lprocfs_status.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/lustre/include/lprocfs_status.h b/lustre/include/lprocfs_status.h index b6bb9c4..bbbb40b 100644 --- a/lustre/include/lprocfs_status.h +++ b/lustre/include/lprocfs_status.h @@ -598,6 +598,13 @@ int lprocfs_obd_rd_recovery_maxtime(char *page, char **start, off_t off, int lprocfs_obd_wr_recovery_maxtime(struct file *file, const char *buffer, unsigned long count, void *data); #endif +int lprocfs_obd_rd_stale_export_age(char *page, char **start, off_t off, + int count, int *eof, void *data); +int lprocfs_obd_wr_stale_export_age(struct file *file, const char *buffer, + unsigned long count, void *data); +int lprocfs_obd_attach_stale_exports(struct obd_device *dev); +int lprocfs_obd_wr_flush_stale_exports(struct file *file, const char *buffer, + unsigned long count, void *data); /* all quota proc functions */ extern int lprocfs_quota_rd_bunit(char *page, char **start, off_t off, int count, @@ -761,7 +768,21 @@ static inline int lprocfs_wr_evict_client(struct file *file, const char *buffer, static inline int lprocfs_wr_ping(struct file *file, const char *buffer, unsigned long count, void *data) { return 0; } - +static inline +int lprocfs_obd_rd_stale_export_age(char *page, char **start, off_t off, + int count, int *eof, void *data) +{ return 0; } +static inline +int lprocfs_obd_wr_stale_export_age(struct file *file, const char *buffer, + unsigned long count, void *data) +{ return 0; } +static inline +int lprocfs_obd_attach_stale_exports(struct obd_device *dev) +{ return 0; } +static inline +int lprocfs_obd_wr_flush_stale_exports(struct file *file, const char *buffer, + unsigned long count, void *data) +{ return 0; } /* Statfs helpers */ static inline -- 1.8.3.1