From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C7D69408231 for ; Tue, 24 Mar 2026 17:32:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774373555; cv=none; b=kPCIbV9x0QADXYxin15TyDPPsbiYu+28vZjK/gZ/zzx7aomCFUjkdjoScukkCfbn1mw+zDS02ujv5VBF7qSFgA9YgtUoe3CHYLySWHk/I1uAglg8zI9VdKtvjoQoDzVpCV0WAKIT0+MqoL1lGvrvuIw/iWzN/kbs7r217H50cHQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774373555; c=relaxed/simple; bh=79VVdCufUzoteJIpCc+oBcSqvrJt4B9pmt+LUmvVlL0=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=D5E37cIiWesCVvm18IuoX2jBdvnLxhxjNWAAYEz78oUqEDNkUrdyo/ljDiCRUFzyTWS/rHwpClYys/wEaNqwwRyIS3haNmAZXJbBG3ts2Vkv9PhBe/QeWrpdEBjS2rtvdA674anIY3Rfss9pB4lRjImaramxiu+Gs1sN1TpYrqg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=W+usy5IZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="W+usy5IZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABFE8C19424; Tue, 24 Mar 2026 17:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774373555; bh=79VVdCufUzoteJIpCc+oBcSqvrJt4B9pmt+LUmvVlL0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=W+usy5IZhvmJj7m1yfgBRfeCroJE8L8beUWaoTNgzf/f/93zSvh7fWtTI62SadVLl 3HSeo1ntCOgPg0v5zDpIlfxqnTpdKXTQfWKBhKMJgDCkNF2NV0f5bCmRBHmgmRHamF nA+d+DH23rW8eB4J3ckZq2UMEnhJWHAp+eRxRXvQlkFMOh3hNx/vqtY4FwyFvqaY6A jWtryXk/+5snegXIAlwsd/bZnGiyFQGVnDEuNlzfrLMUAvWXUPx/muXIzY3nrHDBZG W8PuVpQryS4oETpztexJTY9rD7LmEMFYE/jU3LG7uy2zbHSivmLuWYwrsBo0QxNAUY aCeQ7SQ+wmbDA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B9E233808203; Tue, 24 Mar 2026 17:32:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: fix false alarm of lockdep on cp_global_sem lock From: patchwork-bot+f2fs@kernel.org Message-Id: <177437354328.1223048.1620530406654959719.git-patchwork-notify@kernel.org> Date: Tue, 24 Mar 2026 17:32:23 +0000 References: <20260306122421.209903-1-chao@kernel.org> In-Reply-To: <20260306122421.209903-1-chao@kernel.org> To: Chao Yu Cc: jaegeuk@kernel.org, shinichiro.kawasaki@wdc.com, stable@kernel.org, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 6 Mar 2026 12:24:20 +0000 you wrote: > lockdep reported a potential deadlock: > > a) TCMU device removal context: > - call del_gendisk() to get q->q_usage_counter > - call start_flush_work() to get work_completion of wb->dwork > b) f2fs writeback context: > - in wb_workfn(), which holds work_completion of wb->dwork > - call f2fs_balance_fs() to get sbi->gc_lock > c) f2fs vfs_write context: > - call f2fs_gc() to get sbi->gc_lock > - call f2fs_write_checkpoint() to get sbi->cp_global_sem > d) f2fs mount context: > - call recover_fsync_data() to get sbi->cp_global_sem > - call f2fs_check_and_fix_write_pointer() to call blkdev_report_zones() > that goes down to blk_mq_alloc_request and get q->q_usage_counter > > [...] Here is the summary with links: - [f2fs-dev] f2fs: fix false alarm of lockdep on cp_global_sem lock https://git.kernel.org/jaegeuk/f2fs/c/6163918b64ae You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html