Current CLIO does not support fadvise, suppress the error message.
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Iab3133ecc08cf0890ab3aa55018565d3d9f96e07
Reviewed-on: http://review.whamcloud.com/9658
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
cio = ccc_env_io(env);
io = cio->cui_cl.cis_io;
lcc->lcc_io = io;
- if (io == NULL) {
- struct inode *inode = file->f_dentry->d_inode;
-
- CERROR("%s: " DFID " no active IO, please file a ticket.\n",
- ll_get_fsname(inode->i_sb, NULL, 0),
- PFID(ll_inode2fid(inode)));
- libcfs_debug_dumpstack(NULL);
+ if (io == NULL)
result = -EIO;
- }
if (result == 0 && vmpage != NULL) {
struct cl_page *page;