From: patchwork-bot+f2fs@kernel.org
To: Yongpeng Yang <yangyongpeng1@oppo.com>
Cc: jaegeuk@kernel.org, chao@kernel.org,
linux-kernel@vger.kernel.org,
linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH V2] f2fs: The GC triggered by ioctl also needs to mark the segno as victim
Date: Mon, 16 Dec 2024 16:40:40 +0000 [thread overview]
Message-ID: <173436724000.272389.17352923573264150429.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20241204033113.4133027-1-yangyongpeng1@oppo.com>
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:
On Wed, 4 Dec 2024 11:31:13 +0800 you wrote:
> In SSR mode, the segment selected for allocation might be the same as
> the target segment of the GC triggered by ioctl, resulting in the GC
> moving the CURSEG_I(sbi, type)->segno.
> Thread A Thread B or Thread A
> - f2fs_ioc_gc_range
> - __f2fs_ioc_gc_range(.victim_segno=segno#N)
> - f2fs_gc
> - __get_victim
> - f2fs_get_victim
> : segno#N is valid, return segno#N as source segment of GC
> - f2fs_allocate_data_block
> - need_new_seg
> - get_ssr_segment
> - f2fs_get_victim
> : get segno #N as destination segment
> - change_curseg
>
> [...]
Here is the summary with links:
- [f2fs-dev,V2] f2fs: The GC triggered by ioctl also needs to mark the segno as victim
https://git.kernel.org/jaegeuk/f2fs/c/e9a844f6e487
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2024-12-16 16:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 3:31 Yongpeng Yang
2024-12-12 14:57 ` Chao Yu
2024-12-16 16:40 ` patchwork-bot+f2fs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=173436724000.272389.17352923573264150429.git-patchwork-notify@kernel.org \
--to=patchwork-bot+f2fs@kernel.org \
--cc=chao@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=yangyongpeng1@oppo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®