From patchwork Thu Jul 13 15:27:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 120002 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a6b2:0:b0:3e4:2afc:c1 with SMTP id c18csp1925125vqm; Thu, 13 Jul 2023 09:05:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlETgOlAVFCBJIty6AOTngLOpBMrMEuYPtrKJ8OfTGtyXW5COTh8GLxyoSeQX6C8SFOmhhdS X-Received: by 2002:a05:6a20:244f:b0:12c:30f4:bd0b with SMTP id t15-20020a056a20244f00b0012c30f4bd0bmr2252476pzc.11.1689264309311; Thu, 13 Jul 2023 09:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689264309; cv=none; d=google.com; s=arc-20160816; b=CPIB32MLvmYec/coPUiJ5Un0HEhXRwl2dC0XHLXugnckVJQqlHc7F1xkYDN6u6wGMa TCIWraXhwlL05XiMdqas0/qvQSYswuBkY/4B3b9kP2+qAh9DXhO+VYP9qZ2dpugwVp70 O+SFJVFsho11I2Xnvb3YfoSe4nhRTNi66dR0gI46lIgOp+RvQQIFYzco+40c35UQ3AN0 a5dwZdGylGf74x5R0nqITrRiCVYXvz/SiShhR4eLMh/p1QAg0F+FWWBb3rPaJ/R/XtME +h2G2czFBq/08jowhR5Nh5GDTlrB+xm6frvSaQ2EokN9N5gT/r/tSzL9xUI0PyTw16Lz 7HUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature; bh=DFPeU+Alhlk05t1Rgf4Q6VZc0+AfGwTKsbooff0QJLA=; fh=3DH0jRMeyiWPKxMDYI47PwkvIse1g+cmIZa8imO0Exg=; b=TYQ+vU6M2aZfxwKrg6iNAA2xS9ELZJRmCkKo0NOCN7USX/A4Z16vJfdRZwp18I3ga8 0SUOmGs8SWhMcngv+ExYURja3hdZ/y71+1cCD93GDLa1cu20aR7CDMH41i0Cq4kHrWYP kC6qyoV/oeX8EWGbK5h8ktY7RJIvYckMipakxQLZfSeRZBHDMnXzdIfeb535UlSBnk6M 958OhAoyXQYA/3LF7HWdjB7YGV76Yh5G0UyrTU6DJQSWgnYTTFAKxmi6nINT4okdyk+e 600tQA1NdAfelKlTue41bLKtzOL1650LnlZZqsrJVdSeVy/5NBA59yrfC1aYIDBKgMI2 RAVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OXtC9Zny; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t186-20020a6381c3000000b0055c95ab2367si690421pgd.247.2023.07.13.09.04.53; Thu, 13 Jul 2023 09:05:09 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=OXtC9Zny; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231705AbjGMP2o (ORCPT + 99 others); Thu, 13 Jul 2023 11:28:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234836AbjGMP21 (ORCPT ); Thu, 13 Jul 2023 11:28:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457462117 for ; Thu, 13 Jul 2023 08:27:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7D57761985 for ; Thu, 13 Jul 2023 15:27:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C87CC433C7; Thu, 13 Jul 2023 15:27:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689262074; bh=Yb0FwToWR1mPgzJmQRpGI5uiW5wHMqCirUi7MRvIv3A=; h=Date:From:To:Cc:Subject:From; b=OXtC9ZnyPa+EXeMNNjdqCu+mrCGWsYsc+qdrKid8H31wbOOA/FE9gbctWtSg3/5pJ ssiz/sqS6p3iVFF948KQseuq7J0TE6XaGq+wkFvt+5HkQGHid1It7lE4nz4H8b5a4o KGMrusNec3GwkBOEx+gKZrr9rpgSsS9TEyeX0nxWLtF1ep93fdRZoxriE7GPRPHqdq ieQ+i56bDarBQ/O4G7nYIZJqo4GiWchTnTGhKQ0SzGd78kniB+gv5prsJ/uEDr08jw 8jPhKMze3TSccSZRiYfZtBcfI2GzbjpflAhiNDCyKt1LxJY+UB6j7q/wLL816azo98 nA3lR1F0hvyRQ== Date: Thu, 13 Jul 2023 23:27:49 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Chao Yu , Xin Yin , Chunhai Guo , Yue Hu Subject: [GIT PULL] erofs fixes for 6.5-rc2 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Chao Yu , Xin Yin , Chunhai Guo , Yue Hu MIME-Version: 1.0 Content-Disposition: inline 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_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771322012413920615 X-GMAIL-MSGID: 1771322012413920615 Hi Linus, Could you consider these patches for 6.5-rc2? Three patches address regressions related to post-EOF unexpected behaviors and fsdax unavailability of chunk-based regular files. The other two patches mainly get rid of kmap_atomic() and simplify z_erofs_transform_plain() which I think they are simple enough to be addressed in this cycle. All commits have been in -next for a while and no potential merge conflict is observed. Thanks, Gao Xiang The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5: Linux 6.5-rc1 (2023-07-09 13:53:13 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.5-rc2-fixes for you to fetch changes up to 18bddc5b67038722cb88fcf51fbf41a0277092cb: erofs: fix fsdax unavailability for chunk-based regular files (2023-07-12 00:50:56 +0800) ---------------------------------------------------------------- Changes since last update: - Fix two unexpected loop cases when reading beyond EOF; - Fix fsdax unavailability for chunk-based regular files; - Get rid of the remaining kmap_atomic(); - Minor cleanups. ---------------------------------------------------------------- Chunhai Guo (2): erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF Gao Xiang (2): erofs: get rid of the remaining kmap_atomic() erofs: simplify z_erofs_transform_plain() Xin Yin (1): erofs: fix fsdax unavailability for chunk-based regular files fs/erofs/decompressor.c | 37 +++++++++++++++++-------------------- fs/erofs/inode.c | 3 ++- fs/erofs/zdata.c | 4 ++-- 3 files changed, 21 insertions(+), 23 deletions(-)