Re: [PATCH] MD: make bio mergeable

From: Jens Axboe
Date: Mon Apr 25 2016 - 21:16:10 EST


On 04/25/2016 06:59 PM, Jens Axboe wrote:
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.

Actually, let's let that go through the md tree instead. But you can add my Reviewed-by, and it'd be nice to get this into 4.6.

--
Jens Axboe