Re: todays git regression (2.6.32-04008.g3ff6a46): lot of device mapper warnings

Christian Borntraeger
2009-12-10T11:08:28Z

Am Mittwoch 09 Dezember 2009 23:07:49 schrieb Jens Axboe:
> > > > device-mapper: table: 252:0: target device dasdf1 is misaligned: physical_block_size=4096, logical_block_size=4096, alignment_offset=0, start=196608
[...]
> Does this work?
[...]
> +#if 0
> if (offset &&
> (offset & (b->discard_granularity - 1)) != b->discard_alignment) {
> t->discard_misaligned = 1;
> ret = -1;
> }
> +#endif

Yes it does.