2014-05-08 (목), 12:43 -0700, Paul Ni:
> On 6 May 2014 17:04, Jaegeuk Kim <jaegeuk....@samsung.com> wrote:
> >
> > Hi,
> >
> > 2014-05-04 (일), 23:59 +0000, Paul Ni:
> > > Is it possible to set an arbitrary segment size? I'm trying to set it
> > > to 1.5MiB to make it align with erase blocks on flash chips in my EVO
> > > 840 SSD.
> >
> > Impossible. The hard-coded segment size is fixed to manange the whole FS
> > metadata.
> > If you want to adjust the underlying FTL layout, you can change the
> > section and zone sizes.
> > Thanks,
> >
[...]

> Is there any other way to avoid unaligned writes to erase blocks on
> TLC flash based SSDs? As far as I know, all TLC flash memory has erase
> blocks sizes in multiples of 3.

If you want to align more precisely to the storage, you can configure
the section size in multiples of 3.

For example,
mkfs.f2fs -s 3 $DEV
 -> this configures the sections consisting of 3 segments, 6MB.

Thanks,

-- 
Jaegeuk Kim
Samsung



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to