From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com [209.85.210.52]) (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 7DA1A1D9A66 for ; Tue, 17 Mar 2026 01:01:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773709318; cv=none; b=DXqe/PzfEyMd13pTkomRSPQZrLv22WbNjuupnfOj0q1HLioTot0iAasCWrB5Jxx0NQI8saZYQ5wBT7yiFl1yG3L+/eZeQKxidKyeG41w43v1s8cJyghBDOpSo8fPAiMJwu6Nvpg5noGKXFI86DrRldaFoW3Gy+o3aqMDyhsTb5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773709318; c=relaxed/simple; bh=C/loUq0tFUgMLr34wJLTDt+4x7X+MaWqr8W3H9NNxfo=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=oF3vdCn0Fqg/R4GpSICEGAkGim3G86dS8d2QN+CVqUrOfqrKQHtNZTTGntAGvextmGXhlUjzvQyMJ2Wb4Q2MQ8+bIDHN9kceWrNNsbswczunGrDMBHwWhW9/08Se49wTqjthWnfl7M/hC7ZJx8T/Wo9oudKZVhKkY0pvsHlGY8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=1ZxQjh7l; arc=none smtp.client-ip=209.85.210.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="1ZxQjh7l" Received: by mail-ot1-f52.google.com with SMTP id 46e09a7af769-7d73ccee442so5455743a34.1 for ; Mon, 16 Mar 2026 18:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1773709315; x=1774314115; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=xJmZWcweGo/5CL7dk1HuKW3M8jV+oED2e+YlbfIAvtA=; b=1ZxQjh7lFqwAEgjoYrA+rvTDDve2nb2K92204Jf27OkKt/2BWY4ZD4mEdOHnqqRpod BLDqReKlSIuvjQoUsrHsMigvGpWJA8YKOQ7hodq6j8BIk05XA1LUNfg4JiLHQP2I27nD Fr+EHUXSvKXTfh+6b3yrnV+xPZapYx5mUMjMnLO4x51CK8vCoQ5smOb+16ycaPfT7Kfx JR+Woxtn1ZCZeuEsc7A3QL8e5lPWhVv6aPPjeAzY53SDyf8HoZmRFMP4Hfw6+pwXEyol G+ejw6PnZ0yi3+bae3gnFpnSVisfMzYduKdiZHnhR9DJoQExzjV35/NxwnoSWgXzLSce 2uWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773709315; x=1774314115; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xJmZWcweGo/5CL7dk1HuKW3M8jV+oED2e+YlbfIAvtA=; b=TYJ7ax8KOT9m077I6B6gGHa0eevBJlEUvXW6V84oXcl0J9uYx7brntOSd+raBJ3l3h i4P5difu8puAMh/70tD+8RFDpVZ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05:6830:3e07:b0:7d5:96a3:f7a5 with SMTP id 46e09a7af769-7d782519025mr10383836a34.18.1773709315458; Mon, 16 Mar 2026 18:01:55 -0700 (PDT) Received: from [192.168.1.150] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d77c961e79sm10284487a34.7.2026.03.16.18.01.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Mar 2026 18:01:54 -0700 (PDT) Message-ID: <307e4126-91ed-4ca8-9eb0-3f24f1490aa8@kernel.dk> Date: Mon, 16 Mar 2026 19:01:53 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 0/5] io_uring/uring_cmd: allow non-iopoll cmds with IORING_SETUP_IOPOLL From: Jens Axboe To: Christoph Hellwig , Keith Busch , Sagi Grimberg , Caleb Sander Mateos Cc: io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Anuj Gupta , Kanchan Joshi , Ming Lei References: <20260302172914.2488599-1-csander@purestorage.com> <177369928494.700746.8101380068186003544.b4-ty@kernel.dk> Content-Language: en-US In-Reply-To: <177369928494.700746.8101380068186003544.b4-ty@kernel.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/16/26 4:14 PM, Jens Axboe wrote: > > On Mon, 02 Mar 2026 10:29:09 -0700, Caleb Sander Mateos wrote: >> Currently, creating an io_uring with IORING_SETUP_IOPOLL requires all >> requests issued to it to support iopoll. This prevents, for example, >> using ublk zero-copy together with IORING_SETUP_IOPOLL, as ublk >> zero-copy buffer registrations are performed using a uring_cmd. There's >> no technical reason why these non-iopoll uring_cmds can't be supported. >> They will either complete synchronously or via an external mechanism >> that calls io_uring_cmd_done(), io_uring_cmd_post_mshot_cqe32(), or >> io_uring_mshot_cmd_post_cqe(), so they don't need to be polled. >> >> [...] > > Applied, thanks! > > [1/5] io_uring: add REQ_F_IOPOLL > commit: 9165dc4fa969b64c2d4396ee4e1546a719978dd1 > [2/5] io_uring: remove iopoll_queue from struct io_issue_def > commit: 7995be40deb3ab8b5df7bdf0621f33aa546aefa7 > [3/5] io_uring: count CQEs in io_iopoll_check() > commit: 3a5e96d47f7ea37fb6adf37882eec1521f8ca75e > [4/5] io_uring/uring_cmd: allow non-iopoll cmds with IORING_SETUP_IOPOLL > commit: 23475637b0c47e5028817c9fd4dabe8f7409ca6c > [5/5] nvme: remove nvme_dev_uring_cmd() IO_URING_F_IOPOLL check > commit: f144dbac4b177cfd026e417ab98da518ff3372cb Caleb, want to send the liburing tests and documentation updates too? -- Jens Axboe