Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2869444rdb; Mon, 12 Feb 2024 22:23:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOx/1hLScBPeA873VsKg/YaKCZRa1KZeqERngAf7iKEkt9dG1kfnBU3RtN7zTplUnU1DSK20wTCBy7q0JzDmIUGuxs3qYhoxH4F/iCAw== X-Google-Smtp-Source: AGHT+IHzjQJK0Aax1/Bu8Sj1DnuD7u+Oqd8UlqW9TDzzb6JkSFjVf8xcTwNgvS3Y4WE4lsng03O8 X-Received: by 2002:a05:620a:d41:b0:783:df39:a1cd with SMTP id o1-20020a05620a0d4100b00783df39a1cdmr9279208qkl.46.1707805383434; Mon, 12 Feb 2024 22:23:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707805383; cv=pass; d=google.com; s=arc-20160816; b=lOZaTRmoWmITN7egOKwZLGHAeHOOx4f3q3P7GUAgjhzQkR5t0Vo58TQIBAG16HTNdj GD5f2DXx0gjs/5lKgDRVlDEJ2XS35TCQ/sLPz+M0nKoBwXlx7V2XpopyVRZ6jWZwm3xi xdX/SwPk/AlF2b8bdayoCKnweViUSIC8XJB2ZXRdbm1s2ApLr6sbNG40iaPM6wk2QRa7 qfwnD2sqs8BLoEsE2PIC8St+t1ntRpyjOxLMgt2MCGloSChlAUtnXG2OK3R7FNYxuKT0 Ve+Z9tv6BWYJoM7Etu9N/FTPL2OJyItXNzoWqFWUOkNDMDYwDnKRlpgfTQkETsU95xMV HY/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=WN4BIVJVQ8J+UF1eyPr3SOW9e23Ch1OGwSNZkQfIET8=; fh=MwPJEm98lCx7PDuvqdOx4OdKKRn7Z84pxmUgJRPKkqo=; b=rrqpjXkuX5mRVL8ebyfofJ/8S2ktJxEZhgX846Clmb0eraZmQY8uMr06g5US2m1OG/ ciTLdFF1FZbvostD/u3Fjku6n1Gu9Vpc4kDZcBp0ZFaEpoypoW0H6oNG8qVQzK7YJIsi WV4+QvwCHhO2xEvv+pgv5A8KqrP/KcaYlesNhw2kOH5VEFWz6SvQuc3V5Q+1A+RFzqAS tcbVtvYdRWVnVvruBbyBaeK36Uchb79KPrkUXEkI1WEciM8hhrJiF79EdQLt07yg9hpG OnnMXEgl0xC0lrng37ocN/sQj6gw45Dr7rPeGc9aQZxZHrj9IPJtDQ3dC3gx200EMRFM i+rw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-63008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63008-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCVfL2qffHf60eJWfQS4n8QEReuFB5ZQkHI0zdAQdsbRbRnd08UJCe6H8Iw99d6nKdRVzQoZd0mB8pWRQXGiyFZQH0nJRZcvAU4r1lk2KQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e6-20020a05620a208600b00783dfe9f7e4si7613439qka.464.2024.02.12.22.23.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 22:23:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-63008-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63008-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 34C2A1C21A1E for ; Tue, 13 Feb 2024 06:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A640A168CC; Tue, 13 Feb 2024 06:22:47 +0000 (UTC) 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 8885413AC0; Tue, 13 Feb 2024 06:22:45 +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=1707805367; cv=none; b=k8bhCNasgGzsNcGIoA1hupcCVo4cCvungSTbB2ZxP8V8S46D85PcWS0weG6HRnKP28ir+clo6lt5NCiUPqu/p4aYtp0oB/fr3JWenTTPFBxTBwrUrV/sH44pLvRVAP1k3NbvoAfJeW9RR6hDTgG2qpw+t76OTdtHRBUFGa7KiL4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707805367; c=relaxed/simple; bh=zaggeW5PbD8pwbwivlNHn2JjNDx0xg7709DJc9vd3qI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RGppDUtjUnA/GW/Yz8JEZR5BZZ/x/QoRLbV+4MEa1s+3+3ME+kENNvnNUemLLPsODa5B/zGgTPcDJOzau0tNcxw4+Fb2soBvWDYhUbPCbukCZ3IsjDXiEnDOerJStFdOCfioaN75wuwLjE12/zCj8HD+8nv7txH29YHGUzgCWY0= 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 8D522227A87; Tue, 13 Feb 2024 07:22:40 +0100 (CET) Date: Tue, 13 Feb 2024 07:22:40 +0100 From: Christoph Hellwig To: John Garry Cc: axboe@kernel.dk, kbusch@kernel.org, hch@lst.de, sagi@grimberg.me, jejb@linux.ibm.com, martin.petersen@oracle.com, djwong@kernel.org, viro@zeniv.linux.org.uk, brauner@kernel.org, dchinner@redhat.com, jack@suse.cz, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, tytso@mit.edu, jbongio@google.com, linux-scsi@vger.kernel.org, ming.lei@redhat.com, ojaswin@linux.ibm.com, bvanassche@acm.org, Himanshu Madhani Subject: Re: [PATCH v3 01/15] block: Add atomic write operations to request_queue limits Message-ID: <20240213062239.GA23128@lst.de> References: <20240124113841.31824-1-john.g.garry@oracle.com> <20240124113841.31824-2-john.g.garry@oracle.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240124113841.31824-2-john.g.garry@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Jan 24, 2024 at 11:38:27AM +0000, John Garry wrote: > From: Himanshu Madhani > > Add the following limits: > - atomic_write_boundary_bytes > - atomic_write_max_bytes > - atomic_write_unit_max_bytes > - atomic_write_unit_min_bytes > > All atomic writes limits are initialised to 0 to indicate no atomic write > support. Stacked devices are just not supported either for now. Can you merge this with the next patch? Splitting adding limits vs actually using them seems rather confusing.