[Devel] [PATCH RHEL7 COMMIT] fuse: Add more debug info into fuse_direct_IO_bvec()

Konstantin Khorenko khorenko at virtuozzo.com
Tue Feb 11 15:57:50 MSK 2020


The commit is pushed to "branch-rh7-3.10.0-1062.12.1.vz7.131.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1062.12.1.vz7.131.1
------>
commit 0a14621aa2390c00093b39eb8feda4a75e0488c8
Author: Kirill Tkhai <ktkhai at virtuozzo.com>
Date:   Fri Feb 7 13:23:04 2020 +0300

    fuse: Add more debug info into fuse_direct_IO_bvec()
    
    https://jira.sw.ru/browse/PSBM-101418
    
    Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 fs/fuse/file.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index e2e54d5ad5719..2ecccf337b45b 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -3513,7 +3513,9 @@ 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