From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 59BB5420230 for ; Tue, 27 Feb 2024 16:26:12 +0100 (CET) Date: Tue, 27 Feb 2024 16:26:09 +0100 From: Christoph Hellwig To: Yu Kuai Subject: Re: [PATCH 06/16] md/raid1: use the atomic queue limit update APIs Message-ID: <20240227152609.GA14782@lst.de> References: <20240226103004.281412-1-hch@lst.de> <20240226103004.281412-7-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: Jens Axboe , dm-devel@lists.linux.dev, linux-raid@vger.kernel.org, Mike Snitzer , Philipp Reisner , linux-block@vger.kernel.org, Song Liu , Mikulas Patocka , "yukuai \(C\)" , Lars Ellenberg , Christoph Hellwig , drbd-dev@lists.linbit.com List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 26, 2024 at 07:29:08PM +0800, Yu Kuai wrote: > Hi, > > 在 2024/02/26 18:29, Christoph Hellwig 写道: >> Build the queue limits outside the queue and apply them using >> queue_limits_set. Also remove the bogus ->gendisk and ->queue NULL >> checks in the are while touching it. > > The checking of mddev->gendisk can't be removed, because this is used to > distinguish dm-raid and md/raid. And the same for following patches. Ah. Well, we should make that more obvious then. This is what I currently have: http://git.infradead.org/?p=users/hch/block.git;a=shortlog;h=refs/heads/md-blk-limits particularly: http://git.infradead.org/?p=users/hch/block.git;a=commitdiff;h=24b2fd15f57f06629d2254ebec480e1e28b96636