From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 346E9EB64D9 for ; Mon, 19 Jun 2023 13:43:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232011AbjFSNnH (ORCPT ); Mon, 19 Jun 2023 09:43:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232008AbjFSNnF (ORCPT ); Mon, 19 Jun 2023 09:43:05 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CF4FE60 for ; Mon, 19 Jun 2023 06:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687182135; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Vk302f39rRkI3sCTLAPNFkOrhjgiDmscCE65ATB/Apo=; b=gDr1pcdh6NRSPYMIYlcIKzZ3iQ65BtThIrDasHyVIBT/InMCFhMPfIauY+zORXoiHqDWXm bUprT9ECbDtadrOc4tEpgJj1vY36buwMtqqz8wy1OuCn5w960haXWDdmTcPCBi+k51ukbW kuEuwYXja1xg4+G3rIIgdPgI9T0HRz0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-257-tQFX428lNvKBr4q8ftaEaQ-1; Mon, 19 Jun 2023 09:42:09 -0400 X-MC-Unique: tQFX428lNvKBr4q8ftaEaQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 912E51C08DAF; Mon, 19 Jun 2023 13:42:08 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id BCA7D112132C; Mon, 19 Jun 2023 13:42:07 +0000 (UTC) From: David Howells To: Linus Torvalds Cc: David Howells , Marc Dionne , linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] afs: Fix writeback Date: Mon, 19 Jun 2023 14:42:02 +0100 Message-ID: <20230619134204.922713-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org 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. The patches can be found here: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes Thanks, David --- %(shortlog)s %(diffstat)s 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(-)