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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT 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 2A57EC433DB for ; Sat, 20 Feb 2021 18:08:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E796164ECA for ; Sat, 20 Feb 2021 18:08:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229844AbhBTSI3 (ORCPT ); Sat, 20 Feb 2021 13:08:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbhBTSI2 (ORCPT ); Sat, 20 Feb 2021 13:08:28 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD742C061574 for ; Sat, 20 Feb 2021 10:07:47 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id b3so14407349wrj.5 for ; Sat, 20 Feb 2021 10:07:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=fBNuUz2jga1yCcG2na8HyV+sr1B1XgbaErJoQxN6UD8=; b=HBW4bXH8Z6bBcqZcG+L0C0hihOBwLlQXyuVCCtdKq8/mbkP1MX/2OjAHc2d4mEKO0e XifzALHDRMUBD00qoaK4+b/Nc4zK+v6VDGW222kgTwyUCWbhsw7v6gBJFHqoxEolnylO I5bsIh6liIUZuxlhnXcL9+Xtn4PzNG1z5Y/k5jkcJA35vMujl2khuhcvZvuCCkZr8CjW 2IidW2PWH7IvB3iXYhvam71Wj9XYgYR2WjA6p4JxiQ/Na2CAUkCIYld9FUS+2aBCx/en 69SlkkKnB6hs8HANY8nHMGRfCdoV4VS/yQgCswoNTR/nTl2Tzbv8LZtpryM/8gEdViDc ljug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=fBNuUz2jga1yCcG2na8HyV+sr1B1XgbaErJoQxN6UD8=; b=sIU6/VWkxpMASjPT2uOssJyfHbDtDYtyR0gX0MNJ6zYfjLk19APUdIUz201HKfV9CY JVSQRuK6so1RjkLtuMA1uwRtqvXIHnfjtyTUbQGFuDjPFh1LdfPWxQ6GFm4MzEGgAWcg bs4vHlxQ1/29zrGyMTX98WFpwFF12s9JJhriiTQg7HSvSxQvynlQFY2qomsUD6f/IZKP wbFL58UUPRZiTNIpnrZy8ET37ZVMu8vnMPh2XK+USkOmUOt/0xm3ciF1W+a4XIBE3ifF BSbXK1MEZCdOSSQfuZhkPZn24WbWxZzFI5f0Z1HH+i5ZQCReulysx26uqoSXHay4GACm tpUg== X-Gm-Message-State: AOAM530QY3rAoTP/2UtKUIWGLeLgqlQxIm3oALvGVVed0PYEQgl4a0FP A51C1LBT0SxEEUXiQFTAbgJ2itpllv5WNg== X-Google-Smtp-Source: ABdhPJyVBaGsV2QBNB0BTtiH7iP0XGzU0PUtuepHR0w06NSywWEVTGB06rlshYnRnYb70UQHy2DOZw== X-Received: by 2002:a05:6000:c1:: with SMTP id q1mr14871301wrx.114.1613844466387; Sat, 20 Feb 2021 10:07:46 -0800 (PST) Received: from localhost.localdomain ([148.252.132.56]) by smtp.gmail.com with ESMTPSA id b83sm13594918wmd.4.2021.02.20.10.07.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Feb 2021 10:07:45 -0800 (PST) From: Pavel Begunkov To: Jens Axboe , io-uring@vger.kernel.org Subject: [PATCH v2 0/4] rsrc quiesce fixes/hardening v2 Date: Sat, 20 Feb 2021 18:03:46 +0000 Message-Id: X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org v2: concurrent quiesce avoidance (Hao) resurrect-release patch Pavel Begunkov (4): io_uring: zero ref_node after killing it io_uring: fix io_rsrc_ref_quiesce races io_uring: keep generic rsrc infra generic io_uring: wait potential ->release() on resurrect fs/io_uring.c | 96 ++++++++++++++++++++++++--------------------------- 1 file changed, 45 insertions(+), 51 deletions(-) -- 2.24.0