Whamcloud - gitweb
LU-7198 clio: remove mtime check in vvp_io_fault_start()
[fs/lustre-release.git] / lustre / llite / vvp_io.c
index c2a088a..a076e5a 100644 (file)
@@ -27,7 +27,7 @@
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright (c) 2011, 2014, Intel Corporation.
+ * Copyright (c) 2011, 2015, Intel Corporation.
  */
 /*
  * This file is part of Lustre, http://www.lustre.org/
@@ -1217,12 +1217,6 @@ static int vvp_io_fault_start(const struct lu_env *env,
        pgoff_t                  last_index;
        ENTRY;
 
-       if (fio->ft_executable &&
-           LTIME_S(inode->i_mtime) != vio->u.fault.ft_mtime)
-               CWARN("binary "DFID
-                     " changed while waiting for the page fault lock\n",
-                     PFID(lu_object_fid(&obj->co_lu)));
-
        down_read(&lli->lli_trunc_sem);
 
         /* offset of the last byte on the page */
@@ -1443,7 +1437,10 @@ static const struct cl_io_operations vvp_io_ops = {
                },
                [CIT_MISC] = {
                        .cio_fini       = vvp_io_fini
-               }
+               },
+               [CIT_LADVISE] = {
+                       .cio_fini       = vvp_io_fini
+               },
        },
        .cio_read_ahead = vvp_io_read_ahead
 };