[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <570331.88389.qm@web36706.mail.mud.yahoo.com>
Date: Mon, 19 Feb 2007 04:09:08 -0800 (PST)
From: Alex Dubov <oakad@...oo.com>
To: Pierre Ossman <drzeus-mmc@...eus.cx>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Recent and not-so problems with tifm_sd driver
--- Pierre Ossman <drzeus-mmc@...eus.cx> wrote:
> Alex Dubov wrote:
> >
> > You'll agree, I think, that add_disk in mmc_block_probe issues a lot of requests (reads
> partition
> > table, fs superblocks and such - plenty of room for critical errors). Then, driver's remove
> method
> > will not be called before driver's probe method had finished. So mmc_block is quite involved,
> even
> > though it does not affect the problem's resolution.
>
> I agree that mmc_block's probe method will generate a whole bunch of requests.
> But I don't see how that can be called given the scenario you describe.
mmc_rescan
mmc_register_card
device_add
mmc_block_probe
mmc_block_alloc
-> queue thread starts running
add_disk
-> issues a lot of requests; card fails, my drivers calls mmc_remove_host, which in
turn calls device_del, though we are still in device_add
____________________________________________________________________________________
Have a burning question?
Go to www.Answers.yahoo.com and get answers from real people who know.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists