projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a65147
)
staging/lustre/llite: suppress non active IO error message
author
Bobi Jam
<
[email protected]
>
Wed, 13 Apr 2016 01:11:09 +0000
(21:11 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 26 Apr 2016 22:13:13 +0000
(15:13 -0700)
Current CLIO does not support fadvise, suppress the error message.
Signed-off-by: Bobi Jam <
[email protected]
>
Reviewed-on: http://review.whamcloud.com/9658
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4717
Reviewed-by: Jinshan Xiong <
[email protected]
>
Reviewed-by: Andreas Dilger <
[email protected]
>
Signed-off-by: Oleg Drokin <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/lustre/lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/drivers/staging/lustre/lustre/llite/rw.c
b/drivers/staging/lustre/lustre/llite/rw.c
index fee319ce472d6c78099a88e92f4a4a95e07fc495..4ddf8b360be0ad6d36b8eda6d7da91669f206a33 100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/rw.c
+++ b/
drivers/staging/lustre/lustre/llite/rw.c
@@
-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;