Re: [f2fs-dev] [PATCH v3] f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info

From: patchwork-bot+f2fs
Date: Sun Feb 05 2023 - 22:40:29 EST


Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:

On Thu, 2 Feb 2023 15:04:56 +0800 you wrote:
> This patch tries to use bitfield in struct f2fs_io_info to improve
> memory usage.
>
> struct f2fs_io_info {
> ...
> unsigned int need_lock:8; /* indicate we need to lock cp_rwsem */
> unsigned int version:8; /* version of the node */
> unsigned int submitted:1; /* indicate IO submission */
> unsigned int in_list:1; /* indicate fio is in io_list */
> unsigned int is_por:1; /* indicate IO is from recovery or not */
> unsigned int retry:1; /* need to reallocate block address */
> unsigned int encrypted:1; /* indicate file is encrypted */
> unsigned int post_read:1; /* require post read */
> ...
> };
>
> [...]

Here is the summary with links:
- [f2fs-dev,v3] f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info
https://git.kernel.org/jaegeuk/f2fs/c/2eae077e6e46

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html