From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 12CF81AC765; Thu, 20 Jun 2024 19:34:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718912089; cv=none; b=A+ITdyj80xtcejEzQ+53vxmBNE8hrvVKutcKrcmcZdClA4ryfUCHZg8GfSC5HCah5PymcR1XPds26fD0cjRFbqLoqn3tsIM8K3n1YxYUZIQd0YskdPC0DKW/XkGl7lH6h7vXPTiQgzwvWVRrJrjbmTyjZ3tnQXshU60N2h7Qe5M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718912089; c=relaxed/simple; bh=1EGjSaAkB1YQJOO1prnZTUFPyCHdfm5b919dIp24FJE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rkBC4OhJNp8L5EhRUXWClVG6wJIhqr/vnK4VnJQj1gRNnObpSWsZE36gSH+mtL/1DbxZbNv/MpcWD6/TTf8w4Iq1TVR93YIHbkeg/YEylmkKqJ7erTvnrpNkAGuNHudcVmBQ2QhlDzazGZLIway/Iz14bnZ5MpmZBy4Dhi/QAaY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PRKfXkgc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PRKfXkgc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A067CC2BD10; Thu, 20 Jun 2024 19:34:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718912088; bh=1EGjSaAkB1YQJOO1prnZTUFPyCHdfm5b919dIp24FJE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PRKfXkgc9QX7uPw61LGjpNWTKFSnEvisLeeJ/jTuz3AlgVK5rZj+f416vTlxlfL4R 8ZSA11NPqYTmf9X3HqhH6dY0k0UxNjhydixn/yvQwm4+aMmjIjJQ4KXiSe/4HY9irT b1ZiQexo81F8+3U2t+EFK3YFI0lIJkCeLxowhtsozJTc04q7pOeft0I4MtfmZb6uWF B2iv5exJ7Su7K4Q4Irly6yi7k8d8oap8EScPr7QKh59iZnxxgG+sFjpgmidsuvxvhn 94jqdu7GWPELvtUwzkEr1NeeES/MNOCbtLW5CX1dNx0PtrRd9ea7rmP8n/MqZaPGYM iK0FJ/Nhozd4g== Date: Thu, 20 Jun 2024 13:34:44 -0600 From: Keith Busch To: John Garry Cc: axboe@kernel.dk, hch@lst.de, sagi@grimberg.me, jejb@linux.ibm.com, martin.petersen@oracle.com, viro@zeniv.linux.org.uk, brauner@kernel.org, dchinner@redhat.com, jack@suse.cz, djwong@kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, tytso@mit.edu, jbongio@google.com, linux-scsi@vger.kernel.org, ojaswin@linux.ibm.com, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, io-uring@vger.kernel.org, nilay@linux.ibm.com, ritesh.list@gmail.com, willy@infradead.org, agk@redhat.com, snitzer@kernel.org, mpatocka@redhat.com, dm-devel@lists.linux.dev, hare@suse.de, Himanshu Madhani Subject: Re: [Patch v9 05/10] block: Add core atomic write support Message-ID: References: <20240620125359.2684798-1-john.g.garry@oracle.com> <20240620125359.2684798-6-john.g.garry@oracle.com> Precedence: bulk X-Mailing-List: io-uring@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: <20240620125359.2684798-6-john.g.garry@oracle.com> On Thu, Jun 20, 2024 at 12:53:54PM +0000, John Garry wrote: > Add atomic write support, as follows: > - add helper functions to get request_queue atomic write limits > - report request_queue atomic write support limits to sysfs and update Doc > - support to safely merge atomic writes > - deal with splitting atomic writes > - misc helper functions > - add a per-request atomic write flag Looks good. Reviewed-by: Keith Busch