Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-29 Thread Junling Zheng
ourceforge.net >> Subject: Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super >> block correctly >> >> Hi, Fan, >> >> On 2016/2/24 15:57, Fan Li wrote: >>> >>> >>>> -Original Message- >>>> Fro

Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-29 Thread Fan Li
; To: Fan Li > >> Cc: 'Junling Zheng'; heyun...@huawei.com; > >> linux-f2fs-devel@lists.sourceforge.net > >> Subject: Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in > >> super block correctly > >> > >> Hi Fan, > >> > >&g

Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-24 Thread Junling Zheng
ists.sourceforge.net >> Subject: Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super >> block correctly >> >> Hi Fan, >> >> Could you resubmit the final patch? >> I'll remove the previous patch merged into dev branch. > > I think

Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-23 Thread Fan Li
6 10:52 AM > > > To: Fan Li; 'Jaegeuk Kim'; heyun...@huawei.com > > > Cc: linux-f2fs-devel@lists.sourceforge.net > > > Subject: Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in > > > super block correctly > > > > > > On 2016/2/3 13

Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-05 Thread Jaegeuk Kim
rsday, February 04, 2016 10:52 AM > > To: Fan Li; 'Jaegeuk Kim'; heyun...@huawei.com > > Cc: linux-f2fs-devel@lists.sourceforge.net > > Subject: Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super > > block correctly > > > > On 2016/2/3 13:29,

Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-04 Thread Fan Li
> -Original Message- > From: Junling Zheng [mailto:zhengjunl...@huawei.com] > Sent: Thursday, February 04, 2016 10:52 AM > To: Fan Li; 'Jaegeuk Kim'; heyun...@huawei.com > Cc: linux-f2fs-devel@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH v2] f2fs-tools:

Re: [f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-03 Thread Junling Zheng
On 2016/2/3 13:29, Fan Li wrote: > Now f2fs will check statistics recorded in super block in > sanity_check_area_boundary() during mount,if number of segments per > section is greater than 1, and the disk space isn't aligned with section, Hi Fan, Hi Kim: I'm uncertain about which unit the disk

[f2fs-dev] [PATCH v2] f2fs-tools: set segment_count in super block correctly

2016-02-02 Thread Fan Li
Now f2fs will check statistics recorded in super block in sanity_check_area_boundary() during mount,if number of segments per section is greater than 1, and the disk space isn't aligned with section, mount will fail due to following condition: main_blkaddr + (segment_count_main <<