Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp658294ybg; Mon, 1 Jun 2020 10:59:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8Kd3rM4M6LQPCAnwdw1Es3M+MaUoWc45WgY6n1VKq97yfyKG+sCfvYiO5mk0Wrr/RWw5w X-Received: by 2002:a17:906:2a84:: with SMTP id l4mr19949687eje.6.1591034375879; Mon, 01 Jun 2020 10:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591034375; cv=none; d=google.com; s=arc-20160816; b=KVgUYC1Oz+BMoRTt/y5lH8twyxI4L6PEahrfluoTYGggdGJTO3+XkqRbYH0/5pdKbQ 4PUzCapwyelltnnRzRhfwYIweiRppOL9R6FUbTeetnT3jInBRpL7+U5FMpZaA+6dkI1f 5uV5zoltDOBzOyvShap6os8fLJmIlT35TLlBP8hz3wCpFJpExU3ErQjigOKGQeI9Aif6 s/r8p7+bVuCDFyA6X8wZHalqHkHAgcGMIbQJ6BFj36cXYhq0rI5ZAUM2BIl/clYHEfNr fTwqT36x4BdyR9kpwYL2pMia3dwMJYgUmbV1XCLpPjYjHEL5glNOmC4q3tkp2zxB6B/k o2QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:dkim-signature; bh=TmGom53SZQSrKvwXINTQU0o5hFoM+HRNDvC2pYiq5Wc=; b=Spsk2BUG7LFdoxtULAtnxyKD0kdVySwTWlecIYxRG/e6yKL7WFx1q84m98hm6VDh2y 5qQ2WYS4Mr8HEt5mUr5qxtAwvoEfkCWXQa10AvNyT7E48KVUS1xXQVG3LjymfLU5MoT6 dLTBQfmrr2UY8f25nofGj+msqRyCjLTzUKGW1h7165tWoM6O1lq4J8avu5bQNl1VW+gf Vw+Pdxlil07Aj10dKjUFRUfUtYtGrNbykdtzq9sjf20YGMUn46/GhAU87fo2Yf1S3hVY gkQheiJLzGH4psGMLSdUSWxMsScwYNSe10gbdkpXWS6prybhXrvAkFsNUQ7s0cmLPrKY CKvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=LA9cO1QE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc12si61114edb.348.2020.06.01.10.59.12; Mon, 01 Jun 2020 10:59:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=LA9cO1QE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728056AbgFARzT (ORCPT + 99 others); Mon, 1 Jun 2020 13:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbgFARzT (ORCPT ); Mon, 1 Jun 2020 13:55:19 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0670BC05BD43 for ; Mon, 1 Jun 2020 10:55:19 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id a45so176140pje.1 for ; Mon, 01 Jun 2020 10:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=TmGom53SZQSrKvwXINTQU0o5hFoM+HRNDvC2pYiq5Wc=; b=LA9cO1QE8Wq2gx3uj8BPAZL6Kf+mdnR06sTaLe8Jrx7DVvxZinQmcNHUi9+R94OpA2 468ryRQ1sc0FuNSuk+a2YoxEoJVBfxBawiclmT1oQiCrR3dwavYyQza0PRH/OOJJlWIT B8I1Ryxw/ahgye6QwKVRd8ujjuS6mFQvyFuKkdAtJC6KNzb5SYADMPPgR5G1mgg8l3Rv qPT46qO27y21yCHjtA7KTGrDeVksyV+pb6KoLhU4kqJ4skH0FEcbTLL2KC+3cPzhiAyX ogkeypoynayRDK+pukt+8xyJVMk9Bw7fQ6a2VORUPr7yXKe6j2CWDFEgxNU5tF/6NUFj vMmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=TmGom53SZQSrKvwXINTQU0o5hFoM+HRNDvC2pYiq5Wc=; b=PdfLrn/4jjuzoXrtteOd7BZeb1LRsGjcnW3xV9C+ye5p8jnJe+UiYoumBnjwbfqn4o iKdjbibGutmFNTEnExyox427F1uOuB9MoiLuOU+J83Hx3VlngiL1McwE1joViNhjNAeC bfkkYHTEsxzfemi/vqN2FK65fYtXTY6x6apvWA4UzOez18w3iY54j6FnWyIlLLARr+dL L6RzBZ7FCUQhAff2gu1YyUFqjUYplF4kFksxAxFT2vTp0AlgtildRZ2zCNCQfGpUImt5 UrNNYDUZrCFwiy23kvRJLGX+NizfBiCoXXsYTNz+GGq7xJNdu5SOnuAa8ov7ecUi0bs/ ukZQ== X-Gm-Message-State: AOAM530sSoMqn2Uz9XKG+Bgb8HQsCqNsfkvoIqkp2q6NkjqdBt3kPGol hK+YXam3ALULEga4Ia4Hf7sey8WEKSwO5w== X-Received: by 2002:a17:902:d70a:: with SMTP id w10mr21552690ply.256.1591034117939; Mon, 01 Jun 2020 10:55:17 -0700 (PDT) Received: from [192.168.1.188] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id h11sm103888pjk.20.2020.06.01.10.55.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 10:55:17 -0700 (PDT) To: Linus Torvalds Cc: io-uring , "linux-kernel@vger.kernel.org" From: Jens Axboe Subject: [GIT PULL] io_uring updates for 5.8-rc1 Message-ID: Date: Mon, 1 Jun 2020 11:55:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, A relatively quiet round, mostly just fixes and code improvements. In particular: - Make statx just use the generic statx handler, instead of open coding it. We don't need that anymore, as we always call it async safe (Bijan) - Enable closing of the ring itself. Also fixes O_PATH closure (me) - Properly name completion members (me) - Batch reap of dead file registrations (me) - Allow IORING_OP_POLL with double waitqueues (me) - Add tee(2) support (Pavel) - Remove double off read (Pavel) - Fix overflow cancellations (Pavel) - Improve CQ timeouts (Pavel) - Async defer drain fixes (Pavel) - Add support for enabling/disabling notifications on a registered eventfd (Stefano) - Remove dead state parameter (Xiaoguang) - Disable SQPOLL submit on dying ctx (Xiaoguang) - Various code cleanups Please pull! git://git.kernel.dk/linux-block.git for-5.8/io_uring-2020-06-01 ---------------------------------------------------------------- Bijan Mottahedeh (4): io_uring: add io_statx structure statx: allow system call to be invoked from io_uring io_uring: call statx directly statx: hide interfaces no longer used by io_uring Jens Axboe (7): io_uring: remove 'fd is io_uring' from close path io_uring: name sq thread and ref completions io_uring: batch reap of dead file registrations io_uring: allow POLL_ADD with double poll_wait() users io_uring: file registration list and lock optimization io_uring: cleanup io_poll_remove_one() logic io_uring: async task poll trigger cleanup Pavel Begunkov (13): io_uring: remove req->needs_fixed_files io_uring: rename io_file_put() io_uring: don't repeat valid flag list splice: export do_tee() io_uring: add tee(2) support io_uring: fix flush req->refs underflow io_uring: simplify io_timeout locking io_uring: don't re-read sqe->off in timeout_prep() io_uring: separate DRAIN flushing into a cold path io_uring: get rid of manual punting in io_close io_uring: move timeouts flushing to a helper io_uring: off timeouts based only on completions io_uring: fix overflowed reqs cancellation Stefano Garzarella (2): io_uring: add 'cq_flags' field for the CQ ring io_uring: add IORING_CQ_EVENTFD_DISABLED to the CQ ring flags Xiaoguang Wang (2): io_uring: remove obsolete 'state' parameter io_uring: don't submit sqes when ctx->refs is dying Xiaoming Ni (1): io_uring: remove duplicate semicolon at the end of line fs/internal.h | 4 +- fs/io_uring.c | 752 +++++++++++++++++++++++------------------- fs/splice.c | 3 +- fs/stat.c | 37 ++- include/linux/splice.h | 3 + include/uapi/linux/io_uring.h | 12 +- 6 files changed, 447 insertions(+), 364 deletions(-) -- Jens Axboe