On Tue, 2012-10-09 at 14:53 -0500, Jooyoung Hwang wrote: > On Tue, 2012-10-09 at 16:08 +0900, Jaegeuk Kim wrote: > > > -----Original Message----- > > > From: Vyacheslav Dubeyko [mailto:sl...@dubeyko.com] > > > Sent: Tuesday, October 09, 2012 4:23 AM > > > To: Jaegeuk Kim > > > Cc: 'Marco Stornelli'; 'Jaegeuk Kim'; 'Al Viro'; ty...@mit.edu; > > > gre...@linuxfoundation.org; linux- > > > ker...@vger.kernel.org; chur....@samsung.com; cm224....@samsung.com; > > > jooyoung.hw...@samsung.com; > > > linux-fsde...@vger.kernel.org > > > Subject: Re: [PATCH 00/16] f2fs: introduce flash-friendly file system
> > I'd like you to refer to the following link as well which is about > mobile workload pattern. > http://www.cs.cmu.edu/~fuyaoz/courses/15712/report.pdf > It's reported that in Android there are frequent issues of fsync and > most of them are only for small size of data. > > To provide efficient fsync, F2FS minimizes the amount of metadata > written to serve a fsync. Fsync in F2FS is completed by writing user > data blocks and direct node blocks which point to them rather than > creating a new checkpoint which would incur more I/O loads. > If sudden power failure happens, then F2FS recovery routine rolls back > to the latest checkpoint and thereafter recovers file system state to > reflect all the completed fsync operations, which we call roll-forward > recovery. > You may want to look at the code about the roll-forward in > recover_fsync_data(). > Thank you. With the best regards, Vyacheslav Dubeyko. > -- > Jooyoung Hwang > Samsung Electronics > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/