[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160329073124.GH18920@infradead.org>
Date: Tue, 29 Mar 2016 00:31:24 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Ming Lei <ming.lei@...onical.com>
Cc: Jens Axboe <axboe@...nel.dk>, linux-kernel@...r.kernel.org,
linux-block@...r.kernel.org, Christoph Hellwig <hch@...radead.org>,
Al Viro <viro@...iv.linux.org.uk>,
Anton Altaparmakov <anton@...era.com>, xfs@....sgi.com,
Dave Chinner <david@...morbit.com>, drbd-dev@...ts.linbit.com,
Philipp Reisner <philipp.reisner@...bit.com>,
Lars Ellenberg <lars.ellenberg@...bit.com>,
Boaz Harrosh <boaz@...xistor.com>
Subject: Re: [PATCH 7/8] block: drbd: avoid to use BIO_MAX_SIZE
On Tue, Mar 22, 2016 at 02:12:28PM +0800, Ming Lei wrote:
> drbd is the only user of BIO_MAX_SIZE, so use BIO_MAX_PAGES
> instead.
That whole code block looks completely bogus to me, although your patch
doesn't make it any worse.
I/O size for a network protocol shouldn't dependend on the number of
vectors in a kernel internal structure.
Well, getting rid of BIO_MAX_SIZE is worth it, so:
Reviewed-by: Christoph Hellwig <hch@....de>
Powered by blists - more mailing lists