From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86B2B271A7B; Mon, 3 Nov 2025 13:47:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762177656; cv=none; b=bdemv1PeOwWOLSxITBWmsUGJy8HDmbR4Xduj6AvPQa+GpnirgTA2+ofoRgzRncOM7dGbU4/se7MjSFPBK1+iz/m5QHsV0rTILw+DEUOD/l/NJoL9te/90O/nw2bOs3cBnyktg1MHlRnY3+W7wmEmUuUWYVpQXDZo3NPwYG8WEg4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762177656; c=relaxed/simple; bh=SzWSy8kwCbuKTxu1PU8OhH0qr7LoFLR/Qs0PwOf85WA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mWLO2reyvkMY9FDLOzBTVWHXqAah71GWZpmbuDQeiGuvtHxzSqUJIGFT2VSsJBAb4eWWZdHGK5Fzr7ty/E7G8RrDiwWTVbrVZrwOadjeSFFKh46rry+LRuGPmpXvTQStt0Gly2AW1ZfRp608EXdg2SWIVZw+M5LsChxdnXgimYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id BA162227AAA; Mon, 3 Nov 2025 14:47:31 +0100 (CET) Date: Mon, 3 Nov 2025 14:47:31 +0100 From: Christoph Hellwig To: Damien Le Moal Cc: Jens Axboe , linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, Keith Busch , Christoph Hellwig , dm-devel@lists.linux.dev, Mike Snitzer , Mikulas Patocka , "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-xfs@vger.kernel.org, Carlos Maiolino , linux-btrfs@vger.kernel.org, David Sterba Subject: Re: [PATCH v2 08/15] block: refactor blkdev_report_zones() code Message-ID: <20251103134731.GB25126@lst.de> References: <20251103133123.645038-1-dlemoal@kernel.org> <20251103133123.645038-9-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251103133123.645038-9-dlemoal@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Mon, Nov 03, 2025 at 10:31:16PM +0900, Damien Le Moal wrote: > In preparation for implementing cached report zone, split the main part > of the code of blkdev_report_zones() into the helper function > blkdev_do_report_zones(), with this new helper taking as argument a > struct blk_report_zones_args pointer instead of a report callback > function and its private argument. > > No functional changes. > > Signed-off-by: Damien Le Moal Looks good: Reviewed-by: Christoph Hellwig