Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586595 > unrolled thread

linux-next: manual merge of the md tree with Linus' tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-02-23 02:30 +0100
Last post2017-02-23 02:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-next: manual merge of the md tree with Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-02-23 02:30 +0100

#1586595 — linux-next: manual merge of the md tree with Linus' tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-02-23 02:30 +0100
Subjectlinux-next: manual merge of the md tree with Linus' tree
Message-ID<tdQoh-2cp-7@gated-at.bofh.it>
Hi Shaohua,

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

  drivers/md/raid1.c

between commit:

  309bd96af9e2 ("md: cleanup bio op / flags handling in raid1_write_request")

from Linus' tree and commit:

  52b82fcc095d ("md/raid1: handle flush request correctly")

from the md 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.

-- 
Cheers,
Stephen Rothwell

diff --cc drivers/md/raid1.c
index 830ff2b20346,33526b4d4d10..000000000000
--- a/drivers/md/raid1.c
+++ b/drivers/md/raid1.c
@@@ -1385,8 -1515,7 +1512,8 @@@ static void raid1_write_request(struct 
  				   conf->mirrors[i].rdev->data_offset);
  		mbio->bi_bdev = conf->mirrors[i].rdev->bdev;
  		mbio->bi_end_io	= raid1_end_write_request;
 -		bio_set_op_attrs(mbio, op, do_fua | do_sync);
 +		mbio->bi_opf = bio_op(bio) |
- 			(bio->bi_opf & (REQ_SYNC | REQ_PREFLUSH | REQ_FUA));
++			(bio->bi_opf & (REQ_SYNC | REQ_FUA));
  		if (test_bit(FailFast, &conf->mirrors[i].rdev->flags) &&
  		    !test_bit(WriteMostly, &conf->mirrors[i].rdev->flags) &&
  		    conf->raid_disks - mddev->degraded > 1)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web