mbox series

[0/4] netfs: Miscellaneous fixes

Message ID 20250314164201.1993231-1-dhowells@redhat.com (mailing list archive)
Headers show
Series netfs: Miscellaneous fixes | expand

Message

David Howells March 14, 2025, 4:41 p.m. UTC
Hi Christian,

Here are some miscellaneous fixes and changes for netfslib, if you could
pull them:

 (1) Fix the collection of results during a pause in transmission.

 (2) Call ->invalidate_cache() only if provided.

 (3) Fix the rolling buffer to not hammer atomic bit clears when loading
     from readahead.

 (4) Fix netfs_unbuffered_read() to return ssize_t.

The patches can also be found here:

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

Thanks,
David

David Howells (3):
  netfs: Fix collection of results during pause when collection
    offloaded
  netfs: Fix rolling_buffer_load_from_ra() to not clear mark bits
  netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int

Max Kellermann (1):
  netfs: Call `invalidate_cache` only if implemented

 fs/netfs/direct_read.c    |  6 +++---
 fs/netfs/read_collect.c   | 18 ++++++++++--------
 fs/netfs/rolling_buffer.c |  4 ----
 fs/netfs/write_collect.c  |  3 ++-
 4 files changed, 15 insertions(+), 16 deletions(-)

Comments

Paulo Alcantara March 14, 2025, 8:44 p.m. UTC | #1
David Howells <dhowells@redhat.com> writes:

> Hi Christian,
>
> Here are some miscellaneous fixes and changes for netfslib, if you could
> pull them:
>
>  (1) Fix the collection of results during a pause in transmission.
>
>  (2) Call ->invalidate_cache() only if provided.
>
>  (3) Fix the rolling buffer to not hammer atomic bit clears when loading
>      from readahead.
>
>  (4) Fix netfs_unbuffered_read() to return ssize_t.
>
> The patches can also be found here:
>
> 	https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes
>
> Thanks,
> David
>
> David Howells (3):
>   netfs: Fix collection of results during pause when collection
>     offloaded
>   netfs: Fix rolling_buffer_load_from_ra() to not clear mark bits
>   netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int
>
> Max Kellermann (1):
>   netfs: Call `invalidate_cache` only if implemented
>
>  fs/netfs/direct_read.c    |  6 +++---
>  fs/netfs/read_collect.c   | 18 ++++++++++--------
>  fs/netfs/rolling_buffer.c |  4 ----
>  fs/netfs/write_collect.c  |  3 ++-
>  4 files changed, 15 insertions(+), 16 deletions(-)

Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Christian Brauner March 19, 2025, 9:04 a.m. UTC | #2
On Fri, 14 Mar 2025 16:41:55 +0000, David Howells wrote:
> Here are some miscellaneous fixes and changes for netfslib, if you could
> pull them:
> 
>  (1) Fix the collection of results during a pause in transmission.
> 
>  (2) Call ->invalidate_cache() only if provided.
> 
> [...]

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes

[1/4] netfs: Fix collection of results during pause when collection offloaded
      https://git.kernel.org/vfs/vfs/c/f298e3765528
[2/4] netfs: Call `invalidate_cache` only if implemented
      https://git.kernel.org/vfs/vfs/c/344b7ef248f4
[3/4] netfs: Fix rolling_buffer_load_from_ra() to not clear mark bits
      https://git.kernel.org/vfs/vfs/c/15e9aaf9fc49
[4/4] netfs: Fix netfs_unbuffered_read() to return ssize_t rather than int
      https://git.kernel.org/vfs/vfs/c/07c574eb53d4