Message ID | 20230122090115.1563753-1-agruenba@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1070219wrn; Sun, 22 Jan 2023 01:05:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXuOn6megeyNDYUHQjRUBxw0PTRGfHdo0mB8HyFOv3JbZIozmy1u82GEqiqSSxwhIE8gPg8E X-Received: by 2002:a05:6a20:c197:b0:b8:4c2c:7554 with SMTP id bg23-20020a056a20c19700b000b84c2c7554mr25674240pzb.6.1674378319518; Sun, 22 Jan 2023 01:05:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674378319; cv=none; d=google.com; s=arc-20160816; b=BfItprTw4VijdexXcQM62IKM6iAdtFTCt6O81h1pDpZyKe7Htngur2Ix6bJkJQ9lwE 5ArmCn+8LM+3uqEpbgGyKd2p6e21R1Ef+Xt5hhO9eW3AWwU6MTHoI+svB5gZXoPjNrT9 a0Qep9U2GDm/bUYzGBQQiMquX2lIyV9zlQER1jF0ydAUOYwSVcnpicgBpxqC8BJHa8k7 0XlI37m7izDrCa93WxM5B+IP7qCX8D7xrYdbUOBuzSLkj8TETGvfqfhVjTI9APsnKLba PYrjV9H/M+80weTrU8wC/GC+BxmjSu8F2+zGRGGNu5lcxJNy+MyjterJtjjaMiyReqPI RmjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=a7i0etABdzzwG0ukyprDvsLxykkelef63qcM2z1SEbk=; b=UEiwCqkZIOnl/aXD7WAXm0NmT8JDlwVWHiHn9YYzHZW/dB0C6ekDRnQpdF/NT6Qnfl go+u9pZZ1r+0B7Gz7Sm0zDt9ZSMwg41huUClZrT0X6n43AG9aY5bTcVGfUHzsAElCE02 MnRygIrQl6JuurnUDIocojgycEhVy6VKJgUA/yhHwJDqUIun6suEVbw1djQ+1Oe8dYTI g5/1xfAcMyckD+HWJZ+9h4Dzsgqalkf2pu5C1HgniveLPflKidvmW8uP7ezv4vnes5d/ 9veoCwP7DRvTQJIXHH35GclE90OwteP0qQRtDuxARGV0YIgG6jBmVVZ0pJzuQ1hx8zAd gF5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IgvvO5sr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a1709028ec100b00188b8cf0859si29537583plo.57.2023.01.22.01.05.06; Sun, 22 Jan 2023 01:05:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IgvvO5sr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbjAVJCF (ORCPT <rfc822;ariel.simulevski@gmail.com> + 99 others); Sun, 22 Jan 2023 04:02:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbjAVJCD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 22 Jan 2023 04:02:03 -0500 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 EBE261B572 for <linux-kernel@vger.kernel.org>; Sun, 22 Jan 2023 01:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674378081; 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=a7i0etABdzzwG0ukyprDvsLxykkelef63qcM2z1SEbk=; b=IgvvO5sr+q4kI8LDeVnhljupPrYxWDsZWVsFpZyQlazWVaYwTWSgNz7XOuZQbf8OwZfHF3 vIPKQCd1bc5bIORaDvnJ5ry7F/JRKHgavXUmnYke6KuJUx8w4CcDPAe/BZo532YjOkhB0/ /Hslht5ufokP3tVyv3IPMhE7/YrMnJI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-359-_O1Z6BB3OQ6qg8TKid8LZg-1; Sun, 22 Jan 2023 04:01:19 -0500 X-MC-Unique: _O1Z6BB3OQ6qg8TKid8LZg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B44FD101A521; Sun, 22 Jan 2023 09:01:18 +0000 (UTC) Received: from pasta.redhat.com (ovpn-192-72.brq.redhat.com [10.40.192.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id C064614171C0; Sun, 22 Jan 2023 09:01:16 +0000 (UTC) From: Andreas Gruenbacher <agruenba@redhat.com> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: cluster-devel@redhat.com, linux-kernel@vger.kernel.org Subject: [GIT PULL] gfs2 writepage fix Date: Sun, 22 Jan 2023 10:01:15 +0100 Message-Id: <20230122090115.1563753-1-agruenba@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755712920650981461?= X-GMAIL-MSGID: =?utf-8?q?1755712920650981461?= |
Series |
[GIT,PULL] gfs2 writepage fix
|
|
Pull-request
git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.2-rc4-fixMessage
Andreas Gruenbacher
Jan. 22, 2023, 9:01 a.m. UTC
From: Linus Torvalds <torvalds@linux-foundation.org>
Hi Linus,
please consider pulling the following gfs2 fix.
Thank you very much,
Andreas
The following changes since commit 5dc4c995db9eb45f6373a956eb1f69460e69e6d4:
Linux 6.2-rc4 (2023-01-15 09:22:43 -0600)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.2-rc4-fix
for you to fetch changes up to 95ecbd0f162fc06ef4c4045a66f653f47b62a2d3:
Revert "gfs2: stop using generic_writepages in gfs2_ail1_start_one" (2023-01-22 09:46:14 +0100)
----------------------------------------------------------------
gfs2 writepage fix
- Fix a regression introduced by commit "gfs2: stop using
generic_writepages in gfs2_ail1_start_one".
----------------------------------------------------------------
Andreas Gruenbacher (1):
Revert "gfs2: stop using generic_writepages in gfs2_ail1_start_one"
fs/gfs2/log.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Comments
On Sun, Jan 22, 2023 at 1:01 AM Andreas Gruenbacher <agruenba@redhat.com> wrote: > > gfs2 writepage fix > > - Fix a regression introduced by commit "gfs2: stop using > generic_writepages in gfs2_ail1_start_one". Hmm. I'm adding a few more people and linux-fsdevel to the reply, because we had a number of filesystems remove writepages use lately, including some that did it as a fix after the merge window. Everybody involved seemed to claim it was just a no-brainer switch-over, and I just took that on faith. Now it looks like that wasn't true at least for gfs2 due to different semantics. Maybe the gfs2 issue is purely because of how gfs2 did the conversion (generic_writepages -> filemap_fdatawrite_wbc), but let's make people look at their own cases. Linus
The pull request you sent on Sun, 22 Jan 2023 10:01:15 +0100:
> git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git tags/gfs2-v6.2-rc4-fix
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3c006ad74d68be45ee36ca68fd9c053974fb6b0f
Thank you!
On Sun 22-01-23 12:05:53, Linus Torvalds wrote: > On Sun, Jan 22, 2023 at 1:01 AM Andreas Gruenbacher <agruenba@redhat.com> wrote: > > > > gfs2 writepage fix > > > > - Fix a regression introduced by commit "gfs2: stop using > > generic_writepages in gfs2_ail1_start_one". > > Hmm. I'm adding a few more people and linux-fsdevel to the reply, > because we had a number of filesystems remove writepages use lately, > including some that did it as a fix after the merge window. > > Everybody involved seemed to claim it was just a no-brainer > switch-over, and I just took that on faith. Now it looks like that > wasn't true at least for gfs2 due to different semantics. > > Maybe the gfs2 issue is purely because of how gfs2 did the conversion > (generic_writepages -> filemap_fdatawrite_wbc), but let's make people > look at their own cases. Thanks for the heads up. So we had kind of a similar issue for ext4 but it got caught by Ted during his regression runs so we've basically done what GFS2 is doing for the merge window and now there's patchset pending to convert the data=journal path as well because as Andreas states in his changelog of the revert that's a bit more tricky. But at least for ext4 the conversion of data=journal path resulted in much cleaner and shorter code. Honza
On Mon, Jan 23, 2023 at 11:05:56AM +0100, Jan Kara wrote: > Thanks for the heads up. So we had kind of a similar issue for ext4 but it > got caught by Ted during his regression runs so we've basically done what > GFS2 is doing for the merge window and now there's patchset pending to > convert the data=journal path as well because as Andreas states in his > changelog of the revert that's a bit more tricky. But at least for ext4 > the conversion of data=journal path resulted in much cleaner and shorter > code. https://thunk.org/tytso/images/firestarter-fs-development-without-testing.jpg :-) - Ted