netfs, afs: Use writeback retry to deal with alternate keys
authorDavid Howells <dhowells@redhat.com>
Fri, 15 Mar 2024 15:15:44 +0000 (15:15 +0000)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 May 2024 17:07:38 +0000 (18:07 +0100)
commit1ecb146f7cd82e44277de448d4f736b98741f3cb
tree572036680cd3b0491525b74b48121bb3b2a8e55c
parentd41ca44c20c3578154f30b07aa85ed4a951f34ab
netfs, afs: Use writeback retry to deal with alternate keys

Use a hook in the new writeback code's retry algorithm to rotate the keys
once all the outstanding subreqs have failed rather than doing it
separately on each subreq.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
fs/afs/file.c
fs/afs/internal.h
fs/afs/write.c
fs/netfs/write_collect.c
include/linux/netfs.h