]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.9-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2024 11:37:09 +0000 (13:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2024 11:37:09 +0000 (13:37 +0200)
added patches:
cifs-fix-noisy-message-on-copy_file_range.patch

queue-6.9/cifs-fix-noisy-message-on-copy_file_range.patch [new file with mode: 0644]
queue-6.9/series

diff --git a/queue-6.9/cifs-fix-noisy-message-on-copy_file_range.patch b/queue-6.9/cifs-fix-noisy-message-on-copy_file_range.patch
new file mode 100644 (file)
index 0000000..6b807f3
--- /dev/null
@@ -0,0 +1,36 @@
+From ae4ccca47195332c69176b8615c5ee17efd30c46 Mon Sep 17 00:00:00 2001
+From: Steve French <stfrench@microsoft.com>
+Date: Wed, 17 Jul 2024 00:42:22 -0500
+Subject: cifs: fix noisy message on copy_file_range
+
+From: Steve French <stfrench@microsoft.com>
+
+commit ae4ccca47195332c69176b8615c5ee17efd30c46 upstream.
+
+There are common cases where copy_file_range can noisily
+log "source and target of copy not on same server"
+e.g. the mv command across mounts to two different server's shares.
+Change this to informational rather than logging as an error.
+
+A followon patch will add dynamic trace points e.g. for
+cifs_file_copychunk_range
+
+Cc: stable@vger.kernel.org
+Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
+Signed-off-by: Steve French <stfrench@microsoft.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ fs/smb/client/cifsfs.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/fs/smb/client/cifsfs.c
++++ b/fs/smb/client/cifsfs.c
+@@ -1409,7 +1409,7 @@ ssize_t cifs_file_copychunk_range(unsign
+       target_tcon = tlink_tcon(smb_file_target->tlink);
+       if (src_tcon->ses != target_tcon->ses) {
+-              cifs_dbg(VFS, "source and target of copy not on same server\n");
++              cifs_dbg(FYI, "source and target of copy not on same server\n");
+               goto out;
+       }
index 94a46a4634d6387518208976a75861f200c9d08d..143701e5ec2b878ec30b8f65b8c14f541ed6e25f 100644 (file)
@@ -1,3 +1,4 @@
+cifs-fix-noisy-message-on-copy_file_range.patch
 scsi-core-alua-i-o-errors-for-alua-state-transitions.patch
 scsi-sr-fix-unintentional-arithmetic-wraparound.patch
 scsi-qedf-don-t-process-stag-work-during-unload-and-.patch