[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <9C696275-1834-4CCE-BAC1-A63835FE5F53@dilger.ca>
Date: Thu, 27 May 2021 13:49:33 -0600
From: Andreas Dilger <adilger@...ger.ca>
To: Wang Jianchao <jianchao.wan9@...il.com>
Cc: Theodore Ts'o <tytso@....edu>,
Ext4 Developers List <linux-ext4@...r.kernel.org>,
lishujin@...ishou.com,
linux-fsdevel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH V2 3/7] ext4: remove the repeated comment of
ext4_trim_all_free
On May 26, 2021, at 2:43 AM, Wang Jianchao <jianchao.wan9@...il.com> wrote:
>
> Signed-off-by: Wang Jianchao <wangjianchao@...ishou.com>
Reviewed-by: Andreas Dilger <adilger@...ger.ca>
> ---
> fs/ext4/mballoc.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
> index f984f15..85418cf 100644
> --- a/fs/ext4/mballoc.c
> +++ b/fs/ext4/mballoc.c
> @@ -5741,15 +5741,10 @@ static int ext4_try_to_trim_range(struct super_block *sb,
> * @max: last group block to examine
> * @minblocks: minimum extent block count
> *
> - * ext4_trim_all_free walks through group's buddy bitmap searching for free
> - * extents. When the free block is found, ext4_trim_extent is called to TRIM
> - * the extent.
> - *
> - *
> * ext4_trim_all_free walks through group's block bitmap searching for free
> * extents. When the free extent is found, mark it as used in group buddy
> * bitmap. Then issue a TRIM command on this extent and free the extent in
> - * the group buddy bitmap. This is done until whole group is scanned.
> + * the group buddy bitmap.
> */
> static ext4_grpblk_t
> ext4_trim_all_free(struct super_block *sb, ext4_group_t group,
> --
> 1.8.3.1
Cheers, Andreas
Download attachment "signature.asc" of type "application/pgp-signature" (874 bytes)
Powered by blists - more mailing lists