mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
staging/lustre/llite: suppress non active IO error message
Current CLIO does not support fadvise, suppress the error message. Signed-off-by: Bobi Jam <bobijam.xu@intel.com> Reviewed-on: http://review.whamcloud.com/9658 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4717 Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6a65147194
commit
06d2fccd6b
@ -111,16 +111,9 @@ struct ll_cl_context *ll_cl_init(struct file *file, struct page *vmpage)
|
||||
vio = vvp_env_io(env);
|
||||
io = vio->vui_cl.cis_io;
|
||||
lcc->lcc_io = io;
|
||||
if (!io) {
|
||||
struct inode *inode = file_inode(file);
|
||||
|
||||
CERROR("%s: " DFID " no active IO, please file a ticket.\n",
|
||||
ll_get_fsname(inode->i_sb, NULL, 0),
|
||||
PFID(ll_inode2fid(inode)));
|
||||
dump_stack();
|
||||
|
||||
if (!io)
|
||||
result = -EIO;
|
||||
}
|
||||
|
||||
if (result == 0 && vmpage) {
|
||||
struct cl_page *page;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user