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:
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
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.
Reported-by: Neil Brown
Signed-off-by: Shaohua Li
---
block/blk-lib.c| 23 +--
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.
Reported-by: Neil Brown ne...@suse.de
Signed-off-by: Shaohua Li s...@fusionio.com
---
block/blk-lib.c| 23
4 matches
Mail list logo