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

Ming Lin
2015-07-27T22:16:24Z

On Mon, Jul 27, 2015 at 3:11 PM, Ming Lin <mlin@kernel.org> 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