Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1601405lqp; Mon, 15 Apr 2024 11:02:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJFD240WaW2HCLR226k4uZGFOJ8nIUy+ucVFHJ44c49VH69O8B9HJuGS6QBT+8/0RJsV2M8ZXbcw2FCvnTN5aVEW+0dKJv8wx9526rmg== X-Google-Smtp-Source: AGHT+IHScHmV4V/XEZxuQ2sGeGUFFjX3dli5mSbqZFbX6rMOXpnNA2febdZifi2dJ4L6BCRNBeem X-Received: by 2002:a17:90a:fa08:b0:2a4:7df8:bd71 with SMTP id cm8-20020a17090afa0800b002a47df8bd71mr9294346pjb.13.1713204169415; Mon, 15 Apr 2024 11:02:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713204169; cv=pass; d=google.com; s=arc-20160816; b=KghpPxHV3OVjyzwI328ZWmRPboLvVDIAmj1hjInc5JPRexcFrbYRXpok1rtlNuVgTM cHfdszTBfWEW8s8marGHUyFfesEnsnjubuTPE5BRUkz6U44Z/DpQmBNOrz7YTLjJzquc zunrmpHgYm5yCVqvGjQkKqVjQei0tWNNok9tAvHcUnQJnXPP9yOoKPPwMzKeHMsoouoI uxUXMRLR1Kq6haElZAkpmgjXHR+Ko/PBqvnu89qO3vKjF/Yk6d9/vtMUe88V3nlWGA45 YYWiQwK/ySwgmC48ZktlkWP6F/ffMWYj/vBs4Ws9pnk7Wo3YA3bgpwZUCc7xTd5QjJDq R/IQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=BvG3OA4w+Lj+qFTRz9zvJBh1oQGpJxeKv6GShdGzH/k=; fh=UK+no6Yc4WxGlltNTPdYBFFNfSGUaY8aV75AM7/zy6A=; b=CM2xo+rmIXi0K0FzoAlJHeevQij9Rn5rsDoIJMSzC5xtEiwoFSShuxa0TpXu0nSXHR FFECIIHNA2zib2x7QLCTwkE9NKu1NJUMslhbrR0gg5fXneF8MF6Gf29a1xgDxpQlUkqj /FsqzmaVdX+tqk2KVLaba8/v0zOOGpbtu45iaPzYtuCAksYiQ6iFFi0ThqDxqTQr5rK7 l0vDxx12ZBNGrftHqjNQit5KPtzQ+n5rab8O2nzOH6qOh2hblbnzHq5rGWpratYsnhgL BeVT9y/SdUduzBH4Ng1BbswgJhFW8XIHyXX801voJprjSW194nQiOxtURFHK7Pt26wLQ HhkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=C8a4cA1i; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-145686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h22-20020a17090acf1600b002a25a833cd5si8468003pju.97.2024.04.15.11.02.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 11:02:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=C8a4cA1i; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-145686-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7804D282816 for ; Mon, 15 Apr 2024 18:02:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7722B13A411; Mon, 15 Apr 2024 18:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="C8a4cA1i" Received: from out-178.mta1.migadu.com (out-178.mta1.migadu.com [95.215.58.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AABD91E877; Mon, 15 Apr 2024 18:02:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713204161; cv=none; b=q33eoqDpd8UHFOD3DxOnwUx3qNxpMXA2Tmmp9XtzOy5ZS/uDokgo39ZQfzwf2/In/PAp9RtkMuyyFUFguUd6waPn9krbgOwS1wzQEyZRQ7EYzCaS2TrTME0SJDiFpvKgAR2MOS5ATsd0BVDdULa8dZRaBId73NypLpKm8j0BMrM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713204161; c=relaxed/simple; bh=jjRA8zXzvN3+cUuLH6NQmwsAUi5CL+5L4B90taz/wa0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kvL3mtDfGUiMVXNvjw8Iz4LtHaMp3IuU7HVvzFwIEe6ErGDaZvp0Y7iRz+qvDLPLwGMihMa/MKrJgYP6R46TUB5OEm/gthA1AgcHN/GT4uO6CsNnhzG1QCerC/pRjiS0Fl8nMypYaU0dc4sUXoJeMK5Du3OzkeHReRy1Aisd7RU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=C8a4cA1i; arc=none smtp.client-ip=95.215.58.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Mon, 15 Apr 2024 14:02:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1713204156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BvG3OA4w+Lj+qFTRz9zvJBh1oQGpJxeKv6GShdGzH/k=; b=C8a4cA1ivcG5Bo7GDT8vVtf5hr3IqHQvcKX+4O0fFKHUHgmIX1sthSt0u8U3kKTqaSIi+V /lt41/u+rU12oYkxjHuLrF/5lHiSYArGy10tPc0cEinynEE6E3q+T0spsmyRA3XSbE5EEd YiX+R37zTKLup25G96rRs4KCJNxe5Gs= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Greg Kroah-Hartman Cc: Johannes Berg , linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: debugfs revoke broken? Message-ID: References: <2024041557-stereo-wafer-1551@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2024041557-stereo-wafer-1551@gregkh> X-Migadu-Flow: FLOW_OUT On Mon, Apr 15, 2024 at 10:47:56AM +0200, Greg Kroah-Hartman wrote: > So this file was open when debugfs_remove() was called? Seems likely. > Any chance you can bisect? We just fixed some issues here in > 952c3fce297f ("debugfs: fix wait/cancellation handling during remove") > that I thought should have handled this. If you revert that commit, > does things work again? And/or what about commit 8c88a474357e > ("debugfs: add API to allow debugfs operations cancellation")? Maybe we > need to go back to not having completions at all in the debugfs remove > path and just live with waiting for the files to be removed before > continuing (which should at the least, resolve the issue you see here, > while slowing things down a bit.) No, this doesn't occur often enough to bisect, unfortunately. All my tests bang on sysfs/debugfs in the background to torture test those codepaths, and I've seen 2 occurrences out of thousands of test runs - it's rare.