Re: [f2fs-dev] [PATCH] mkfs.f2fs: expand scalability of nat bitmap

2018-01-14 Thread Chao Yu
Hi Xiang Gao, On 2018/1/13 19:16, Gao Xiang wrote: > Hi Chao, > > > On 2018/01/12 18:24, Chao Yu wrote: > >> Previously, our total node number (nat_bitmap) and total nat segment count >> will not monotonously increase along with image size, and max nat_bitmap size >> is limited by "CHECKSUM_OFF

Re: [f2fs-dev] [PATCH] mkfs.f2fs: expand scalability of nat bitmap

2018-01-13 Thread Gao Xiang via Linux-f2fs-devel
Hi Chao, On 2018/01/12 18:24, Chao Yu wrote: Previously, our total node number (nat_bitmap) and total nat segment count will not monotonously increase along with image size, and max nat_bitmap size is limited by "CHECKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1", it is with bad scalability

[f2fs-dev] [PATCH] mkfs.f2fs: expand scalability of nat bitmap

2018-01-12 Thread Chao Yu
Previously, our total node number (nat_bitmap) and total nat segment count will not monotonously increase along with image size, and max nat_bitmap size is limited by "CHECKSUM_OFFSET - sizeof(struct f2fs_checkpoint) + 1", it is with bad scalability when user wants to create more inode/node in larg