Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp210086iob; Mon, 2 May 2022 17:17:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTKzdvibFJpQz0KOU53lZjeke2OGfxYjhKioTSa+8Vkgxc5mXs4dosDmGw7LbjBSjIEDeV X-Received: by 2002:a17:90a:2a01:b0:1d9:44ad:2627 with SMTP id i1-20020a17090a2a0100b001d944ad2627mr1871868pjd.195.1651537077203; Mon, 02 May 2022 17:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651537077; cv=none; d=google.com; s=arc-20160816; b=i93wj14GZI+z24jEVgUYreyqgvnhim39XKbM7g3DDCK+dT04jAA8uj8yeb2v0XUMaE mI7SdQVMvWEnDYrltDiNJKv9e4U8C86TXgQRWAQQ+eL77kIywBAstyu6G7ndMl1/Nb1g f7ezWJETk2HNvq1KhIXyRvDHo35lqZHG2tBVnnhecCrpfqIEAoWeNuBGRD22JlMk1xoW kEkiNjcwLzqy7PY/zyu6af+a9dYQfqiYevJsuaQcaCKBN5VeT4LGqOYSNhkIjLSPcCB0 9oyENGq+cckS/TYbhzYl+XUV/MtqfNmJksb72yvFo0FEeisT5XdW+uPMBwuQYLZ2BJWX 4Yrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:to:cc:content-language :subject:from:user-agent:mime-version:date:message-id:dkim-signature :dkim-signature; bh=ReUNB5qURC1x6lVfQVLPXptH6UKZn9HvHv/GBtLg1r8=; b=0tTeyyQUG/VLLswNIZnfWe1Dtb+DXagFb7Fpaklu51KTvUp3MhjroSp6A+DFdC2gkV bwFjtKxeeRl7KxcaXyuiS3qyI26Fj1tCCTiwwLOonMZmV3OVr3bncZFvmDoUh1B1cksG Ib5U+5ueSpo8+b15hSIa22Q/8XgmLx3+TPFKRLqOHAALIO0hHQxHvuwNvwem39UQK1fz mY03ag2X0+4mLWIZEKIRnAziKIB6OqYt9FHqZnLWOq3F/idJ5V781wXiSH7UsZJakWfa T1pXFEFrVJnmCKFMQCqa3pBPjHHQvycBYi3EVxLKjyp7EvyYa6wPpQP8EhnwMvMJNksg mQyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@living180.net header.s=fm2 header.b="o/ytHf5m"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=v2fHZeUs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e1-20020a656881000000b003ab6efc083csi14866113pgt.512.2022.05.02.17.17.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:17:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@living180.net header.s=fm2 header.b="o/ytHf5m"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=v2fHZeUs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99E8F205D6; Mon, 2 May 2022 17:15:35 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1385222AbiEBNVN (ORCPT + 99 others); Mon, 2 May 2022 09:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385210AbiEBNVG (ORCPT ); Mon, 2 May 2022 09:21:06 -0400 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4118DB7DB; Mon, 2 May 2022 06:17:38 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D8BAC5C0089; Mon, 2 May 2022 09:17:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 02 May 2022 09:17:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=living180.net; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1651497455; x=1651583855; bh=Re UNB5qURC1x6lVfQVLPXptH6UKZn9HvHv/GBtLg1r8=; b=o/ytHf5mWgj1XYJ48V YNMhE+RdxqOxN2l4Oz0JV0ZJ8HSxMbxXkHdRDuX3lAJ/WsTs2DYy1FsXAle7wiJM AXnlbUf1H6DSDd4eCqG5c0QJBSKmGPzvlf/5+Ufi0YTVw+ZevQv+MgWAWArGQ3H2 WyJ1gId21z3xTPulBr1I39xfVUmkwHNbGobQghhKwgEWh9By6B1s5yNTxhKP5aHw 9Xx9aNvBU73NwItmo1DMWbjpkj2tSIQejpAY3YPdoE/fB79hBMj+/dgcxqvGBdfb OJv4Ns6/gviVwWEAtmGAcs0+wQ8YjC+fuqiLf8rKHb4phZeGOqAFsYloUhlX2tDM RE4g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1651497455; x=1651583855; bh=ReUNB5qURC1x6lVfQVLPXptH6UKZn9HvHv/ GBtLg1r8=; b=v2fHZeUsa1HzjFnENokBZVERtuU/DS6fo1d3j4gH8cYehUxp0TQ Acgv2dGpUH7lIc231gVslpwnoLg72WUy9IvalFBBUYJhG9nrF+UCMqZKc0522+53 QN3JDzCDgGEGMo6j4GU45UNO+BkKwXNnyCzSHRrzx1Go4zwOsX9TFsxCtx7ANl4+ aG2auxt07O3X5vuWAkZRTAGEL4fQTArEiLOubKEQmtdszGvMW+kV3o5uo0EhgJlN pjfVgL8LP/J5+EFPHQA0sU9oUpol/+cpw7+g78+1gQK58boIvcMYAzSVCprzy93M MCMzmXvtJCd0ICQOdmVLWx+R1PJ9itDxrVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehgdeiudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfhufevvfgtgfesthekredttdefjeenucfhrhhomhepffgrnhhivghl ucfjrghrughinhhguceoughhrghrughinhhgsehlihhvihhnghdukedtrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvffelhffgvdefueeufffhgeekgeehtedvudeikeefudejgfej lefgleehfedtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpeguhhgrrhguihhngheslhhivhhinhhgudektddrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 May 2022 09:17:33 -0400 (EDT) Message-ID: <7925e262-e0d4-6791-e43b-d37e9d693414@living180.net> Date: Mon, 2 May 2022 16:17:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 From: Daniel Harding Subject: [REGRESSION] lxc-stop hang on 5.17.x kernels Content-Language: en-US Cc: regressions@lists.linux.dev, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org To: Jens Axboe , Pavel Begunkov Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I use lxc-4.0.12 on Gentoo, built with io-uring support (--enable-liburing), targeting liburing-2.1.  My kernel config is a very lightly modified version of Fedora's generic kernel config. After moving from the 5.16.x series to the 5.17.x kernel series, I started noticed frequent hangs in lxc-stop.  It doesn't happen 100% of the time, but definitely more than 50% of the time.  Bisecting narrowed down the issue to commit aa43477b040251f451db0d844073ac00a8ab66ee: io_uring: poll rework. Testing indicates the problem is still present in 5.18-rc5. Unfortunately I do not have the expertise with the codebases of either lxc or io-uring to try to debug the problem further on my own, but I can easily apply patches to any of the involved components (lxc, liburing, kernel) and rebuild for testing or validation.  I am also happy to provide any further information that would be helpful with reproducing or debugging the problem. Regards, Daniel Harding #regzbot introduced: aa43477b040251f451db0d844073ac00a8ab66ee