linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cifs: Fixes for copy_file_range() and FICLONE
@ 2023-12-01  0:21 David Howells
  2023-12-01  0:22 ` [PATCH 1/2] cifs: Fix flushing, invalidation and file size with copy_file_range() David Howells
  2023-12-01  0:22 ` [PATCH 2/2] cifs: Fix flushing, invalidation and file size with FICLONE David Howells
  0 siblings, 2 replies; 4+ messages in thread
From: David Howells @ 2023-12-01  0:21 UTC (permalink / raw)
  To: Steve French
  Cc: David Howells, Paulo Alcantara, Shyam Prasad N,
	Rohith Surabattula, Matthew Wilcox, Jeff Layton, linux-cifs,
	linux-mm, linux-fsdevel

Hi Steve,

Here are two patches for cifs:

 (1) Fix copy_file_range() support to handle invalidation and flushing of
     overlapping dirty data correctly, to move the EOF on the server to
     deal with lazy flushing of locally dirty data and to set the i_size
     afterwards if the copy extended the file.

 (2) Fix FICLONE which has the same set of bugs as (1).

I've pushed the patches here also:

	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=cifs-fixes

David

David Howells (2):
  cifs: Fix flushing, invalidation and file size with copy_file_range()
  cifs: Fix flushing, invalidation and file size with FICLONE

 fs/smb/client/cifsfs.c | 170 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 156 insertions(+), 14 deletions(-)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-01  0:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01  0:21 [PATCH 0/2] cifs: Fixes for copy_file_range() and FICLONE David Howells
2023-12-01  0:22 ` [PATCH 1/2] cifs: Fix flushing, invalidation and file size with copy_file_range() David Howells
2023-12-01  0:22 ` [PATCH 2/2] cifs: Fix flushing, invalidation and file size with FICLONE David Howells
2023-12-01  0:49   ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).