Re: [PATCH 1/2] MEMSTICK: fix hangs on unexpected device removalin mspro_blk

From: Maxim Levitsky
Date: Wed Aug 04 2010 - 12:53:50 EST

On Wed, 2010-08-04 at 00:50 -0700, Alex Dubov wrote:
> --- On Tue, 3/8/10, Maxim Levitsky <maximlevitsky@xxxxxxxxx> wrote:
> > Now that del_gendisk syncs, we better
> > start rejecting requests right away.
> I don't quite see why this change is needed. My understanding is, user
> accessible interface should be marked as removed as early, as possible.

The problem here is that del_gendisk, syncs the device.
This is new change, made after you did your drivers.

I have this problem on jMicron too (which otherwise works fine).


I have a copy of your ms_block.c.
I would would be very happy if you share with me, what problems does it
still have (besides need of trivial port for changes in block system,
because I want to push it upstream too.

I have MS DUO 64M to test it against.

Best regards,
Maxim Levitsky

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at