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 DF0D913B2B9 for ; Thu, 6 Jun 2024 07:58:17 +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=1717660700; cv=none; b=BEe5ZL1Q/1UCLf6x/vDdKE89tVGxy2OcUCdVFZkaeuc2bZ9zA1px/1AMKFoLzaIfAX1YG9Ud9IBSwkG7hpvBWQAdo+hSUSh5VD09vlUve3uvntExx4bFCeCbNIe94JTEaJ09aCF9s7PkGJr+hWylHI6ZS4LLpuqzI+4UGpQYAYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717660700; c=relaxed/simple; bh=IKrA5mMVFYCcYocmF3wIqm+BNKjudP5FTaiihYIfZG0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jG/6lJ1+xNqLLnsQDrpEgqtLAu9WlY2EFV4k3fnlteCf5ZPxCPW1k1e7l1rkppb+dybCPJGinUnSp8RMPJeeb1ROLeJXt8OyFBCsg70HF4lHeZ0NO3N/kr3NzLSd4Cykv4lV03zTsijgMAJS07Nx6DXJbjyMFfmdTZ0IazNhv2A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (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=none (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 16AB168D05; Thu, 6 Jun 2024 09:58:14 +0200 (CEST) Date: Thu, 6 Jun 2024 09:58:13 +0200 From: Christoph Hellwig To: Damien Le Moal Cc: Jens Axboe , linux-block@vger.kernel.org, dm-devel@lists.linux.dev, Mike Snitzer , Mikulas Patocka , Christoph Hellwig , Benjamin Marzinski Subject: Re: [PATCH v5 3/4] dm: Improve zone resource limits handling Message-ID: <20240606075813.GB14059@lst.de> References: <20240606073721.88621-1-dlemoal@kernel.org> <20240606073721.88621-4-dlemoal@kernel.org> Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240606073721.88621-4-dlemoal@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) > +static int dm_set_zone_resource_limits(struct mapped_device *md, > + struct dm_table *t, struct queue_limits *lim) Is there much of a point in splitting this out of dm_set_zones_restrictions when almost nothing is left in dm_set_zone_resource_limits after this changes? Either way the logic looks good to me: Reviewed-by: Christoph Hellwig