From patchwork Mon Jun 1 15:23:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Sterba X-Patchwork-Id: 11582229 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 698E660D for ; Mon, 1 Jun 2020 15:23:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5BE99207DF for ; Mon, 1 Jun 2020 15:23:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727013AbgFAPXE (ORCPT ); Mon, 1 Jun 2020 11:23:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:56926 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbgFAPXE (ORCPT ); Mon, 1 Jun 2020 11:23:04 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 2E442ADF7; Mon, 1 Jun 2020 15:23:05 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 354F6DA79B; Mon, 1 Jun 2020 17:23:01 +0200 (CEST) From: David Sterba To: linux-btrfs@vger.kernel.org Cc: David Sterba Subject: [PATCH 0/9] Scrub cleanups Date: Mon, 1 Jun 2020 17:23:00 +0200 Message-Id: X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Remove kmaps, simplify the checksum calculations. David Sterba (9): btrfs: scrub: remove kmap/kunmap of pages btrfs: scrub: unify naming of page address variables btrfs: scrub: simplify superblock checksum calculation btrfs: scrub: remove temporary csum array in scrub_checksum_super btrfs: scrub: clean up temporary page variables in scrub_checksum_super btrfs: scrub: simplify data block checksum calculation btrfs: scrub: clean up temporary page variables in scrub_checksum_data btrfs: scrub: simplify tree block checksum calculation btrfs: scrub: clean up temporary page variables in scrub_checksum_tree_block fs/btrfs/scrub.c | 151 +++++++++++++---------------------------------- 1 file changed, 42 insertions(+), 109 deletions(-)