Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp1146295lqs; Wed, 6 Mar 2024 07:35:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVRnDBfWhdPSjrMRBzsZ3dOMOWY7EVc86amO78K++sl5FGbt42glzyQjpZiGq3wSabodptVYp38HeHJfaYaC/zcGiLXrXsPX0DXKpsxhA== X-Google-Smtp-Source: AGHT+IFTQe8y3fMJ0DLfQV2tLabF/sc1Fo8I63N27nMUQkGUQRKzokTJX+lszB7CfKKEks7R6U+R X-Received: by 2002:a17:906:aa0e:b0:a45:4ba5:2917 with SMTP id ko14-20020a170906aa0e00b00a454ba52917mr6071199ejb.75.1709739333012; Wed, 06 Mar 2024 07:35:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709739332; cv=pass; d=google.com; s=arc-20160816; b=g86nDMQ47H6TtCIbMNEthE1duA2Z56yCKde3ML0pGKN6COIweu2+KoeKvIfhsdzCkp K3cLakRIY+mED6u3hDnET4k/4URsprNOQZ3qxMrL8r1foYIV8MujRNmqUClNxLjpwLve 8Mqrhbt1yBpj3us0b8pGPfI+2ZrAk4jJCt+kA66Fpxhmh/PzpavrV3pbrOvwydSx05R2 rmyG1xdL+LUg3Yh/NP/Hg/U8d3w9xtGQczR21JeBCHE47WqLm4jArp2Z2VhoQELlsWR3 M9VCmeHn5zNTNDIEvqRFZ99GK5eJYjdaQ4ri0NI+L/vtObl/ZvvrEH1sMRJwhGhnoXvg OSwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=k+7aPckIbaw56xMg4x5zLxwpAKi5vUALOz1YbOan0kQ=; fh=4zzTcRCA4nBCyFJlETnM7NoP0auNIZjRxhSXsI3eEe8=; b=J3NuhM1k0lE4aPBP5HuupAL6aibRZtKWAU2jN5fNAU7gdGCFYI4gj0anJfQd3jqm1o 2OpbpsbwUT4z9zexGkaNqB4UHQghyUF6Wfc6n+dWgMIR8+AXiag9Wk2suurRvw0d+PQO liK9DVRxmx18Yb3KAoeCV9/A3mUD1AJs6v/N8vOk/qCTv9TpoOzOELJ5D2r6LfgvRNjH NeaHIoU2x88gvUhJC0oF64dKE1vguKU7PEda0vyrWTxmmGZekM+vCf/+SAeLcAbGgGZh YAZ0KBtSb5unXqRFNPVMpOhShJbP3NGiufmq+MPP9ACQIFZ1hae33/sB33YXXXnL2gn4 h0dQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=yiYpHRKB; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-94158-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94158-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t5-20020a170906268500b00a3f85e6d3d4si6279466ejc.1035.2024.03.06.07.35.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 07:35:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-94158-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20230601.gappssmtp.com header.s=20230601 header.b=yiYpHRKB; arc=pass (i=1 spf=pass spfdomain=kernel.dk dkim=pass dkdomain=kernel-dk.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-94158-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-94158-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BAA501F24F2B for ; Wed, 6 Mar 2024 15:35:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2291713540F; Wed, 6 Mar 2024 15:35:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="yiYpHRKB" Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6323B1350D2 for ; Wed, 6 Mar 2024 15:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709739321; cv=none; b=N0rygWw+EXw+5fRDyXA+sRwTAHz6dS6V/q2qdri7fRz5YznAB+EJnPiemxsUWbvKac67xQa5P5PY5oo74V3rMk/tSO4hlf5OX6iNL91WLMVUOlJWiig4tbARnOTVFqPHwV2V6Za3FGk5+A8ikkkcEba5oqOv6BFZHP0/cFgBrg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709739321; c=relaxed/simple; bh=4XBA7h4gk9kZGoLHOXMtYY2N0kUearBB17+7pA7xfVU=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=qQrj70C0iwFrAqsCTB6mNWTZAdP2YB9vFcvvUFCNFEg4u9rpbuv4m84+XYN6t2Mul0VQpZi3EBa+KT75ZUdOpOPftiPflsFiaau2ZXSd3a3hMMoxtxHB1IkY2aQehpdgM0DzGlw/pGHtxlyrEgMzf8FqR8Es9ue5p0bTPcZyH6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=yiYpHRKB; arc=none smtp.client-ip=209.85.166.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Received: by mail-io1-f53.google.com with SMTP id ca18e2360f4ac-7c876b9d070so12642439f.0 for ; Wed, 06 Mar 2024 07:35:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1709739318; x=1710344118; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k+7aPckIbaw56xMg4x5zLxwpAKi5vUALOz1YbOan0kQ=; b=yiYpHRKB8dxaTeWc9yaeQfLV0CfWjyB8SuSfqu83kzipnPId7gRpCul+My1wnfhrW4 WeSfOjc1biXB70d9M4Nw+Ml548ypNaxLsqZcGCqzytTtXClHL2XLV6iGUXvQTzXYr4s/ cbkP2BhCH3FJEF63wysr9C7zXY8XfR/+ZWClTOxWfXR5i8g7bF6Io9svq0Y1cCjQX5Da mfmzHV9k13U4vQy4eBhOBBQEp6Rlnsjs4aJMJAs2WHM1PJvSLmHx3JGW9Lp4Sa8UMpwI 5/6AaD1VIFMMEp5eEtO4w+rXDZZ1p7kFgThU7KGEsU4h65MeP+Ur9GNC5Qy2ya8k8uyz gl5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709739318; x=1710344118; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k+7aPckIbaw56xMg4x5zLxwpAKi5vUALOz1YbOan0kQ=; b=BVgdX7MFEjlbMZkbKjecSA72+NUv5POBoPKbAMR2ssHkCOc8K6DMgo2sM5yHi/AjJu WaV4dDQzrwhvKa6X5j+UEnmmeANsK6x2hQV4F9J1hjQwoulQEO1Aqo5GEXiInFUfMcnh 6q3SNmUJl5yyRWD97UO3+wPdkGxGvNYRyJP+HP47EgY4CSNkLKNA3NRjI1xRqR59DeBd WD2ZD5cIJm1q7tzW4b3ssVmtBcIDyWyiLNiWqreZPwusSFR87VSO7c1tBScSBvGz4jZ9 uXmyXnRDjSyBnMswat6IiOOESqSR7GO5L81V8/bNjE/vr5oZ/Fi2zJKcgeQau2BJYo+4 XjpQ== X-Forwarded-Encrypted: i=1; AJvYcCXNb2dXd2FU2UYhbxGhTmiTg5l2srly5+TQicVfqO7nPsEo/rc3uWRv9d/1G/GxMUd2RB07sVPxzjtzTBFsMoebqKDXoum7oIhr2bKq X-Gm-Message-State: AOJu0YzY98yVivH8SekzFoIfLAU7Hzr/KxdtePOlQFTmwJ49XqP/LFOh lBYA0sW3wrN3R9OpMSflwdV3/MlQ0sZEkEiaaCClLAUKgen2Gt02v52sKrFs6KE= X-Received: by 2002:a05:6e02:1c46:b0:365:fe09:6431 with SMTP id d6-20020a056e021c4600b00365fe096431mr3732415ilg.3.1709739318559; Wed, 06 Mar 2024 07:35:18 -0800 (PST) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id t2-20020a92cc42000000b003660612cf73sm324467ilq.49.2024.03.06.07.35.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 07:35:18 -0800 (PST) From: Jens Axboe To: Tony Battersby Cc: "Matthew Wilcox (Oracle)" , Andrew Morton , "Kirill A . Shutemov" , Hugh Dickins , Hannes Reinecke , Keith Busch , linux-mm , linux-block@vger.kernel.org, linux-fsdevel , linux-kernel@vger.kernel.org In-Reply-To: <86e592a9-98d4-4cff-a646-0c0084328356@cybernetics.com> References: <86e592a9-98d4-4cff-a646-0c0084328356@cybernetics.com> Subject: Re: [PATCH] block: Fix page refcounts for unaligned buffers in __bio_release_pages() Message-Id: <170973931770.23995.2545307873508420124.b4-ty@kernel.dk> Date: Wed, 06 Mar 2024 08:35:17 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.5-dev-2aabd On Thu, 29 Feb 2024 13:08:09 -0500, Tony Battersby wrote: > Fix an incorrect number of pages being released for buffers that do not > start at the beginning of a page. > > Applied, thanks! [1/1] block: Fix page refcounts for unaligned buffers in __bio_release_pages() commit: 38b43539d64b2fa020b3b9a752a986769f87f7a6 Best regards, -- Jens Axboe