From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (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 04571371878 for ; Mon, 16 Mar 2026 22:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773699288; cv=none; b=bKa2HYow/PZY4ExbyiCeB2m66mtSNuNVzVJZbCperB7E9Bqz+RxEeX1aeC/30NXMCBC1bKbc0zKwZT/er4DRLJZYUjRzn0Kmou6yNTRCZwZJqz0HqMFszAQ7wLjZYOorVPYayYykooOAe6Jn13VhzQtneORDphNJtmtB+z5q7PQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773699288; c=relaxed/simple; bh=mJQXLMF3/r6C8LDr5OMCXDGTIDre7wRcbFA/C55OXyk=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=KMQtQcjNWAraW18QfItNNNLBVmMfLLqLMcf0CXWFm16fVdxdVK9UNrvMa4WGo5WEUaUbjrj9VijTUgp8neK7HnTQGb5xEoP5694PDxl77UbrR6C6+gtwzLav5vr0kLFp1BN31lm7dpTb4I8HSlthQ5FwFmBwry7ovqWrJImtiys= 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=stwxmmIt; arc=none smtp.client-ip=209.85.210.43 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="stwxmmIt" Received: by mail-ot1-f43.google.com with SMTP id 46e09a7af769-7d55b97f358so3645511a34.3 for ; Mon, 16 Mar 2026 15:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1773699286; x=1774304086; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uAp3upALJrMK2vdftm0Mzj9z5vscYKgrSfpwrB2UjPk=; b=stwxmmIttHV7cyRbNXL8XYPZdjTDf/31nHq13jgSWJh39nh1/10ljevf22iICvmP/1 iooh0lg1xQrYiBPtdH+1biE97VWW+IxJnzzpCbAfCHeD78fYzX2DlctZBDvKhCpR7C4D t/8ynZhBrS/w+DjLgDVbXk1RlwQ0LVdCYtb9qp/In783Nh88jdE+I3Vzx7rd6HVYi95H +RzDbwRC6waBWQyZS4YpMwyFhdQWkEfIHDIEpsd7xifPl243AWX3qL0Wh2M1Q5KNevAx kNnLokw6BcoLKpEcYVI9xptkvaDhk3vMTS6G8U2clTwzeqKi6UQWh5byOKSdF/xMn5IP jovg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773699286; x=1774304086; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uAp3upALJrMK2vdftm0Mzj9z5vscYKgrSfpwrB2UjPk=; b=UeToU6mQBs89TaQu/cID4T4oL45HvyRTW9JuDFDo012w3lyMU5p7MBZ85tSAhLEzGo IBBXRFn8CrQ/5IkWyTjF1nWJNer1NUclWUNh1GwJWIaHW+JPr/xhu6hprla1+2MHlRTM 3PWqWtcTut/oxMfwlM9vwYqaE5eSSnzYFdYOUD+/pShbzL6WjoSa07ILjRFCxPxHbmD9 DRi8Dfm2COceGAJsAUyi+6DWC8uXazKnOJ77tjy/xsfIpmT7QLP9OUuuO7NfduUzFw2L ycpIPETQYxPqhL5PZHTH/8MzgqvFDT+GACZ4Q6szAEySYAuM/i14B3RhtfhyM7h0ITdL gcvw== X-Forwarded-Encrypted: i=1; AJvYcCVore+K0XJG6zSdQxzG8UDliUns/+PShlcBlQzH7vWWwRgnHWo8yYfbnop6NBeqTPwOnGnIBhQ6BHj426I=@vger.kernel.org X-Gm-Message-State: AOJu0YwnRL5TORZPMOkjx9C8lXFvIcpQeI2C9hnxIqwFVg2eDjr6OqbD I9b8rN4S82P13xinbFH2ETNIrE1lmgAN/h1QJGcWD7dM6kn6cGzEs1epCFvSWc2waCOdLHZYT4g 06SxAq1k= X-Gm-Gg: ATEYQzzRuEMKMYqbU0MNgk6Nuh6VMM6rkTPJCnePM5Vtl5blZhaBsnxp9Te31wV4ErE 7HDI5DLfR9HvSrQEP6qi5tN6ZJl9pz4s5abVX+OOYQfQNvXgxktS6KqJo/wLaq6z+n2fGKVFwcN dlL5/UpfyVNypBvBwGerQ3o16I+jVzSjZvb+gTCB8Dzu3Vsq0HAXnUjt9qY5Ep4f5dzepOudmIC sQRMnqnmTTne6/lsDUxZET/xkmbtB0V1CnG+HrCs06F08yUwExIgiRnu7YvGWK9dsdqCBsinD5e JnCfAyMQn97qwolssCE+sjhAIVBZN7X+kyRFpVRKPezbWdPEpTmwpX+G7l4l14nWYyullIzFYm7 unf4xc7a0OFhgF+/E03IcbnDFTerC8Ko7kcru7A7wcii6SiSrEuFz+vhcKwQZOO8cqxTJtRS/hN 2grXUJAEHBiZuhux39pGzM+EpGdevth1g920/bk0ARk+O4Z0qk27Jev1i0k4L6jA1rfEhV4AqIJ M3w X-Received: by 2002:a05:6830:4107:b0:7cf:d213:7ecf with SMTP id 46e09a7af769-7d7825a0efcmr10863875a34.32.1773699285999; Mon, 16 Mar 2026 15:14:45 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7d76aeccd73sm13375261a34.27.2026.03.16.15.14.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 15:14:45 -0700 (PDT) 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 In-Reply-To: <20260302172914.2488599-1-csander@purestorage.com> References: <20260302172914.2488599-1-csander@purestorage.com> Subject: Re: [PATCH v5 0/5] io_uring/uring_cmd: allow non-iopoll cmds with IORING_SETUP_IOPOLL Message-Id: <177369928494.700746.8101380068186003544.b4-ty@kernel.dk> Date: Mon, 16 Mar 2026 16:14:44 -0600 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="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3 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 Best regards, -- Jens Axboe