Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp32471pxb; Fri, 29 Oct 2021 05:20:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ2zxKwz5Qa0ZxKq7+0Fw7gk89tWpzR7nzVZn6W7InGgGRNCuoZkDSIFZpGeWVtcxhRGJE X-Received: by 2002:a17:90a:a087:: with SMTP id r7mr19762546pjp.84.1635510008795; Fri, 29 Oct 2021 05:20:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635510008; cv=none; d=google.com; s=arc-20160816; b=YG2unBZIQtEXj0vBHHr7bUiXqi1EiGt+9Q4f48N7GYtqWfn07xgfP+3TRyLoqyWbyJ rGFdc1owspk/7U83TE6hIC7+mVLH7GFld8Aq1srqnB0zfxRccR3HYrRLa/fc0YD1SRJx 1eKI7Swm3e24ZAQtuq4oMRouUJmuyBE0d86lpZDqq5KYGP7newPIl9CtNv6dEBrYW3lw IwfeCCCC7DHgktHI97dX6N5TQL883Jm3rJEDGKF+R3NGv5Ks3c7/EOWwbWSUMXDH96e8 v1gLpkHs4c5ZSQkROPqLUIdrZlLj4bCBd5b8h+vQArG6GSMNLnhqflp2dACnHHKtavmu Hseg== 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=9+iSz6ZxCX5bpyCjTv0yyev2kAAKQ2R39mBVeMmTFMM=; b=ObTl1SLRNdCn0aCe8UT446qkkWqfeRQKrWMEUnvR2YVIRixZSCDUSlvNo0ON5eHxvA UMG/ZJR48uPLODYarD8PY2viBaH1zZ+KiUG4phWu/w82acurrB06iWyCx35k1h9HL7Kw eCOZxodXkHkpPfBldjO+RTN2L4pPBD6/BK7fk/CH+sAoBbI6v7Zahuu3Gz4xhBs+6dW6 OEzfOmSTmDDDIxmyOJJuoFqnIWfOd+aasFRdlLXqYkZnbhBEvWFMIbyzKr9dzxI/BaqG Q96SOyMHER62NCouDfa2k+nGg/O7hvxGLzd5zbvtIeVQWCEWvv3KGdtEVZIrQGOOObf0 mWhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=hwEFOETD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h125si2150237pgc.201.2021.10.29.05.19.53; Fri, 29 Oct 2021 05:20:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=hwEFOETD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231418AbhJ2MU7 (ORCPT + 99 others); Fri, 29 Oct 2021 08:20:59 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:55850 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbhJ2MU6 (ORCPT ); Fri, 29 Oct 2021 08:20:58 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 12A232196F; Fri, 29 Oct 2021 12:18:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1635509909; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=9+iSz6ZxCX5bpyCjTv0yyev2kAAKQ2R39mBVeMmTFMM=; b=hwEFOETDkJG2HsVXIjUVADf2us4hHwdowZ4jl+DRMmeUNwKO+gTgn9wmKTcdB6OL62GX20 8ZuwNYAvl5E0QfwsndQWZtIDQ6KfmI7d9cL1E0iIuKy26eka+59o/d8Y7ES2zHcY/C0GSx LUO97gHmhWL6ighu27ePpem5eClfSk4= Received: from ds.suse.cz (ds.suse.cz [10.100.12.205]) by relay2.suse.de (Postfix) with ESMTP id 0B65CA3B81; Fri, 29 Oct 2021 12:18:29 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 0CDFFDA7A9; Fri, 29 Oct 2021 14:17:55 +0200 (CEST) From: David Sterba To: torvalds@linux-foundation.org Cc: David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Btrfs fixes for 5.15-rc8 Date: Fri, 29 Oct 2021 14:17:55 +0200 Message-Id: X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, last minute fixes for crash on 32bit architectures when compression is in use. It's a regression introduced in 5.15-rc and I'd really like not let this into the final release, fixes via stable trees would add unnecessary delay. The problem is on 32bit architectures with highmem enabled, the pages for compression may need to be kmapped, while the patches removed that as we don't use GFP_HIGHMEM allocations anymore. The pages that don't come from local allocation still may be from highmem. Despite being on 32bit there's enough such ARM machines in use so it's not a marginal issue. I did full revert of the patches one by one instead of a huge one. There's one exception for the "lzo" revert as there was an intermediate patch touching the same code to make it compatible with subpage. I can't revert that one too, so the revert in lzo.c is manual. Qu Wenruo has worked on that with me and verified the changes. Please pull, thanks. ---------------------------------------------------------------- The following changes since commit 4afb912f439c4bc4e6a4f3e7547f2e69e354108f: btrfs: fix abort logic in btrfs_replace_file_extents (2021-10-07 22:08:06 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-5.15-rc7-tag for you to fetch changes up to ccaa66c8dd277ac02f96914168bb7177f7ea8117: Revert "btrfs: compression: drop kmap/kunmap from lzo" (2021-10-29 13:25:43 +0200) ---------------------------------------------------------------- David Sterba (4): Revert "btrfs: compression: drop kmap/kunmap from generic helpers" Revert "btrfs: compression: drop kmap/kunmap from zstd" Revert "btrfs: compression: drop kmap/kunmap from zlib" Revert "btrfs: compression: drop kmap/kunmap from lzo" fs/btrfs/compression.c | 3 ++- fs/btrfs/inode.c | 3 ++- fs/btrfs/lzo.c | 36 +++++++++++++++++++++++++----------- fs/btrfs/zlib.c | 36 +++++++++++++++++++++++++----------- fs/btrfs/zstd.c | 27 ++++++++++++++++++--------- 5 files changed, 72 insertions(+), 33 deletions(-)