Whamcloud - gitweb
LU-9771 flr: extend DATA_VERSION API to read layout version
[fs/lustre-release.git] / lustre / llite / vvp_internal.h
index 4a41108..058086d 100644 (file)
@@ -37,7 +37,6 @@
 #ifndef VVP_INTERNAL_H
 #define VVP_INTERNAL_H
 
-#include <lustre/lustre_idl.h>
 #include <cl_object.h>
 
 enum obd_notify_event;
@@ -61,13 +60,7 @@ struct vvp_io {
        /** super class */
        struct cl_io_slice     vui_cl;
        struct cl_io_lock_link vui_link;
-       /**
-        * I/O vector information to or from which read/write is going.
-        */
-       struct iov_iter *vui_iter;
-       /**
-        * Total size for the left IO.
-        */
+       /** Total size for the left IO. */
        size_t vui_tot_count;
 
        union {
@@ -76,7 +69,7 @@ struct vvp_io {
                         * Inode modification time that is checked across DLM
                         * lock request.
                         */
-                       time_t                   ft_mtime;
+                       time64_t                 ft_mtime;
                        struct vm_area_struct   *ft_vma;
                        /**
                         *  locked page returned from vvp_io
@@ -117,7 +110,6 @@ struct vvp_io {
        * File descriptor against which IO is done.
        */
        struct ll_file_data     *vui_fd;
-       struct kiocb            *vui_iocb;
 
        /* Readahead state. */
        pgoff_t vui_ra_start;
@@ -139,6 +131,7 @@ struct vvp_thread_info {
        struct cl_lock_descr    vti_descr;
        struct cl_io            vti_io;
        struct cl_attr          vti_attr;
+       struct cl_sync_io       vti_anchor;
 };
 
 static inline struct vvp_thread_info *vvp_env_info(const struct lu_env *env)