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=-7.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 54247C33CB1 for ; Fri, 17 Jan 2020 14:33:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 23BDF2072B for ; Fri, 17 Jan 2020 14:33:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="eqXflPFu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727043AbgAQOdT (ORCPT ); Fri, 17 Jan 2020 09:33:19 -0500 Received: from mail-pl1-f170.google.com ([209.85.214.170]:35808 "EHLO mail-pl1-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbgAQOdS (ORCPT ); Fri, 17 Jan 2020 09:33:18 -0500 Received: by mail-pl1-f170.google.com with SMTP id g6so9959290plt.2 for ; Fri, 17 Jan 2020 06:33:18 -0800 (PST) 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=w4mp3hsKOArV78Fh9THmePV3c421RHxulbG70WLaTp4=; b=eqXflPFuuamkC1dxHfVih0Dj2pBPqEkO4/H0rMCRtDNvHwZgbkHR13FKZyhkKvu7be Qv/iPkXTtzSY4uhWfe9sCrh88KI7jbsKHwe5Re+NHjLOFtVcmsh7nPI8BxJ1qHt7S59W uGZoQLZ4b9zCqSaZBxXoY8uP5Yy3wwbgMrvK+Y+PuHOw+eeTujlkeBb8XUF8lYQtKDU+ vt1RVkUWp7m7ldiTe3YbeUSRV4+Sp2julnGyUaD4ukaCbcPAtiIL1bYmTGHPeY/3eah7 oKo5TJ1cJIHzNHKvXcL9uvmOf2YndiXZKffTvkqOU81wMb6GYo/bvvRbwqG6acshfEsK luXQ== 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=w4mp3hsKOArV78Fh9THmePV3c421RHxulbG70WLaTp4=; b=V0Jvsi0JRKIOcl/AqZQXOc949OhbE3Iq6rjHT3eJgB9rPdVQqYt4KhDQx8ozewOZlc Iyzsf2LcrD2h+frlmMuhIy1YKQu0HoqxF7CUldIkv1u+SfbhRwdeXyswojOMO8Lurtvo KsFbvhLs3sDEfbjMNwUTY9ujBMmUFIYapsVg+s56/ZqNDJK7V8T6/Bb533xa41VyVM9q 4r9J0gsy0yXBUAY1Jvlbgg5B9PfaW3NBZNs2V2YEvp31UeCXp0iEQID3sWLT0rm63qtT jrHXp/r7U1FzxEAQIM2Xw6xvP9a+3LZYJxuf+MoGAOJ41xw/61+dSk3N4ZQXCLrF20pN xEjA== X-Gm-Message-State: APjAAAVKcSawei5eYY8YAdpo8AtksgNehmj05wfagqhiK8uEY85lyB1v ZEzNSe89TZ6/5L2W1jg9n+vF5W5Vb78= X-Google-Smtp-Source: APXvYqy3SNNpATed1MOyfomAGHqYY170zILmu6a0D/TplCHXTJqzBxhRkSyWNeyLP4Z/AmC9I7R5VQ== X-Received: by 2002:a17:902:6b09:: with SMTP id o9mr35417493plk.209.1579271597816; Fri, 17 Jan 2020 06:33:17 -0800 (PST) Received: from [192.168.1.182] ([66.219.217.145]) by smtp.gmail.com with ESMTPSA id b8sm30023821pff.114.2020.01.17.06.33.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jan 2020 06:33:17 -0800 (PST) From: Jens Axboe Subject: [GIT PULL] io_uring fixes for 5.5-rc7 To: Linus Torvalds Cc: io-uring , "linux-kernel@vger.kernel.org" Message-ID: <48229b93-5e4d-78a2-3171-021e2a87c99b@kernel.dk> Date: Fri, 17 Jan 2020 07:33:15 -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: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hi Linus, A set of fixes that should go into this release. This pull request contains: - Ensure ->result is always set when IO is retried (Bijan) - In conjunction with the above, fix a regression in polled IO issue when retried (me/Bijan) - Don't setup async context for read/write fixed, otherwise we may wrongly map the iovec on retry (me) - Cancel io-wq work if we fail getting mm reference (me) - Ensure dependent work is always initialized correctly (me) - Only allow original task to submit IO, don't allow it from a passed ring fd (me) Please pull! git://git.kernel.dk/linux-block.git tags/io_uring-5.5-2020-01-16 ---------------------------------------------------------------- Bijan Mottahedeh (1): io_uring: clear req->result always before issuing a read/write request Jens Axboe (5): io_uring: don't setup async context for read/write fixed io-wq: cancel work if we fail getting a mm reference io_uring: be consistent in assigning next work from handler io_uring: ensure workqueue offload grabs ring mutex for poll list io_uring: only allow submit from owning task fs/io-wq.c | 12 ++++++---- fs/io_uring.c | 72 +++++++++++++++++++++++++++++++++++++++-------------------- 2 files changed, 56 insertions(+), 28 deletions(-) -- Jens Axboe