From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.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 DC71A4519A6 for ; Tue, 4 Aug 2026 13:21:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785849722; cv=none; b=VylWvaZ0BVXdLcKRPP/ObZWSNBvSGCzqp7agGKp66ZLBwIOKNqyzSRZbzgfdt7cA74DvkY7N2Vf35IFf23aqTZI+maZYN9WmA4BUSSVBqsPwi7IxQv+2meJ2ZS/WV6xp8KSBuQSZ5m2PaL/wuFUqdXgGSt9mHPfdaBUtAKWmNi4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785849722; c=relaxed/simple; bh=F1Ns0YPbju+5JU6TaXtv4zBd5RxYGzvG2uXQRqInw8A=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=MgQdn235cIIJoX5J74sm0J0AxgC8qyrE7MiQdQxVcAqSzrIpq2rOAcEXPtZsn+V0/cktN2eprBPZgu2BJ12r6PWWUfSY7hOwge0H6bIxqEPFTf789h9uQPYS550WQVLRZ5Iq2XJfFUd7FeSNtLlQCwARgzDp3MrlBhDiT19tQxk= 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.20251104.gappssmtp.com header.i=@kernel-dk.20251104.gappssmtp.com header.b=CIv1N6Tz; arc=none smtp.client-ip=209.85.161.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20251104.gappssmtp.com header.i=@kernel-dk.20251104.gappssmtp.com header.b="CIv1N6Tz" Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-6ae409c12f1so2119192eaf.1 for ; Tue, 04 Aug 2026 06:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20251104.gappssmtp.com; s=20251104; t=1785849719; x=1786454519; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:date:message-id :subject:references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=tKaJVZUyE8L3YDu9jVIaa21DRhvEs53FJAhqoPHjpPQ=; b=CIv1N6TzY1RjDCYKzZREb1qHFJo3RNAlX6y6md0JsIgnej9aPbOEKkKluC19WwHhgO iNgDKS4zHLhTOK3+tQ6qKxuhx0v/a70dRjtWiejopNUIM5HEetwEDKmkUUj1QQpiwRTF vJ3NSx8V4+jDG7Fy/uMNAsm+tkKXoQXyJd90BvcEAUjEkaLF11B57lp0PfVavOvJu8XS PPq8U89Ban06nlavzIYfzo+fZLMaVGOoB1KtakmPIsr+LuMENPrKwwlQ2Qg5oQbEAmfx mlbIOmiH0O+8h+qUmUCa2ESzS/JZVKQQ2pv+YGFdn8n1+KXSQCtSdZfv4YGq4SnRX5fs k0cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785849719; x=1786454519; h=content-transfer-encoding:content-type:mime-version:date:message-id :subject:references:in-reply-to:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=tKaJVZUyE8L3YDu9jVIaa21DRhvEs53FJAhqoPHjpPQ=; b=Ihh80TNfX6wL0DrnRRDubuedudJG1nLHydb5Ug68olerjS0BL1tTCeGGR2UDWYpZVw A8t7YBOVYMthVmfbT127a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u900KuyqKyoEJsTmECfw== X-Received: by 2002:a05:6820:61a:b0:6a3:da23:505f with SMTP id 006d021491bc7-6ae432ee256mr17769203eaf.23.1785849718728; Tue, 04 Aug 2026 06:21:58 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-458f6764087sm11957112fac.17.2026.08.04.06.21.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Aug 2026 06:21:57 -0700 (PDT) From: Jens Axboe To: dlemoal@kernel.org, raoxu Cc: hch@lst.de, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org In-Reply-To: <4659F8F0C6C328EA+20260804052942.1186727-1-raoxu@uniontech.com> References: <4659F8F0C6C328EA+20260804052942.1186727-1-raoxu@uniontech.com> Subject: Re: [PATCH v3] Documentation: block: zloop: clarify capacity alignment Message-Id: <178584971685.948879.5527639409751781985.b4-ty@b4> Date: Tue, 04 Aug 2026 07:21:56 -0600 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.15.2 On Tue, 04 Aug 2026 13:29:41 +0800, raoxu wrote: > zloop divides the requested capacity by the zone size to determine the > number of zones. Since it uses one zone size for all zones, a smaller last > zone is not supported and an unaligned capacity is rounded down. > > The capacity_mb description incorrectly states that the capacity is rounded > up. Correct it to document the actual behavior. > > [...] Applied, thanks! [1/1] Documentation: block: zloop: clarify capacity alignment commit: d73b5b0690e36b2a9e6022f6712e9fa7fd338632 Best regards, -- Jens Axboe