you should make sure the buffer is naturally aligned with the b_size (so
you emulate the change of blocksize in a filesystem), if it wasn't the
case you should fix it.
>
> And also, do you know any low level drivers Ben mentioning:
>
> > low level drivers, some of which assume that
> > all buffer heads within a request have the same block size.
>
> Is it still true for 2.4 ?
yes, you simply need to call submit_bh or to use separate ll_rw_blocks
when you change b_size.
>
> Regards,
> Badari
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/