linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the aio tree with the aio-direct tree
@ 2013-08-21  7:21 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2013-08-21  7:21 UTC (permalink / raw)
  To: Benjamin LaHaise
  Cc: linux-next, linux-kernel, Kent Overstreet, Asias He, Dave Kleikamp

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]

Hi Benjamin,

Today's linux-next merge of the aio tree got a conflict in fs/block_dev.c
between commit b176eedb2a8b ("block_dev: add support for read_iter,
write_iter") from the aio-direct tree and commit 73a7075e3f6e ("aio: Kill
aio_rw_vect_retry()") from the aio tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc fs/block_dev.c
index 89d8ec5,8772b15..0000000
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@@ -1541,9 -1542,9 +1541,9 @@@ static ssize_t blkdev_read_iter(struct 
  		return 0;
  
  	size -= pos;
- 	if (size < iocb->ki_left)
+ 	if (size < iocb->ki_nbytes)
 -		nr_segs = iov_shorten((struct iovec *)iov, nr_segs, size);
 -	return generic_file_aio_read(iocb, iov, nr_segs, pos);
 +		iov_iter_shorten(iter, size);
 +	return generic_file_read_iter(iocb, iter, pos);
  }
  
  /*

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* linux-next: manual merge of the aio tree with the aio-direct tree
@ 2013-08-21  7:21 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2013-08-21  7:21 UTC (permalink / raw)
  To: Benjamin LaHaise; +Cc: linux-next, linux-kernel, Kent Overstreet, Dave Kleikamp

[-- Attachment #1: Type: text/plain, Size: 458 bytes --]

Hi Benjamin,

Today's linux-next merge of the aio tree got a conflict in
fs/nfs/direct.c between commit 072d62aa3a83 ("nfs: simplify swap") from
the aio-direct tree and commit 73a7075e3f6e ("aio: Kill aio_rw_vect_retry
()") from the aio tree.

I fixed it up (the former also removed the line removed by the latter)
and can carry the fix as necessary (no action is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-21  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-21  7:21 linux-next: manual merge of the aio tree with the aio-direct tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2013-08-21  7:21 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).