Hi Pierre, > -----Original Message----- > From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Pierre > Ossman > Sent: Thursday, May 22, 2008 12:02 AM > To: Chikkature Rajashekar, Madhusudhan > Cc: 'Russell King - ARM Linux'; linux-omap@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxxxxx > Subject: Re: MMC/SD cards hotplug scenario > > On Wed, 21 May 2008 15:01:00 +0530 > "Madhusudhan Chikkature Rajashekar" <madhu.cr@xxxxxx> wrote: > > > What I meant here is that reinsertion of the card does not seem to result in reinitialization of > the card consistently. > > Previously, that has always been because of bad interactions with the > block layer. 2.6.24 should be more resilient though. > > > <snip> > The obscene amount of noise here seems to be caused by ext2 being > extremely persistent. This is generally a good thing for your data > though. :) > > What is missing is a decent way for a block device to tell the upper > layers that is gone with no hope of ever coming back. Right now we just > tell it that there was a write error, which just makes the upper layers > retry and retry. > In this scenario, do you think it would be right to kill the ongoing copy from application space, say for example an UI is running for MMC copy and when the card is removed the app gets notified may be through hotplug event or signaling and then app just kills the process that is issuing this copy request. This will prevent long running errors. Just a thought, Regards, Khasim -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html