lkml.org 
[lkml]   [2013]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH V5 17/30] fs: use read_iter and write_iter rather than aio_read and aio_write
Date
Dave Kleikamp <dave.kleikamp@oracle.com> writes:

> @@ -1315,10 +1317,10 @@ static ssize_t aio_rw_vect_retry(struct kiocb *iocb)
>
> if ((iocb->ki_opcode == IOCB_CMD_PREADV) ||
> (iocb->ki_opcode == IOCB_CMD_PREAD)) {
> - rw_op = file->f_op->aio_read;
> + rw_op = do_aio_read;
> opcode = IOCB_CMD_PREADV;
> } else {
> - rw_op = file->f_op->aio_write;
> + rw_op = do_aio_read;
> opcode = IOCB_CMD_PWRITEV;
> }

That wants to be rw_op = do_aio_write in the else clause. How did you
test this patch set?

Cheers,
Jeff


\
 
 \ /
  Last update: 2013-01-18 23:03    [W:0.582 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site