[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAF1ivSaQvJE2WNA1eyRwueV-4+6XyLHZwkAAQ6Pp3OpZJF8XGw@mail.gmail.com>
Date: Mon, 27 Jul 2015 15:16:08 -0700
From: Ming Lin <mlin@...nel.org>
To: Ming Lin <mlin@...nel.org>
Cc: Mike Snitzer <snitzer@...hat.com>, Jens Axboe <axboe@...nel.dk>,
dm-devel@...hat.com, lkml <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>, Jeff Moyer <jmoyer@...hat.com>,
Dongsu Park <dpark@...teo.net>,
Kent Overstreet <kent.overstreet@...il.com>,
"Alasdair G. Kergon" <agk@...hat.com>
Subject: Re: [PATCH v5 00/11] simplify block layer based on immutable biovecs
On Mon, Jul 27, 2015 at 3:11 PM, Ming Lin <mlin@...nel.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists