From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B0CBC43461 for ; Fri, 11 Sep 2020 15:46:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 196352075A for ; Fri, 11 Sep 2020 15:46:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TiSNsMCR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726605AbgIKPpx (ORCPT ); Fri, 11 Sep 2020 11:45:53 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:39730 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726601AbgIKPpo (ORCPT ); Fri, 11 Sep 2020 11:45:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599839143; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5W1n/LAI37PNidmu7PHN5yniiE1Ma+spXoYQKKeGO2E=; b=TiSNsMCRxH0L/StqNEO0VIDV3C5/utQJPv/EOt8PN/hVQ72UEUXR8BXNIFix5/n2Y4WUKC zZ8TabE5/bnwAgiv4XeXcKE/13fsTu2lgla2IeoeW3StKM8haOWwJvOv9xdy1W3ahSzptF f7IzgSa6vrTzqFDBm+g2vEn3BTBITo4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-283-N7YjAhliNx2Hxk_820jgig-1; Fri, 11 Sep 2020 09:34:12 -0400 X-MC-Unique: N7YjAhliNx2Hxk_820jgig-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 66A9C8D0311; Fri, 11 Sep 2020 13:34:11 +0000 (UTC) Received: from steredhat.redhat.com (ovpn-114-89.ams2.redhat.com [10.36.114.89]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D9995D9E8; Fri, 11 Sep 2020 13:34:10 +0000 (UTC) From: Stefano Garzarella To: Jens Axboe Cc: io-uring@vger.kernel.org Subject: [PATCH liburing 1/3] man/io_uring_setup.2: add IORING_SETUP_R_DISABLED description Date: Fri, 11 Sep 2020 15:34:06 +0200 Message-Id: <20200911133408.62506-2-sgarzare@redhat.com> In-Reply-To: <20200911133408.62506-1-sgarzare@redhat.com> References: <20200911133408.62506-1-sgarzare@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org This new flag is available starting from Linux 5.10. Signed-off-by: Stefano Garzarella --- man/io_uring_setup.2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man/io_uring_setup.2 b/man/io_uring_setup.2 index f0aebde..a903b04 100644 --- a/man/io_uring_setup.2 +++ b/man/io_uring_setup.2 @@ -173,6 +173,13 @@ being set to an existing io_uring ring file descriptor. When set, the io_uring instance being created will share the asynchronous worker thread backend of the specified io_uring ring, rather than create a new separate thread pool. +.TP +.B IORING_SETUP_R_DISABLED +If this flag is specified, the io_uring ring starts in a disabled state. +In this state, restrictions can be registered, but submissions are not allowed. +See +.BR io_uring_register (2) +for details on how to enable the ring. Available since 5.10. .PP If no flags are specified, the io_uring instance is setup for interrupt driven I/O. I/O may be submitted using -- 2.26.2