From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752355AbcHLLMQ (ORCPT ); Fri, 12 Aug 2016 07:12:16 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:60579 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751636AbcHLLMO (ORCPT ); Fri, 12 Aug 2016 07:12:14 -0400 MIME-Version: 1.0 In-Reply-To: <20160811140253.GA2867@infradead.org> References: <1459914212-9330-1-git-send-email-ming.lei@canonical.com> <20160811140253.GA2867@infradead.org> From: Ming Lei Date: Fri, 12 Aug 2016 19:12:10 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs To: Christoph Hellwig Cc: Eric Wheeler , Jens Axboe , Linux Kernel Mailing List , linux-block , "open list:BCACHE (BLOCK LAYER CACHE)" , "open list:SOFTWARE RAID (Multiple Disks) SUPPORT" , Kent Overstreet , Sebastian Roesner , "4.3+" , Shaohua Li Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 11, 2016 at 10:02 PM, 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. 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