Subject: RE: linux-next: build failure after merge of the block tree

From: "Steve Wise" <[email-masked]>
Date: Thu, 26 Jul 2018 12:59:35 -0500

> -----Original Message-----
> From: Christoph Hellwig <[email-masked]>
> Sent: Thursday, July 26, 2018 12:57 PM
> To: Jens Axboe <[email-masked]>
> Cc: Christoph Hellwig <[email-masked]>; Stephen Rothwell
> <[email-masked]>; Doug Ledford <[email-masked]>; Jason
> Gunthorpe <[email-masked]>; Linux-Next Mailing List <linux-
> [email-masked]>; Linux Kernel Mailing List <linux-
> [email-masked]>; Steve Wise <[email-masked]>
> Subject: Re: linux-next: build failure after merge of the block tree
> 
> On Thu, Jul 26, 2018 at 10:48:21AM -0700, Jens Axboe wrote:
> > >>  	inline_page_count = num_pages(port->inline_data_size);
> > >>  	inline_sge_count = max(cm_id->device->attrs.max_sge_rd,
> > >> -				cm_id->device->attrs.max_sge) - 1;
> > >> +				cm_id->device->attrs.max_send_sge) -
1;
> > >
> > > This should be max_recv_sge.
> >
> > Why do we even have this conflicts to begin with?
> 
> Because the nvme code added a new user of max_sges while the RDMA tree
> split it into two separate fields.  We discussed this a while ago when
> the issue came up.

See: https://www.spinics.net/lists/linux-rdma/msg66208.html 

Steve.