Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp775301ybt; Fri, 19 Jun 2020 13:26:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1E7f/RzCH+ch3kUkxmt7QunYcZwkoo1ZpaqJq4XQTorq91wnXxe6UrEBl8l98hkApWAHb X-Received: by 2002:a17:906:af62:: with SMTP id os2mr5175009ejb.345.1592598412797; Fri, 19 Jun 2020 13:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592598412; cv=none; d=google.com; s=arc-20160816; b=ADOXtvM5nW8A9Ae2jy0OvNOAfeOrKjeNUcVhK1ZsxzERURXx//7AmmGqCoPkLr75KQ H/OUwlZZg1LFYBUhvlD9jpcydeOFZrYNFQzkqaRNqKXNcC7W/CEp8spG2SJqxpTA82DW CTdFouLTqJvb39/DfZjw6kGahEeRFuegJ+Xs+3kMygYdLIaKUj5uUAfGrpXmF35Xy5JM XbAoGpFxQIhmZomhnmYIBeRvvt/22UBc4fp9BLWQ0VjBPBBLS6v9iiffiLl6HuM/Za1I 59QFmRqUES1eMcWRbu+vdBkG7X1jaWKqNmzBZvbSjTT51Up1vIn2DepxZoQuZRMGbIB/ I6Rg== 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=sCfJ6MRetCzZa1NZ4rYQiXY2G31ZEnc/4E26KrcXmPc=; b=xx4+G6xUbQjHxrJzPmpbdl6W5rbQhS/j3vFJ7s7c4ku4Z6ugEf68ZGQacmGN80J2YZ In5s7KNDuggn/FYQm55iCe4T0BX/eV5Oaxc6Jo//5EKrymAqO7MwhxE5ZZW6pj+YKdmX +FkweS7FgggLRmvKeIRviAvBG1l8W9RaLNvSvIIlrxrO8CyhVNjoO1QWws0D2fIxs6vl key1YUAn3g7VD0tLkZLSHtmM1rBDpzFZ3VLVYEiBAOrgOYN9q+eNmwEYJB8PcInh/qMC X6/lIg0gT+HAonhnqrAZS3BslpINwraznDfM+5CjJyKmsIYRQhFY21O1oHSUKdQeNaLt 6Xcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="QZny18/S"; 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 k16si4422497eja.149.2020.06.19.13.26.30; Fri, 19 Jun 2020 13:26:52 -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="QZny18/S"; 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 S2388274AbgFSO6i (ORCPT + 99 others); Fri, 19 Jun 2020 10:58:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390391AbgFSO63 (ORCPT ); Fri, 19 Jun 2020 10:58:29 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63690C0613EE for ; Fri, 19 Jun 2020 07:58:26 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id d4so4598883pgk.4 for ; Fri, 19 Jun 2020 07:58:26 -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=sCfJ6MRetCzZa1NZ4rYQiXY2G31ZEnc/4E26KrcXmPc=; b=QZny18/SqgE+neIyWHL2sFRFJb8lqyjueOj1pOy0V6d5j1S3n0MqvWbGeu8El0o0Ta 5ZnIo2kqLVpAH/4d2CBUPD4VdDtyc0/z+gGARF4rUK2nkQcNLTp3k28lsHUOhK+Z9OK4 IkVvVNV4LnsjKA/z4ShCGiz6AQIKy7NAdxEM5Fe4iz6FuNb//7bYw1G2OrSaIS4aYIae fCB8jWF5VbztYAjw22xKsMZtPTGl7u88wjU6jOuilHqfCXeJO5pEZBXZ+Urh22haijfT Ku1nbjvpIbBROK7jqUbSbnu7xfDgB4b4b7Z5zPRyf9xr1BGnUsB1iMJFdTLwrbHzF+kM wC4A== 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=sCfJ6MRetCzZa1NZ4rYQiXY2G31ZEnc/4E26KrcXmPc=; b=jChQIWEjRwUMDNoasRQ5nKd+hVDyYGHA87ahxSsJJ9Pj9tI3PARX7p6B72gov3e7Hg 2mCFgnRvD1LQ3NE/ldjil5zcmAgSOflVpgwfuDUDcBuTI5dHYr9gWtY34IxLvIAzc6aV V4DqxL8FTa6v65x2+TwkdsFTF3p+3KqNUeim8vFXxkqgLZjCZJpSs0XWAyHLEpXT9tMY Ykw+rHQSzsE4qTtYkRmLgIzOEP6zXdfl7zeKVnW9MkqGeAwZn+U5+QGqhbFVkRBSCeoJ AqAYcS/n0WGeIsfjwf+uJY6NCWy+VxW3R8JBjPWkqVD5aPHcpUIB8Gij4hYw79SsyiKl dA7g== X-Gm-Message-State: AOAM533sjbVeIfmczUoPgvO4eC+YLM8UccWoPintb5BeGmaMnMKn6/4Z BwD//4kcdVgGOegq2rBqqgHskFuTdNkIng== X-Received: by 2002:a62:aa07:: with SMTP id e7mr8097875pff.87.1592578705575; Fri, 19 Jun 2020 07:58:25 -0700 (PDT) Received: from [192.168.1.188] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id p19sm6251000pff.116.2020.06.19.07.58.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2020 07:58:24 -0700 (PDT) To: Linus Torvalds Cc: io-uring , "linux-kernel@vger.kernel.org" From: Jens Axboe Subject: [GIT PULL] io_uring fixes for 5.8-rc2 Message-ID: Date: Fri, 19 Jun 2020 08:58:23 -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, io_uring fixes that should go into this release: - Catch a case where io_sq_thread() didn't do proper mm acquire - Ensure poll completions are reaped on shutdown - Async cancelation and run fixes (Pavel) - io-poll race fixes (Xiaoguang) - Request cleanup race fix (Xiaoguang) Please pull! The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kernel.dk/linux-block.git tags/io_uring-5.8-2020-06-19 for you to fetch changes up to 6f2cc1664db20676069cff27a461ccc97dbfd114: io_uring: fix possible race condition against REQ_F_NEED_CLEANUP (2020-06-18 08:32:44 -0600) ---------------------------------------------------------------- io_uring-5.8-2020-06-19 ---------------------------------------------------------------- Jens Axboe (2): io_uring: acquire 'mm' for task_work for SQPOLL io_uring: reap poll completions while waiting for refs to drop on exit Pavel Begunkov (7): io_uring: fix lazy work init io-wq: reorder cancellation pending -> running io-wq: add an option to cancel all matched reqs io_uring: cancel all task's requests on exit io_uring: batch cancel in io_uring_cancel_files() io_uring: lazy get task io_uring: cancel by ->task not pid Xiaoguang Wang (3): io_uring: don't fail links for EAGAIN error in IOPOLL mode io_uring: add memory barrier to synchronize io_kiocb's result and iopoll_completed io_uring: fix possible race condition against REQ_F_NEED_CLEANUP fs/io-wq.c | 108 ++++++++++++++++++----------------- fs/io-wq.h | 4 +- fs/io_uring.c | 177 +++++++++++++++++++++++++++++++++++++++------------------- 3 files changed, 177 insertions(+), 112 deletions(-) -- Jens Axboe