Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs

From: Kent Overstreet
Date: Fri Aug 12 2016 - 12:37:05 EST


On Thu, Aug 11, 2016 at 07:02:53AM -0700, Christoph Hellwig wrote:
> Please just fix bcache to not submit bios larger than BIO_MAX_PAGES for
> now, until we can support such callers in general and enable common
> used code to do so.

Christoph, what's wrong with Ming's patch? Leaving bcache aside, just
considering the block layer, do you think that patch is the wrong approach?