Re: [patch 1/2]block: discard granularity might not be power of 2

From: Jens Axboe
Date: Fri Dec 14 2012 - 14:42:20 EST


On 2012-12-14 04:15, Shaohua Li wrote:
> In MD raid case, discard granularity might not be power of 2, for example, a
> 4-disk raid5 has 3*chunk_size discard granularity. Correct the calculation for
> such cases.

Thanks Shaohua, applied both.

--
Jens Axboe

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