Re: [PATCH] netfs: Fix barriering when walking subrequest list
Paulo Alcantara <[email protected]> Thu, 02 Jul 2026 09:59:36 -0300
| Newsgroups | dev.linux.lists.netfs,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
David Howells <[email protected]> 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 <[email protected]> > cc: Paulo Alcantara <[email protected]> > cc: [email protected] > cc: [email protected] > --- > 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) <[email protected]>