Re: data corruption with stex (Promise HW-Raid) driver and device-mapper

From: Milan Broz
Date: Thu Nov 25 2010 - 04:57:53 EST


On 11/16/2010 02:35 AM, Ed Lin - PTU wrote:
> The stex driver sets sg_tablesize as 32 (for st_yel it's 38) in the probe
> entry. It seems that this value was overridden by the system if using
> dm/lvm, for unknown reason. The driver received requests with more
> sg items than registered. Sg item number could be as high as 64. This
> is completely unexpected. The firmware could not handle such
> requests, and error occurred.

Device-mapper respects hw restrictions, so it must be bug somewhere.

Please cc dm-devel if you think that problem is there.

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