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.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 C62D0C433EF for ; Thu, 9 Sep 2021 15:41:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ACF7C61101 for ; Thu, 9 Sep 2021 15:41:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231342AbhIIPmq (ORCPT ); Thu, 9 Sep 2021 11:42:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231274AbhIIPmq (ORCPT ); Thu, 9 Sep 2021 11:42:46 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0B4EC061574 for ; Thu, 9 Sep 2021 08:41:36 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id n24so2849240ion.10 for ; Thu, 09 Sep 2021 08:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=t3dLIjSDSNPBxGKTFd2AaK579dkNRpPO9cjwemBKf6E=; b=VGzCqZ7AvLtjzIbvvimH2VASco70G0wtzuVdoOXFXF6JZvGbDWgfrYhxKz0tXFfr2O xk2e4yNJASC/1C+FdVxU/l54qIqG5rl950nRxDyfjtLjgYbZMWGsCGF6qLXJMl7ZkgTm YzbHEpyOx1ceTuLttczaloOmIB+J+ag9e1IjxFBaL5Ka8Nh+TU/ox8Fz3fWFGKGzjTwS ikfhZHjUUb5PSNT+wVrL3OH0fka36EGbBUEDNseW2FBY1OTi/FQ84chu9hRR+6qILQnQ Oun+rurot9hFSnDoDJXR636jKUC0Bw6FFhsdd1pDA1iNcNS12g4LTehFOIkJK/Q6KZYf 22Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=t3dLIjSDSNPBxGKTFd2AaK579dkNRpPO9cjwemBKf6E=; b=wpvyQF+uAPXJ13WmTobLKoa+UTVfRdDYApmNnikmsYaDsn7JKT43tNWnILB0h+tQ56 u5GYy2E0Lx4HPMxBdmuClt7Oj6kCVxZCQdjO/SBYqZSXicm7noEyJpqFfc+e7LIM53/+ 8iLkg0zDE11HjJL6QfuVzTF3BhnWjEWvAmPt/gf1GgThGjFXmOD3ebQr3yx2cq7yZm0p QZUjLzijHCSeErkcFbgF70liN3Shd0mBWX7ZzXshaAczmAxPHUkGVktWMC3n+RBV1loG MIXyZTSlglEkI9mMm3sv6TA8pzkYHV3F+R9t0daNEkQBDpBboy3G076VAxjqmi83U1MX hqCQ== X-Gm-Message-State: AOAM530xDflcgqdXl7S8owESMaZ4O0U2itqt6/uWpQ4suoTgyTmScr6+ +qHPtOryQ7EB471Wf4pgTf54W9dtUkqctw== X-Google-Smtp-Source: ABdhPJzcnosmtU8J+qnAxuqr53fi07AdncwXezopHX4eyI9+A13eZJRd2LNPWvlzUHZ1cMrzSc+cPw== X-Received: by 2002:a5e:990e:: with SMTP id t14mr3280426ioj.75.1631202095922; Thu, 09 Sep 2021 08:41:35 -0700 (PDT) Received: from [192.168.1.30] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id d12sm1016947iow.16.2021.09.09.08.41.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Sep 2021 08:41:35 -0700 (PDT) Subject: Re: [PATCH] io_uring: fail links of cancelled timeouts To: Pavel Begunkov , io-uring@vger.kernel.org References: From: Jens Axboe Message-ID: <674c0c92-cd4b-6bfd-09a0-9785294e8aac@kernel.dk> Date: Thu, 9 Sep 2021 09:41:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 9/9/21 6:56 AM, Pavel Begunkov wrote: > When we cancel a timeout we should mark it with REQ_F_FAIL, so > linked requests are cancelled as well, but not queued for further > execution. Applied, thanks. -- Jens Axboe