[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACVXFVNUpsht4LmGeOOwvWJ65tZGVQTRFsyd-SXGKHxkpUCHSw@mail.gmail.com>
Date: Fri, 12 Aug 2016 19:12:10 +0800
From: Ming Lei <ming.lei@...onical.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Eric Wheeler <bcache@...ts.ewheeler.net>,
Jens Axboe <axboe@...com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-block <linux-block@...r.kernel.org>,
"open list:BCACHE (BLOCK LAYER CACHE)" <linux-bcache@...r.kernel.org>,
"open list:SOFTWARE RAID (Multiple Disks) SUPPORT"
<linux-raid@...r.kernel.org>,
Kent Overstreet <kent.overstreet@...il.com>,
Sebastian Roesner <sroesner-kernelorg@...sner-online.de>,
"4.3+" <stable@...r.kernel.org>, Shaohua Li <shli@...com>
Subject: Re: [PATCH v2] block: make sure big bio is splitted into at most 256 bvecs
On Thu, Aug 11, 2016 at 10:02 PM, Christoph Hellwig <hch@...radead.org> 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@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists