[Devel] [PATCH rh7 1/2] fuse: Add more debug info into fuse_direct_IO_bvec()
Kirill Tkhai
ktkhai at virtuozzo.com
Fri Feb 7 13:23:04 MSK 2020
https://jira.sw.ru/browse/PSBM-101418
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
fs/fuse/file.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 79e64069e06a..a1b12e2ea59c 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -3494,7 +3494,8 @@ static ssize_t fuse_direct_IO_bvec(int rw, struct kiocb *iocb,
/* TODO: File extension is not yet implemented */
if (offset + bvec_length(bvec, bvec_len) > i_size) {
- WARN_ONCE(1, "fuse: file extension is not implemented yet\n");
+ WARN_ONCE(1, "fuse: file extension is not implemented yet: %lld %ld %lld\n",
+ offset, bvec_length(bvec, bvec_len), i_size);
return -EINVAL;
}
More information about the Devel
mailing list