[GIT PULL] afs: Fix writeback

From: David Howells
Date: Mon Jun 19 2023 - 09:49:41 EST


Hi Linus,

Could you apply these fixes to AFS writeback code from Vishal?

(1) Release the acquired batch before returning if we got >=5 skips.

(2) Retry a page we had to wait for rather than skipping over it after the
wait.

Thanks,
David
---
The following changes since commit 45a3e24f65e90a047bef86f927ebdc4c710edaa1:

Linux 6.4-rc7 (2023-06-18 14:06:27 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20230719

for you to fetch changes up to 819da022dd007398d0c42ebcd8dbb1b681acea53:

afs: Fix waiting for writeback then skipping folio (2023-06-19 14:30:58 +0100)

----------------------------------------------------------------
AFS fixes

----------------------------------------------------------------
Vishal Moola (Oracle) (2):
afs: Fix dangling folio ref counts in writeback
afs: Fix waiting for writeback then skipping folio

fs/afs/write.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)