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


Groups > linux.kernel > #1516832

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

From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: manual merge of the libata tree with the block tree
Date 2016-11-08 07:00 +0100
Message-ID <sB7BT-5gl-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Tejun,

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

  block/blk-core.c

between commits:

  e806402130c9 ("block: split out request-only flags into a new namespace")
  ef295ecf090d ("block: better op and flags encoding")

from the block tree and commit:

  5dc8b362a237 ("block: Add iocontext priority to request")

from the libata 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

--- a/block/blk-core.c
+++ b/block/blk-core.c
@@@ -1152,11 -1153,11 +1152,12 @@@ static struct request *__get_request(st

        blk_rq_init(q, rq);
        blk_rq_set_rl(rq, rl);
+       blk_rq_set_prio(rq, ioc);
 -      req_set_op_attrs(rq, op, op_flags | REQ_ALLOCED);
 +      rq->cmd_flags = op;
 +      rq->rq_flags = rq_flags;

        /* init elvpriv */
 -      if (op_flags & REQ_ELVPRIV) {
 +      if (rq_flags & RQF_ELVPRIV) {
                if (unlikely(et->icq_cache && !icq)) {
                        if (ioc)
                                icq = ioc_create_icq(ioc, q, gfp_mask);

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

linux-next: manual merge of the libata tree with the block tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-11-08 07:00 +0100

csiph-web