[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090604212246.36762996@mjolnir.ossman.eu>
Date: Thu, 4 Jun 2009 21:22:46 +0200
From: Pierre Ossman <pierre@...man.eu>
To: Matt Fleming <matt@...sole-pimps.org>
Cc: Stefan Bader <stefan.bader@...onical.com>,
Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org,
Andy Whitcroft <apw@...onical.com>
Subject: Re: [PATCH] mmc: prevent dangling block device from accessing stale
queues
On Thu, 4 Jun 2009 20:15:13 +0100
Matt Fleming <matt@...sole-pimps.org> wrote:
>
> Maybe I'm missing something, but why is the device instance being
> destroyed during a suspend? E.g why do you have mmcblk0 before suspend and
> mmcblk1 after suspend?
Because the card gets powered down during suspend and we have no way of
detecting what has happened to it when we come back up. USB does the
same thing (although it has slightly more intelligent hardware which
can keep track of removal as long as the host has some power).
Rgds
--
-- Pierre Ossman
WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end
encryption.
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists