Re: [f2fs-dev] [PATCH] mkfs.f2fs: introduce -b option to support specified fs size formating

2015-11-13 Thread He YunLei
hi, We can specify fs size in function f2fs_parse_options as follow: if ((optind + 1) < argc) { /* We have a sector count. */ config.total_sectors = atoll(argv[optind+1]); which one is better? Thanks On 2015/11/10 16:48, Chao Yu wrote: > This patch introduces a new option

[f2fs-dev] [PATCH] f2fs: clear page uptodate when dropping cache for atomic write

2015-11-13 Thread Chao Yu
We should clear uptodate flag for all pages atomic written when we drop them, otherwise before these cached pages were reclaimed or invalidated eventually, we will see invalid data when hitting them again. Signed-off-by: Chao Yu --- fs/f2fs/segment.c | 1 + 1 file changed,