Re: Top 10 bugs/warnings for the week of March 23rd, 2008

From: Theodore Tso
Date: Mon May 26 2008 - 13:03:01 EST


On Mon, May 26, 2008 at 06:48:58PM +0200, Ingo Molnar wrote:
>
> What if the USB stick was pulled mistakenly, the user notices her
> mistake later on and plugs the USB stick back in and expects all the
> data to not be corrupted?

If the USB stack folks would like to work on how to recognize that
it's the same USB stick that had been previously pulled, so that it
gets the same block device, and we can decide for how long we should
keep dirty buffers around associated with a pulled USB stick, we can
certainly have that conversation. :-)

> And any such problems do come up in the enterprise space as well, in
> terms of multipath IO issues - and Linux still does quite poorly in that
> area.

We definitely have problems here, I agree. But at least with a
multipath I/O device we have something that sticks around even when
the last I/O path is pulled. We could talk about setting up
dm-multipath with USB, I suppose --- that would have the benefit of
getting the dm-multipath code much more widely exercised without
needing exotic (and expensive) hardware kit being required.

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/