Whamcloud - gitweb
LU-11290 osc: Batch gang_lookup cbs
[fs/lustre-release.git] / lustre / include / lustre_osc.h
index 9bcb313..c4de03a 100644 (file)
@@ -621,12 +621,12 @@ static inline void osc_io_unplug(const struct lu_env *env,
 }
 
 typedef bool (*osc_page_gang_cbt)(const struct lu_env *, struct cl_io *,
-                                 struct osc_page *, void *);
+                                 void**, int, void *);
 bool osc_page_gang_lookup(const struct lu_env *env, struct cl_io *io,
                          struct osc_object *osc, pgoff_t start, pgoff_t end,
                          osc_page_gang_cbt cb, void *cbdata);
 bool osc_discard_cb(const struct lu_env *env, struct cl_io *io,
-                   struct osc_page *ops, void *cbdata);
+                   void**, int, void *cbdata);
 
 /* osc_dev.c */
 int osc_device_init(const struct lu_env *env, struct lu_device *d,