Re: [PATCH] block: Fix bad range check in bio_sector_offset

From: Martin K. Petersen
Date: Wed Aug 29 2012 - 12:19:46 EST


>>>>> "Jeff" == Jeff Moyer <jmoyer@xxxxxxxxxx> writes:

>> DM would occasionally end up splitting data integrity-enabled
>> requests incorrectly. The culprit was a bad range check in
>> bio_sector_offset.

Jeff> The patch looks ok to me, but what is the user visible behavior
Jeff> when this happens?

We'd occasionally end up mapping a bad integrity scatterlist and the HBA
would abort the I/O with a protection information error.

--
Martin K. Petersen Oracle Linux Engineering
--
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/