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 X-Spam-Level: X-Spam-Status: No, score=-20.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6651C433E0 for ; Sat, 13 Mar 2021 12:41:12 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0F75264F1D for ; Sat, 13 Mar 2021 12:41:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F75264F1D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4DyMjy4hy0z3cT1 for ; Sat, 13 Mar 2021 23:41:10 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OKfiQcAh; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dZta7Ggs; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=216.205.24.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=hsiangkao@redhat.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OKfiQcAh; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dZta7Ggs; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DyMjs5NSjz2xZp for ; Sat, 13 Mar 2021 23:41:03 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615639258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=eagCFlIDHMIudK4vof/BRyU/fRgM/eIedg5D6cKZPVI=; b=OKfiQcAh/OOWl9VkGvIbd24DETtUdxYKZ8kJschuW0aq+FS+JNOFo+3Qpv3sg0A14MXfye tb98gPEjvKbL3fcuGdInZexo9fx4NAvioh1A/7VHBoeHbatM/7Hav4oi8IWjAZwiLqu0nu xg5uMmNwjCnm60o0FKCFOc28iYlz0U0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615639259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=eagCFlIDHMIudK4vof/BRyU/fRgM/eIedg5D6cKZPVI=; b=dZta7GgsxxXWPvKyg7/WSOOlF4yDMsBUyz5xaHIvL5RgVs08i9hkiexzuiLANp7GnXdNNv EFPDe304Z54/oaBthgbFsvSy7nRn3b1in62Ofu9rAG9p0zK9JqZdNduM/fM0MOexr4a0KI X6UtesbsO+iwi3nW1Hl4o1dqmpqJV4E= Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-355-aal2bWVPNkSgRsPj1gtOlQ-1; Sat, 13 Mar 2021 07:40:56 -0500 X-MC-Unique: aal2bWVPNkSgRsPj1gtOlQ-1 Received: by mail-pg1-f199.google.com with SMTP id y26so14694955pga.10 for ; Sat, 13 Mar 2021 04:40:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=eagCFlIDHMIudK4vof/BRyU/fRgM/eIedg5D6cKZPVI=; b=YzOFQhl75RgDvTBoZc9Bsz3pcb5XptDiO+Y1XnTySV8MNcwKscNwdTGsNfiTMBnP7X Zhkc2C3FfTMYdvpKfdZGw0ZOpBo6aIXmxShi6DPYOMQwhKDpH0vYmXSUMn0b0RzO8cOb jNakhyLSOiFZ74G8bzzbZWq7CpnD1ilpJA4xMNPHBTZsddnZUU5Ckj1WxxeUcC7GVh8S Lxn009bQOoYBmFk5pQnkUV8L3axZrm75W5lI8eAa1HwuHuKx0ml+YwRp/3MlioyUBErU raJ4LEskVr29M/BOdeiiS/1U1926EnHy3tCyK2yf8BKqXLRqoEE6NYbX5w1pG7BVigE+ Uhtg== X-Gm-Message-State: AOAM532PNEkk07jMxN3DWHmecgfkWQ5Yv5vcD/p7Zjway/Zbhj8I2K6t jsLYpBJFUidYjbg7QTat3kk5CC9R8EJfLtxfLcRwasb2/6H3dhWmW0QZq02rJbBEAu3DaOizLy0 FdCl4G8/mxzjrucmjhT3zc88p X-Received: by 2002:a63:fb18:: with SMTP id o24mr15495315pgh.55.1615639255519; Sat, 13 Mar 2021 04:40:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJytP436HyeGcc23xgylTsiHMzCO6hv5nMP+KgzqnRJZfCRlztmbsqPrh1SjFQGmJRPSNmOR1A== X-Received: by 2002:a63:fb18:: with SMTP id o24mr15495303pgh.55.1615639255279; Sat, 13 Mar 2021 04:40:55 -0800 (PST) Received: from xiangao.remote.csb ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id w18sm5016788pjh.19.2021.03.13.04.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Mar 2021 04:40:54 -0800 (PST) Date: Sat, 13 Mar 2021 20:40:44 +0800 From: Gao Xiang To: Linus Torvalds Subject: [GIT PULL] erofs fix for 5.12-rc3 Message-ID: <20210313124044.GA488856@xiangao.remote.csb> MIME-Version: 1.0 User-Agent: Mutt/1.10.1 (2018-07-13) Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hsiangkao@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin DEVERA , linux-erofs@lists.ozlabs.org, LKML Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" Hi Linus, Could you consider this pull request for 5.11-rc3? All details about this new regression are as below. All commits have been tested and have been in -next for days. This merges cleanly with master. Thanks, Gao Xiang The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-5.12-rc3 for you to fetch changes up to 9f377622a484de0818c49ee01e0ab4eedf6acd81: erofs: fix bio->bi_max_vecs behavior change (2021-03-08 10:43:32 +0800) ---------------------------------------------------------------- Change since last update: Fix an urgent regression introduced by commit baa2c7c97153 ("block: set .bi_max_vecs as actual allocated vector number"), which could cause unexpected hung since linux 5.12-rc1. Resolve it by avoiding using bio->bi_max_vecs completely. ---------------------------------------------------------------- Gao Xiang (1): erofs: fix bio->bi_max_vecs behavior change fs/erofs/data.c | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-)