Skip to contentSkip to conversation

linux-next: manual merge of the block tree with the xfs tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jul 3, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

fs/xfs/xfs_aops.c

between commit:

a24737359667 ("xfs: simplify xfs_chain_bio")

from the xfs tree and commit:

79d08f89bb1b ("block: fix .bi_size overflow")

from the block 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 · 17 lines
Cheers,
Stephen Rothwell

diff --cc fs/xfs/xfs_aops.c
index bb769d9c5250,11f703d4a605..000000000000
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@@ -790,8 -782,8 +790,8 @@@ xfs_add_to_ioend
  		atomic_inc(&iop->write_count);
  
  	if (!merged) {
- 		if (bio_full(wpc->ioend->io_bio))
+ 		if (bio_full(wpc->ioend->io_bio, len))
 -			xfs_chain_bio(wpc->ioend, wbc, bdev, sector);
 +			wpc->ioend->io_bio = xfs_chain_bio(wpc->ioend->io_bio);
  		bio_add_page(wpc->ioend->io_bio, page, len, poff);
  	}