From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (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 363CD14006; Wed, 3 Apr 2024 06:43:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712126601; cv=none; b=hrlvOFrOoRNpIg8968okMwWvLtwVKMloha1Fjm/7vglf4kiBxsEvGnPYGLjZyQ3ULVTeJwD1O1SQokyWsZIB0pcGjZGBpMQtbeOSxksADy3uaSPhz1unHAqaSAJZs4ZQKED0i6OnCYm2mjV9kc/UNnIkjGPfftRSIuz4YtSrpP8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712126601; c=relaxed/simple; bh=Mt8wtKIF4bniZkWDah5sp049cQyHcFvCzX2SD3ujZ8Y=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=qK5LU/YL4tswvyuD0SLh1ShBtsdNLGWnPPRslAgLyW02yY8HMfLFkq6SnhQaKIn9WBvBUZct/ByPZdpP4JyQJ/aO8NGp/mTDJFYeE8MQS0qyqPfYWqM3tmwYHG0uwIS9iH9dkYxwpHhHgn5Wi3v2aIgbmNRWDHweflBFKEzk7C4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=AYvYeP4R; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=wodbNKg6; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="AYvYeP4R"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="wodbNKg6" Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 57E6133C9B; Wed, 3 Apr 2024 06:43:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1712126598; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uaCDM0b5Dc2HBBjC+zW0SWZcPsJhQ3Z48R0iIMtV7hA=; b=AYvYeP4RPBAmgB3pKI9F33cesqn44MGWkrnSTyjOhEnqlpT6C6NddR7xdJb+H9PSbGQArI pKGJ2bdjxenY6jqrnk1B2X2rVR0Fk5nxWTUgoJ57ggjva+qYxF5UbsnAUC6tDJHhK2yKAv oIqTU9CC7Xz/h6wZie3TEKZ+oEyLjCg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1712126598; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uaCDM0b5Dc2HBBjC+zW0SWZcPsJhQ3Z48R0iIMtV7hA=; b=wodbNKg6vuAzzYAw347BOECVPslUKR1WZjMsUNsNgej0SHUVaYmqIGlMW886f4Tx4LK/UY YmNDqBk+Htg1cjCQ== Authentication-Results: smtp-out1.suse.de; dkim=none Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 7FE2313357; Wed, 3 Apr 2024 06:43:17 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap2.dmz-prg2.suse.org with ESMTPSA id qOypG4X6DGb8CAAAn2gu4w (envelope-from ); Wed, 03 Apr 2024 06:43:17 +0000 Message-ID: <8d0b8e39-7ca5-40eb-9f87-83c55e9357e2@suse.de> Date: Wed, 3 Apr 2024 08:43:17 +0200 Precedence: bulk X-Mailing-List: linux-scsi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 25/28] block: Replace zone_wlock debugfs entry with zone_wplugs entry Content-Language: en-US To: Damien Le Moal , linux-block@vger.kernel.org, Jens Axboe , linux-scsi@vger.kernel.org, "Martin K . Petersen" , dm-devel@lists.linux.dev, Mike Snitzer , linux-nvme@lists.infradead.org, Keith Busch , Christoph Hellwig References: <20240402123907.512027-1-dlemoal@kernel.org> <20240402123907.512027-26-dlemoal@kernel.org> From: Hannes Reinecke In-Reply-To: <20240402123907.512027-26-dlemoal@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -1.16 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spamd-Result: default: False [-1.16 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:98:from]; NEURAL_HAM_LONG(-0.06)[-0.061]; BAYES_HAM(-3.00)[100.00%]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; MX_GOOD(-0.01)[]; NEURAL_HAM_SHORT(-0.20)[-1.000]; RCPT_COUNT_SEVEN(0.00)[10]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(2.20)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:98:from] X-Spam-Level: X-Rspamd-Queue-Id: 57E6133C9B On 4/2/24 14:39, Damien Le Moal wrote: > In preparation to completely remove zone write locking, replace the > "zone_wlock" mq-debugfs entry that was listing zones that are > write-locked with the zone_wplugs entry which lists the zones that > currently have a write plug allocated. > > The write plug information provided is: the zone number, the zone write > plug flags, the zone write plug write pointer offset and the number of > BIOs currently waiting for execution in the zone write plug BIO list. > > Signed-off-by: Damien Le Moal > Reviewed-by: Christoph Hellwig > Reviewed-by: Bart Van Assche > --- > block/blk-mq-debugfs.c | 2 +- > block/blk-mq-debugfs.h | 4 ++-- > block/blk-zoned.c | 31 ++++++++++++++++++++++++------- > 3 files changed, 27 insertions(+), 10 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich