Re: [PATCH] netfs: Fix barriering when walking subrequest list
From: Paulo Alcantara
Date: Thu Jul 02 2026 - 09:07:08 EST
David Howells <dhowells@xxxxxxxxxx> writes:
> Fix the barriering used when walking the subrequest list in retry as
> there's a possibility of seeing a subreq that's just been added by the
> application thread.
>
> Fixes: ee4cdf7ba857 ("netfs: Speed up buffered reading")
> Fixes: 288ace2f57c9 ("netfs: New writeback implementation")
> Link: https://sashiko.dev/#/patchset/20260608145432.681865-1-dhowells%40redhat.com
> Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
> cc: Paulo Alcantara <pc@xxxxxxxxxxxxx>
> cc: netfs@xxxxxxxxxxxxxxx
> cc: linux-fsdevel@xxxxxxxxxxxxxxx
> ---
> fs/netfs/read_retry.c | 7 ++++++-
> fs/netfs/write_retry.c | 7 ++++++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
Reviewed-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>