Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5249039iog; Wed, 22 Jun 2022 15:38:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vRpQu08Ptxm3kWSb3I+OHZ2MVOu7+oJFR3zujKRnmdcIRWMXRfOWC6or+1iLUGmS4GqFJJ X-Received: by 2002:a17:907:7f06:b0:6fe:b81f:f885 with SMTP id qf6-20020a1709077f0600b006feb81ff885mr5335167ejc.621.1655937495522; Wed, 22 Jun 2022 15:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655937495; cv=none; d=google.com; s=arc-20160816; b=vA2CiR4YFDbQzP4tZXTSETJxw1AskYWnyV4vrgB3KG6pPk7bP8lTsuqXwdwIUqJ4nm vRfdqVubHk5o35biO2mxMbNwAsffU7MAVeoxhivm5+bJYECWven6J9KkNDxcq38YmybG rfpKZQysoaLnYKUCB3Aqduk6/5PHOPfV9xHwN/IXc7Zc21vpCLtamdUXa3EY7thmJ7N5 NpgqyhO3yoiTmewKEMVJaar5fCbKHwoSpLdoqrkDuRfni5T3HxMzeiN1puciGpJhcgzH Ekm1GzycAU5EdXysvz5Wl/U0Iziecmc39gx320ECi+9KiE9xqx5dUbvY2LMqHuZKmQK7 gNLg== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=QAYDnhWBUumQJXLfjLM/HrotAv8NVofKnBHrbwoQ4uI=; b=YBIvHrO3W0sw7hSvyLYd2N332VYSw0ffCnxMo7iyHyH5BWK1nvz5NGB0bD6RXBvdix XymBu+PE1NkZV7By3oEIOU3w5iPwISvlJ8f640EWiiOxje+aADaae+AfL8I83znva947 h+DSa0imo/yIAoVzJ5chtyEZuKEwTejqNiBNXLhbxHaAluc/mjPS+eU/ZYr3BqNI8LlL l8dmYgBeZhiSubVUAGHaFe/Mga+zZlwRUs2ms2DyGEky4Yu/Fz4b2HKA78xU6wzl998U JQuPRsOX53Y+F5pKBaQXmZh5W/eGEZBL4QqT7j6tgh5gyo0GnSoiM2nOz34SaG4QWcJP qpgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=T4SQKvmV; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020a05640226cc00b004358cdfe7e1si10866718edd.131.2022.06.22.15.37.50; Wed, 22 Jun 2022 15:38:15 -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-dk.20210112.gappssmtp.com header.s=20210112 header.b=T4SQKvmV; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359510AbiFVWdP (ORCPT + 99 others); Wed, 22 Jun 2022 18:33:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359295AbiFVWdN (ORCPT ); Wed, 22 Jun 2022 18:33:13 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CCF7222A8 for ; Wed, 22 Jun 2022 15:33:12 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id g10-20020a17090a708a00b001ea8aadd42bso829505pjk.0 for ; Wed, 22 Jun 2022 15:33:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:in-reply-to:references:subject:message-id:date :mime-version:content-transfer-encoding; bh=QAYDnhWBUumQJXLfjLM/HrotAv8NVofKnBHrbwoQ4uI=; b=T4SQKvmVgykOMJflWwdcXiHwHaW6ppUL6HpcoyV5P5YmLv05PZ6ywgtWJGQ81+ry4m KszItlKZ3EpSACiBoKNrLwpXRyen8O2vs6mNbpNljaC5f++yyLxx9MZMY2XBeRgdaKGS A09Kxam4vbOBqas6DMCnXxbiHv2vgOyUg+nis+ZaifLjO2p3D62Uamrmaacp3j6HzKLd gCaxNXS5PcwEZ9PvFm7wmN9+rrIK3WKQrtYGPvw3alATQw6CJ/odCJ1ugivLjM2GCFEs cQDUIfAud4wtRq7y5/IGcX6YRcyll6JC9SwX3zx14ytWSwCqmz1r1cPZ2rC2SAw1Tj2n 6x8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject :message-id:date:mime-version:content-transfer-encoding; bh=QAYDnhWBUumQJXLfjLM/HrotAv8NVofKnBHrbwoQ4uI=; b=K6Y8XEGPDRBD5LzvzTdo0pXQXR5ZX64RkCHP5iqlCWkVr7iuzgeccln2Ob3UtrlhgR p3JRQeLZLptpA9Zds8M+mLmpE8c1WGISr3oro3o0rN8BryjylZrzfUma+kkbTj8OZPgZ UxquffEkIhPM9Z3o0O/+fOouhMUqdYrYtt2zt8CiEnqnfrwhP8c0PiDnauHYcAIDxDrN WyQ1nPKewNRCiP6Qy23NLYoKjw350CymqsRafDxSq25jGNCKGod+MC5yxiOs/GtlJcVs Js6B3RCpkviFgUSU40yjacGG33TaTkl2R3pCefamC9ZHb5hg8MN5BUAjWCj6mfQPhyX4 woYQ== X-Gm-Message-State: AJIora8NN9LlffSJvm8pBJdnmAtSeb28ne6q3zRBIKbOup0PRGASpAt2 jIkCdtRjDvwX57kqBe+U/Aichw== X-Received: by 2002:a17:902:e810:b0:16a:2934:c8f7 with SMTP id u16-20020a170902e81000b0016a2934c8f7mr16468040plg.171.1655937191761; Wed, 22 Jun 2022 15:33:11 -0700 (PDT) Received: from [127.0.1.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id m14-20020a63ed4e000000b0040d2717473fsm2191066pgk.38.2022.06.22.15.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jun 2022 15:33:11 -0700 (PDT) From: Jens Axboe To: christoph.boehmwalder@linbit.com Cc: lars.ellenberg@linbit.com, drbd-dev@lists.linbit.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, philipp.reisner@linbit.com In-Reply-To: <20220622204932.196830-1-christoph.boehmwalder@linbit.com> References: <20220622204932.196830-1-christoph.boehmwalder@linbit.com> Subject: Re: [PATCH] drbd: bm_page_async_io: fix spurious bitmap "IO error" on large volumes Message-Id: <165593719059.163762.1120892404181433441.b4-ty@kernel.dk> Date: Wed, 22 Jun 2022 16:33:10 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Wed, 22 Jun 2022 22:49:32 +0200, Christoph Böhmwalder wrote: > From: Lars Ellenberg > > We usually do all our bitmap IO in units of PAGE_SIZE. > > With very small or oddly sized external meta data, or with > PAGE_SIZE != 4k, it can happen that our last on-disk bitmap page > is not fully PAGE_SIZE aligned, so we may need to adjust the size > of the IO. > > [...] Applied, thanks! [1/1] drbd: bm_page_async_io: fix spurious bitmap "IO error" on large volumes commit: 66923326b519bbc4ebcb5275645b58427f801824 Best regards, -- Jens Axboe