Re: [PATCH v5 00/11] simplify block layer based on immutable biovecs

From: Ming Lin
Date: Mon Jul 27 2015 - 18:16:27 EST


On Mon, Jul 27, 2015 at 3:11 PM, Ming Lin <mlin@xxxxxxxxxx> wrote:
> It's more interesting if we look at how many bios are allocated for each
> application IO request.
>
> e.g. 10+2 RAID6 with 128K chunk.
>
> Assume we only consider device max_segments limitation.
>
> # cat /sys/block/md0/queue/max_segments
> 126
>
> So blk_queue_split() will split the bio if its size > 126 pages(504K
> bytes).

Fix myself.

I mean, blk_queue_split() will split the bio if bi_phys_segments > 126
--
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/