Whamcloud - gitweb
LU-948 clio: add a callback to cl_page_gang_lookup()
[fs/lustre-release.git] / lustre / obdclass / cl_internal.h
index b754057..b1c360b 100644 (file)
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
@@ -109,6 +109,11 @@ struct cl_thread_info {
          * Used for submitting a sync io.
          */
         struct cl_sync_io    clt_anchor;
+        /**
+         * Fields used by cl_lock_page_out().
+         */
+        pgoff_t              clt_next_index;
+        pgoff_t              clt_fn_index; /* first non-overlapped index */
 };
 
 struct cl_thread_info *cl_env_info(const struct lu_env *env);