Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp98128ybb; Thu, 9 Apr 2020 18:08:43 -0700 (PDT) X-Google-Smtp-Source: APiQypI7ivGJshvmhZj6x5FQ4yShkkboVqh8Dc8FoEpFkhtoj0raPreX4idMT+k+d7P8yO8ViwFp X-Received: by 2002:a0c:c187:: with SMTP id n7mr3062136qvh.240.1586480923206; Thu, 09 Apr 2020 18:08:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586480923; cv=none; d=google.com; s=arc-20160816; b=0te6dnD3CUoNBubAJlCLiFg+FPEcqkvGX8tSkwuGNxWli4ls/reVZMBAxL6n5FNntn Fk7ofGdGikhIQhcT1/kd3z+vD6MhpPAf2rzypn9+4LHwelWTZWkbyq7BUoL5/5DzLS5a 3AsE7G3FA8gc1J60zQbh5Bs3+DeDzvDN/B6PA7OQADoI77LaycZm6NXZnegEHm9wFZ+Q Vth4ER9MxApyOageZoFjCOs8IOBz2EebONsHplqxFQVOdEoSJPv3ZjqT9xPBeGjQf/Xx U5X1EIgiVeazLuxTVOAy2hxCHohn07a00AYhssI41pgTyZ9ovvBBbIyPBhYJnMf4C4w8 YIzg== 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:cc:to :subject:from:dkim-signature; bh=yLwIvsPpTjuwRCf4XNooqSkmxioNK/7m8vjoArRxTZ0=; b=UVaKmmAXOQ78LkVBy9bB58iFs1Cvm07RBRRsPm9z2ynVaNAOTg/kygrRIqo2No7gDD ZbUGmUHtfSHKZ6WJildr113yRsRj9sTOTrDgOLwOxoTFYcJkKpIiTEz1C4baLZCF2Lg6 1T9SVVmxhgpLcb69q9N9xnZGx0vVT1da+EnQLLeXQ0+MKo0xYag1czPEKgIdKEEt8JJ3 tpGE0sERpdYWamy3W1U7pD20he+70zEOwzyDXvAFJi3P2njEflC09p2Ydc2S2JHiOb/a ZwrA2dF5MFam3cPuoWDVY/BvtGQgEuLLV2Ly7g02dxnvCu5Pgx3E2rB4tEPMiC0yHDW2 /H3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=mvPT5Z9O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si521795qkg.326.2020.04.09.18.08.25; Thu, 09 Apr 2020 18:08:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=mvPT5Z9O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbgDJBHK (ORCPT + 99 others); Thu, 9 Apr 2020 21:07:10 -0400 Received: from mail-pj1-f44.google.com ([209.85.216.44]:51602 "EHLO mail-pj1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbgDJBHK (ORCPT ); Thu, 9 Apr 2020 21:07:10 -0400 Received: by mail-pj1-f44.google.com with SMTP id n4so215696pjp.1 for ; Thu, 09 Apr 2020 18:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=yLwIvsPpTjuwRCf4XNooqSkmxioNK/7m8vjoArRxTZ0=; b=mvPT5Z9OG0KJgS380cKv5XsSTm+AXs9ZGgk8uPXMUN1HHLD4YNGbWzX0t922f6wxWP txcLIIY0FdopzVyR32en3fegco4CBpzULTJLn6g3n+SLYh/Rl0ty9DLU5COYfAvFNzxf NO702+BSFderQQ1RUykzNdv0bsP5mxYJSFx8O3WIrKbFpt43qw8Wu5GyfShZaGf/hmIg gIDtU+LK0dsOgxiy1i/89ipMFENJl6k/EDq7AZEafVm206R5KJEItifGEu2+YS68vCGJ X9hU3ZooxGul7/E6EA+LC6dAG92Q7AHW9aYGQIhHEHOoGgWIHHiuVYuqooeUoiqDQS0L bIOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=yLwIvsPpTjuwRCf4XNooqSkmxioNK/7m8vjoArRxTZ0=; b=r/OwDxVAsTHNEy4Pl4UzXI0CWbq6/kK1GyZsJObdaSLy2WX2UglJVvDuRqqYUbgnqs daQYsvSecFUwLNmkr8dLbYTzIqQF1B4o9gKvhaSsO3zuZl/dq4QxsUkKpujzNGgKLOFc WVMEeVJfnlFs/WQFWekVPsgPM8o0OPI6JOT7RnsziiGb6qQCLLzDAJb3CS83RtvS0Sfw P9e/qeKlosky2hP5uFx4XyiwTYOasvMNb3typcm2fV2KECCfr/bx6LW037K0QEDo5Q8U VTMsNNcPpq92MEM0drLWOfSmMPqNCG7czmTqC/gcTRJh8bD8lChqqQ/rRzUQstw4T7Nk WFLg== X-Gm-Message-State: AGi0Publ5bakoXRcBHu6tdI0K4gSwB7HaWRP5/h4gyN25uVLJrNcQ1o2 u3n2Y4MYgv+EF6ckzM30YQteL/Yh7QppbA== X-Received: by 2002:a17:90b:1b01:: with SMTP id nu1mr2430864pjb.129.1586480829129; Thu, 09 Apr 2020 18:07:09 -0700 (PDT) Received: from ?IPv6:2605:e000:100e:8c61:70f8:a8e1:daca:d677? ([2605:e000:100e:8c61:70f8:a8e1:daca:d677]) by smtp.gmail.com with ESMTPSA id c59sm146152pje.10.2020.04.09.18.07.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Apr 2020 18:07:08 -0700 (PDT) From: Jens Axboe Subject: [GIT PULL] io_uring fixes for 5.7-rc1 To: Linus Torvalds Cc: io-uring , "linux-kernel@vger.kernel.org" Message-ID: <9739a06d-728e-1d6b-d511-ad4eefdd19b5@kernel.dk> Date: Thu, 9 Apr 2020 18:07:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 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, Here's a set of fixes that either weren't quite ready for the first, or came about from some intensive testing on memcached with 350K+ sockets. In particular, this pull request contains: - Fixes for races or deadlocks around poll handling - Don't double account fixed files against RLIMIT_NOFILE - IORING_OP_OPENAT LFS fix - Poll retry handling (Bijan) - Missing finish_wait() for SQPOLL (Hillf) - Cleanup/split of io_kiocb alloc vs ctx references (Pavel) - Fixed file unregistration and init fixes (Xiaoguang) - Various little fixes (Xiaoguang, Pavel, Colin) Please pull! git://git.kernel.dk/linux-block.git io_uring-5.7-2020-04-09 ---------------------------------------------------------------- Bijan Mottahedeh (1): io_uring: process requests completed with -EAGAIN on poll list Colin Ian King (1): io_uring: remove redundant variable pointer nxt and io_wq_assign_next call Hillf Danton (1): io_uring: add missing finish_wait() in io_sq_thread() Jens Axboe (6): io_uring: retry poll if we got woken with non-matching mask io_uring: grab task reference for poll requests io_uring: use io-wq manager as backup task if task is exiting io_uring: remove bogus RLIMIT_NOFILE check in file registration io_uring: ensure openat sets O_LARGEFILE if needed io_uring: punt final io_ring_ctx wait-and-free to workqueue Pavel Begunkov (6): io_uring: fix ctx refcounting in io_submit_sqes() io_uring: simplify io_get_sqring io_uring: alloc req only after getting sqe io_uring: remove req init from io_get_req() io_uring: don't read user-shared sqe flags twice io_uring: fix fs cleanup on cqe overflow Xiaoguang Wang (3): io_uring: refactor file register/unregister/update handling io_uring: initialize fixed_file_data lock io_uring: do not always copy iovec in io_req_map_rw() fs/io-wq.c | 12 ++ fs/io-wq.h | 2 + fs/io_uring.c | 428 ++++++++++++++++++++++++++++++++++------------------------ 3 files changed, 269 insertions(+), 173 deletions(-) -- Jens Axboe