Whamcloud - gitweb
LU-169 clio: restart clio operations if layout changes
[fs/lustre-release.git] / lustre / llite / file.c
index 8ac9cdf..06e61d8 100644 (file)
@@ -2028,6 +2028,7 @@ int cl_sync_file_range(struct inode *inode, loff_t start, loff_t end,
 
        io = ccc_env_thread_io(env);
        io->ci_obj = cl_i2info(inode)->lli_clob;
+       io->ci_ignore_layout = 1;
 
        /* initialize parameters for sync */
        fio = &io->u.ci_fsync;