Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs
From: Ming Lei <hidden>
Date: 2016-08-12 11:12:16
Also in:
linux-bcache, linux-block, lkml, stable
From: Ming Lei <hidden>
Date: 2016-08-12 11:12:16
Also in:
linux-bcache, linux-block, lkml, stable
On Thu, Aug 11, 2016 at 10:02 PM, Christoph Hellwig [off-list ref] 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.
IMO it can't be efficient to do that in bcache because it need to figure out how many bvecs one bio includes. This patch(block: make sure big bio is splitted into at most 256 bvecs) can support such callers. Also this kind of usage does simplify drivers. Thanks, Ming
-- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html