Re: MMC/SD Root filesystem suspend/resume problems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pierre Ossman
Date: Sunday, July 22, 2007 - 7:59 am

On Sun, 22 Jul 2007 15:28:00 +0100
Richard Purdie <rpurdie@rpsys.net> wrote:


The corruption will only occur if the filesystem is dirty. Granted, the
mount will be dead and useless, but I wouldn't call that corruption.

Anyway, this behaviour was selected after seeing the long discussion
about how USB should handle the same problem. It was decided that it
was best to play it safe and remove any devices that couldn't be
determined to have remained in the slot. We also have the USB_PERSIST
option these days, which does the same thing as MMC_UNSAFE_RESUME.


Or that direct usage of /sys/power/state is only for those who know
what they are doing (and have umounted their filesystems beforehand).


I am of the opinion that it was more broken before I touched it. Silent
corruption is never acceptable in my book. But if it is in yours, just
enable MMC_UNSAFE_RESUME and you'll have the old behaviour.

Rgds
-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MMC/SD Root filesystem suspend/resume problems, Richard Purdie, (Thu Jul 19, 8:53 am)
Re: MMC/SD Root filesystem suspend/resume problems, Richard Purdie, (Thu Jul 19, 9:42 am)
Re: MMC/SD Root filesystem suspend/resume problems, Pierre Ossman, (Thu Jul 19, 10:03 am)
Re: MMC/SD Root filesystem suspend/resume problems, Richard Purdie, (Sun Jul 22, 6:18 am)
Re: MMC/SD Root filesystem suspend/resume problems, Pierre Ossman, (Sun Jul 22, 7:05 am)
Re: MMC/SD Root filesystem suspend/resume problems, Richard Purdie, (Sun Jul 22, 7:28 am)
Re: MMC/SD Root filesystem suspend/resume problems, Pierre Ossman, (Sun Jul 22, 7:59 am)
Re: MMC/SD Root filesystem suspend/resume problems, Pavel Machek, (Wed Jul 25, 12:01 pm)
Re: MMC/SD Root filesystem suspend/resume problems, Richard Purdie, (Wed Jul 25, 12:20 pm)
Re: MMC/SD Root filesystem suspend/resume problems, Pavel Machek, (Wed Jul 25, 3:47 pm)