Gingerbread is the first Android version to feature the Ext4 file system
YAFFS is single-threaded, which would have been a bottleneck when trying to record those full HD video clips, and save them to the flash memory, whereas Ext4 doesn't have this limitation. Thus the new file system is more suited for usage with the multicore ARM-based chipsets that will be creeping into handsets and tablets next year. According to one Googler that has been pulled in to help with Ext4 for Android, as long as developers are mindful about how Ext4 does buffering and sync, there is no need to worry about data loss.
Ext4 will actually improve the handling of data loss, if developers make sure their application data is getting to persistent storage on time. Linux writes to so many files at once, that not all of them get written to permanent memory, and there is a risk for data loss. For example, when you drop your Android phone and the battery escapes, there is a chance those files that were not written in permanent memory, will evaporate.
There are newer Linux file systems out there, like Oracle's Btrfs, but Google went with the current generation Ext4 as more mature, not to mention that's what El Goog started using in its servers this year. It makes us all warm and fuzzy inside that Android got Google's server file system, and suddenly the little green robot can claim much more geek-cred with us.
source: Thunk.org via Arstechnica
1. networkdood (Posts: 4748; Member since: 31 Mar 2010)
Interesting, as I am using ext4 on my SAMSUNG CAPTIVATE......
2. calamazoo (unregistered)
yeah, the lagfix for the galaxy s phones brings ext4, which removes the I/O bottleneck and the quadrant scores fly...
3. remixfa (Posts: 13882; Member since: 19 Dec 2008)
yup, Voodoo in the galaxyS is ext4 already :). Lagfix is ext2. Running Nero3+voodoo myself. great battery life and smooth as butter.
4. networkdood (Posts: 4748; Member since: 31 Mar 2010)
I agree, so easy to flash a new rom and with a 32GB SD card I have plenty of room for data....and there is an option with CWM to use ext4 for a lagfix......very good scores and runs smooth....