From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 90CC93A543D for ; Tue, 14 Jul 2026 03:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783998033; cv=none; b=EFO7D8Bram6SlrRSEk4jhB1kv2iuGDGagaPfw3iASdBWYoo+n6BU7seubSETlTkXhARJZjSiY5mJxj01CUYkQ70MDw9UjEPlvSEt5hhPtAAGpwXIbwIFICKzECHn5lzLAWnVltIDw8s9aKBJ/F+XQCkBqbdlaEhU34E7DFhoJvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783998033; c=relaxed/simple; bh=gauedofL5byQisig5oexzsvrYzqC1hh9zCMmJNvwICQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=aC2bGzxboxTkQH49pVaoJH3/HX3kVzrQxPrPCwMfSu6Hzn+Z3mxdW2nd1QW1cVbQjLldmgbmhYgz09MUNU4ePI7Jn4gl015zh7tRD9YCbcmhy1MDCJkMrvRYHfXGiIBEl1rT4pN587piCeEK+P8YCO32CFv+R9i6LNZqf0NVDLw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WtZwht4T; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WtZwht4T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D9D61F00A3D; Tue, 14 Jul 2026 03:00:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783998031; bh=YaG5Ta1xKsPadz96+IcwgZxoy7jf/OIJasluRQ5kZZM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=WtZwht4TTYxfy0oh89NS2wlto/4csHAOvJb466UFIPGkuWuxRouWGovq99SNztYWj X6lXIH6/8MUriOd21RQQQ6If8vbmcsAMAHPUbFaCtyL2bmkKY9pc2l8rUuImgn7iCh rOumpKEmUh1KXzusI0EEWzlblEHbQK4MAasMOYDbi10+eeMlBgrpjsIvRqJ+j9OoqW d5sv1GgrInLXm85ycKOKhdQGHisD+CfIydJY9TwU9O0znbuk3HMNvAOprNwN0MicxI TzISDzTLSuf/RE5LxK1dAZo0cJXSc4lqVxuB7RFbqCoVep7XkIls4mD1b8a8hy8C1S qBHcPd5lHon6g== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 569463924FB7; Tue, 14 Jul 2026 03:00:07 +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 v2 1/2] f2fs: quota: do not use GFP_NOFS in f2fs_quota_read() From: patchwork-bot+f2fs@kernel.org Message-Id: <178399800589.2939750.3339446022508241105.git-patchwork-notify@kernel.org> Date: Tue, 14 Jul 2026 03:00:05 +0000 References: <20260707113934.3003158-1-chao@kernel.org> In-Reply-To: <20260707113934.3003158-1-chao@kernel.org> To: Chao Yu Cc: jaegeuk@kernel.org, jack@suse.cz, linux-kernel@vger.kernel.org, willy@infradead.org, linux-f2fs-devel@lists.sourceforge.net Hello: This series was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 7 Jul 2026 19:39:33 +0800 you wrote: > Commit 02117b8ae9c0 ("f2fs: Set GF_NOFS in read_cache_page_gfp while doing > f2fs_quota_read") adds GFP_NOFS in f2fs_quota_read() to avoid below deadlock: > > - do_sys_open > - vfs_open > - dquot_file_open > - dquot_initialize > - dqget > - dquot_acquire > : locks &dqopt->dqio_mutex (VFS Quota Mutex) > - qtree_read_dquot > - f2fs_quota_read > - read_mapping_page (GFP_KERNEL / allows GFP_FS) > - __alloc_pages_nodemask > - try_to_free_pages (Direct Reclaim) > - prune_icache_sb > - evict > - f2fs_evict_inode > - dquot_drop > - dqput > - dquot_commit > : tries to lock &dqopt->dqio_mutex again > ==> DEADLOCK (waiting for itself) > > [...] Here is the summary with links: - [f2fs-dev,v2,1/2] f2fs: quota: do not use GFP_NOFS in f2fs_quota_read() https://git.kernel.org/jaegeuk/f2fs/c/9f3a37815818 - [f2fs-dev,v2,2/2] f2fs: drop FGP_NOFS in f2fs_write_begin() https://git.kernel.org/jaegeuk/f2fs/c/6e7205a702e2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html