Skip to contentSkip to conversation

linux-next: manual merge of the akpm-current tree with the btrfs tree

DISCUSSION Stephen Rothwell 1 participant 2 messages May 25, 2020 – Jun 3, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the akpm-current tree got a conflict in:

fs/btrfs/inode.c

between commit:

f31e5f70919f ("btrfs: switch to iomap_dio_rw() for dio")

from the btrfs tree and commit:

2167c1133b8b ("btrfs: convert from readpages to readahead")

from the akpm-current tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 18 lines
Cheers,
Stephen Rothwell

diff --cc fs/btrfs/inode.c
index fb95efeb63ed,8b3489f229c7..000000000000
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@@ -10075,8 -10538,8 +10060,8 @@@ static const struct address_space_opera
  	.readpage	= btrfs_readpage,
  	.writepage	= btrfs_writepage,
  	.writepages	= btrfs_writepages,
- 	.readpages	= btrfs_readpages,
+ 	.readahead	= btrfs_readahead,
 -	.direct_IO	= btrfs_direct_IO,
 +	.direct_IO	= noop_direct_IO,
  	.invalidatepage = btrfs_invalidatepage,
  	.releasepage	= btrfs_releasepage,
  #ifdef CONFIG_MIGRATION
#1 lore raw

Hi all,

Quoted 20 lines · On Mon, 25 May 2020 21:11:28 +1000 Stephen Rothwell <[email protected]>…

Today's linux-next merge of the akpm-current tree got a conflict in:

fs/btrfs/inode.c

between commit:

f31e5f70919f ("btrfs: switch to iomap_dio_rw() for dio")

from the btrfs tree and commit:

2167c1133b8b ("btrfs: convert from readpages to readahead")

from the akpm-current tree.

fs/btrfs/inode.c +0 -0
diff --cc fs/btrfs/inode.c
index fb95efeb63ed,8b3489f229c7..000000000000

fs/btrfs/inode.c

Quoted 10 lines
fs/btrfs/inode.c +1 -1
@@@ -10075,8 -10538,8 +10060,8 @@@ static const struct address_space_opera
  	.readpage	= btrfs_readpage,
  	.writepage	= btrfs_writepage,
  	.writepages	= btrfs_writepages,
- 	.readpages	= btrfs_readpages,
+ 	.readahead	= btrfs_readahead,
 -	.direct_IO	= btrfs_direct_IO,
 +	.direct_IO	= noop_direct_IO,
  	.invalidatepage = btrfs_invalidatepage,
  	.releasepage	= btrfs_releasepage,
  #ifdef CONFIG_MIGRATION

This is now a conflict between commit

ba206a026ff4 ("btrfs: convert from readpages to readahead")

from Linus' tree and commit

a43a67a2d715 ("btrfs: switch to iomap_dio_rw() for dio")

from the btrfs tree.

Signature · 2 lines
Cheers,
Stephen Rothwell