Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06d2fccd authored by Bobi Jam's avatar Bobi Jam Committed by Greg Kroah-Hartman
Browse files

staging/lustre/llite: suppress non active IO error message



Current CLIO does not support fadvise, suppress the error message.

Signed-off-by: default avatarBobi 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: default avatarJinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6a651471
Loading
Loading
Loading
Loading
+2 −9
Original line number Original line Diff line number Diff line
@@ -111,16 +111,9 @@ struct ll_cl_context *ll_cl_init(struct file *file, struct page *vmpage)
	vio = vvp_env_io(env);
	vio = vvp_env_io(env);
	io = vio->vui_cl.cis_io;
	io = vio->vui_cl.cis_io;
	lcc->lcc_io = io;
	lcc->lcc_io = io;
	if (!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();

		result = -EIO;
		result = -EIO;
	}

	if (result == 0 && vmpage) {
	if (result == 0 && vmpage) {
		struct cl_page   *page;
		struct cl_page   *page;