lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 3 Apr 2013 17:21:52 +0900
From:	Namjae Jeon <linkinjeon@...il.com>
To:	jaegeuk.kim@...sung.com
Cc:	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	linux-f2fs-devel@...ts.sourceforge.net
Subject: Re: [PATCH 5/9 v2] f2fs: change GC bitmaps to apply the section granularity

2013/4/3, Jaegeuk Kim <jaegeuk.kim@...sung.com>:
> Hi,
> Agreed, and resolved all the issues like below.
> Thanks,
>
> change log from v1:
>  o change local variable position
>  o change function shape
>  o add NULL_SECNO
>
> From f1802031a467751df6475bd3f56300137fd2ac34 Mon Sep 17 00:00:00 2001
> From: Jaegeuk Kim <jaegeuk.kim@...sung.com>
> Date: Sun, 31 Mar 2013 13:26:03 +0900
> Subject: [PATCH] f2fs: change GC bitmaps to apply the section
> granularity
> Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
> linux-f2fs-devel@...ts.sourceforge.net
>
> This patch removes a bitmap for victim segments selected by foreground
> GC, and
> modifies the other bitmap for victim segments selected by background GC.
>
> 1) foreground GC bitmap
>  : We don't need to manage this, since we just only one previous victim
> section
>    number instead of the whole victim history.
>    The f2fs uses the victim section number in order not to allocate
> currently
>    GC'ed section to current active logs.
>
> 2) background GC bitmap
>  : This bitmap is used to avoid selecting victims repeatedly by
> background GCs.
>    In addition, the victims are able to be selected by foreground GCs,
> since
>    there is no need to read victim blocks during foreground GCs.
>
>    By the fact that the foreground GC reclaims segments in a section
> unit, it'd
>    be better to manage this bitmap based on the section granularity.
>
> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@...sung.com>
Looks good to me!
Reviewed-by: Namjae Jeon <namjae.jeon@...sung.com>

Thanks.
> ---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ