[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161101141816.GA17142@lst.de>
Date: Tue, 1 Nov 2016 15:18:16 +0100
From: Christoph Hellwig <hch@....de>
To: Omar Sandoval <osandov@...ndov.com>
Cc: Christoph Hellwig <hch@....de>, axboe@...com,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] block: fast-path for small and simple direct I/O
requests
On Mon, Oct 31, 2016 at 04:19:11PM -0700, Omar Sandoval wrote:
> > + if (unlikely(ret))
> > + return ret;
> > + ret = bio.bi_iter.bi_size;
> > +
> > + if (iov_iter_rw(iter) == READ) {
> > + bio_set_op_attrs(&bio, REQ_OP_READ, 0);
> > + if (iter->type == ITER_IOVEC)
>
> Nit: iter_is_iovec()?
Fixed.
Powered by blists - more mailing lists