LWN.net Logo

Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Posted Dec 29, 2010 8:10 UTC (Wed) by cmccabe (guest, #60281)
In reply to: Ext4 filesystem hits Android, no need to fear data loss (ars technica) by foom
Parent article: Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Hmm. Personally, I shut down the phone by holding down the power button. And since it has a battery, it never loses power abruptly.

I don't know anyone who removes batteries from his or her phone "all the time." First of all, you only turn off the phone when it locks up, which is extremely rare-- I think it's happened like once in my year of owning a Nexus One. Second of all, you'd have to know how to get at the battery. This is already beyond the skill level of grandma-type users. Keep in mind that some phones don't even have a removable battery, like the iPhone. Thirdly, you have to be dumb enough to not know the normal way of turning off the phone. Do all three of these factors really line up that often? I'm skeptical.


(Log in to post comments)

Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Posted Dec 29, 2010 10:43 UTC (Wed) by gowen (guest, #23914) [Link]

And since it has a battery, it never loses power abruptly.
Never dropped your phone and had the back fly off and the battery fall out? I've done that at least once with phone I've owned. Now granted, I like small, sleek, slim (and fragile) phones over more robust smartphones, but I still wouldn't rule it out.

Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Posted Dec 29, 2010 11:45 UTC (Wed) by drag (subscriber, #31333) [Link]

> I don't know anyone who removes batteries from his or her phone "all the time."

I think once and then having the FS corrupt would be enough to piss off most people, will cause upset feelings and costs on both the customer service and customer side of things.

I couldn't imagine recovering from a non-functioning firmware would be fun for most people. Probably would require mailing the thing in or a drive to the service center. It is not like you can just plug in your Ubuntu CD and go into recovery mode or anything like that.

Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Posted Dec 29, 2010 18:10 UTC (Wed) by cmccabe (guest, #60281) [Link]

I think the failure mode that Ted T'so was talking about was data loss, not filesystem corruption. The assumption is that you will be able to replay the journal to get the filesystem back into a known state without fsck.

The only wildcard is the behavior of the flash firmware. If it lies to you and says things are committed to flash when they really aren't, really anything could happen. However, it's hard to see how any filesystem can get around this problem, if it exists. Keep in mind you can't rely on ordering either, since the flash firmware needs to reorder your requests to do wear leveling and so forth.

Ext4 filesystem hits Android, no need to fear data loss (ars technica)

Posted Dec 29, 2010 15:26 UTC (Wed) by foom (subscriber, #14868) [Link]

> I don't know anyone who removes batteries from his or her phone "all the time."

Ever wanted to swap out a sim card? Or an SD card? You often need to remove the battery to do that. Remembering to properly shut down the phone when you're doing that is certainly not likely to happen all the time.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds