Re: [PATCH] MD: make bio mergeable

From: Jens Axboe
Date: Mon Apr 25 2016 - 20:59:13 EST


On 04/25/2016 05:52 PM, Shaohua Li wrote:
blk_queue_split marks bio unmergeable, which makes sense for normal bio.
But if dispatching the bio to underlayer disk, the blk_queue_split
checks are invalid, hence it's possible the bio becomes mergeable.

In the reported bug, this bug causes trim against raid0 performance slash
https://bugzilla.kernel.org/show_bug.cgi?id=117051

Good catch! Will apply for this series, thanks Shaohua.

--
Jens Axboe