Re: [PATCH 3/4] f2fs: remain nat cache entries for further free nid allocation

From: Namjae Jeon
Date: Mon Mar 25 2013 - 20:49:35 EST


2013/3/25, Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>:
> In the checkpoint flow, the f2fs investigates the total nat cache entries.
> Previously, if an entry has NULL_ADDR, f2fs drops the entry and adds the
> obsolete nid to the free nid list.
> However, this free nid will be reused sooner, resulting in its nat entry
> miss.
> In order to avoid this, we don't need to drop the nat cache entry at this
> moment.
>
> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>
Looks good to me.
Reviewed-by: Namjae Jeon <namjae.jeon@xxxxxxxxxxx>

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