Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2083746ybh; Fri, 17 Jul 2020 08:54:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4HWr3hKTvO3im02BF3SQCXiug6KpAEvtNG15Km+pG+WLQTf67vGt27mNRgxzJAQLNTUDl X-Received: by 2002:a05:6402:1655:: with SMTP id s21mr9511002edx.289.1595001279255; Fri, 17 Jul 2020 08:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595001279; cv=none; d=google.com; s=arc-20160816; b=RSk/K8SgCWsTfvs1nLu6iDyp3KbFg01KTrd+a6ebSmSavAh4JWENFI62W3ABUmC+TT aN/Ut5BiPOPkR/Q40S1VnnFbpFBQBcUZQ2oQcXs2pmwt7bsOsNTFjY8/ppZ2zfmTjfGL CmXqvpZJ35r/aQWzcDj3fBn4WXUcXJSeElEVPHZ4IVu/NtNZmrS/YxrzjS07M4NX3kTR XReWb2J+KmyKlj8T2YqA14ncKCu1joQBaEWJmpzXsEo73I8c6FI3k/Xoo4N8NVgLbynO diDilrEGYc0smf/5AWzkILEtHvXfkLyzCPj/+YMYwlqeUNlyVXaZOTF8wSFN13dAiGnc qWWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=PpWu+2lCraqQy8jGM8prXC10Ztf+ZhFiG4s9yQfHFhE=; b=rT8OiR8hyu2OhldwN4Q8w27eHrORFUwVf5FcNlHvxL11B/mhmi/4TFo+Xu3dqQwddK p54f5y592qvoiPtED01gDQtxaE7ruIZ+DJPbmMFwTDgiyZNDNPTvRMIX7XyvFP/WfOdh fzsR6PtGGzxMEzNJctAeaVvxfLZ2JzVRBLFQAcqdCRYQRZhDuMKL91G8mPMPxoxLBIZQ a2uMwH7pp21GNiS9CX8XwzOSBDyjHV6jyziLb+YwGmU78rJoUHhf7j/weilZSCSd+dwk qJD/BAP4A6nzZH4eFXh44l8CZsxgnqnFdSlIi8MU50WDYCfFzAUutN0B3lSlm/uznDEa E1SA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y12si5363094ejj.648.2020.07.17.08.54.09; Fri, 17 Jul 2020 08:54:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726698AbgGQPyD (ORCPT + 99 others); Fri, 17 Jul 2020 11:54:03 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:54476 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726556AbgGQPyC (ORCPT ); Fri, 17 Jul 2020 11:54:02 -0400 Received: from callcc.thunk.org (pool-96-230-252-158.bstnma.fios.verizon.net [96.230.252.158]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 06HFrx67029542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Jul 2020 11:53:59 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id C41AF420304; Fri, 17 Jul 2020 11:53:58 -0400 (EDT) From: "Theodore Ts'o" To: Ext4 Developers List Cc: Alex Zhuravlev , "Theodore Ts'o" Subject: [PATCH 0/4] ex4 block bitmap prefetching Date: Fri, 17 Jul 2020 11:53:48 -0400 Message-Id: <20200717155352.1053040-1-tytso@mit.edu> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org I've revised Alex's original block allocation prefetch changes a bit, and an option to prefetch all of the block allocation bitmaps when the file system is mounted. Please take a look... Alex Zhuravlev (2): ext4: add prefetching for block allocation bitmaps ext4: skip non-loaded groups at cr=0/1 when scanning for good groups Theodore Ts'o (2): ext4: indicate via a block bitmap read is prefetched via a tracepoint ext4: add prefetch_block_bitmaps mount options fs/ext4/balloc.c | 16 +++- fs/ext4/ext4.h | 21 +++++- fs/ext4/mballoc.c | 143 +++++++++++++++++++++++++++++++++++- fs/ext4/super.c | 51 ++++++++++--- fs/ext4/sysfs.c | 4 + include/trace/events/ext4.h | 24 +++++- 6 files changed, 236 insertions(+), 23 deletions(-) -- 2.24.1