Re: [PATCH] block: separate out padding from alignment

From: James Bottomley
Date: Mon Mar 03 2008 - 13:27:25 EST


On Mon, 2008-03-03 at 15:10 +0900, Tejun Heo wrote:
> Block layer alignment was used for two different purposes - memory
> alignment and padding. This causes problems in lower layers because
> drivers which only require memory alignment ends up with adjusted
> rq->data_len. Separate out padding such that padding occurs iff
> driver explicitly requests it.

This puts the libsas SMP handler back into a working state again.

Thanks,

James


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