[dm-devel] [PATCH v5 00/11] simplify block layer based on immutable biovecs
Ming Lin
mlin at kernel.org
Mon Jul 27 22:16:08 UTC 2015
On Mon, Jul 27, 2015 at 3:11 PM, Ming Lin <mlin at 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
More information about the dm-devel
mailing list