Re: bug in md write barrier support?

From: Neil Brown
Date: Fri Sep 03 2004 - 20:10:27 EST


On Friday September 3, hch@xxxxxx wrote:
> md_flush_mddev just passes on the sector relative to the raid device,
> shouldn't it be translated somewhere?

Yes. md_flush_mddev should simply be removed.
The functionality should be, and largely is, in the individual
personalities.

Is there documentation somewhere on exactly what an issue_flush_fn
should do (is it allowed to sleep? what must happen before it is
allowed to return, what is the "error_sector" for, that sort of thing).

I suspect that at least raid5 will need some fairly special handling.

NeilBrown
-
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/