From: "Jan Beulich" Subject: Re: [GIT PULL] for-2.6.32/bug-fixes Date: Wed, 18 May 2011 07:22:39 +0100 Message-ID: <4DD373C0020000780007014D@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0696478324==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: konrad.wilk@oracle.com Cc: jeremy@goop.org, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --===============0696478324== Content-Type: multipart/alternative; boundary="=__Part2C00BFBF.1__=" This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part2C00BFBF.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable >>> Konrad Rzeszutek Wilk 05/17/11 6:44 PM >>> >On Tue, May 17, 2011 at 05:24:43PM +0100, Jan Beulich wrote: >> >>> On 17.05.11 at 17:57, Konrad Rzeszutek Wilk wrote: >> >> > No attaching of data to the barrier. >> >>=20 >> >> Sure, this direction we agree about. But your change is enforcing >> >> it the other way around (if barrier then no data), which wasn't the >> >> case so far. >> >=20 >> > OK, even if the code that actually does the bio submission does >> > not attach any data to the bio? The end result is the same - no >> > data with barriers. >>=20 >> My problem is that I can't see where attaching data would be >> skipped. The only thing I see is the BUG_ON() you pointed at > >Well, req->ns_segments =3D 0, so nseg is zero, which means all >of those for loops never get executed. This you say is the case for the request you saw the failure with, or *all* barrier requests? In the latter case, what do you conclude this from? Jan --=__Part2C00BFBF.1__= Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Description: HTML >>> Konrad Rzeszutek Wilk <konrad.wilk@oracl= e.com> 05/17/11 6:44 PM >>>
>On Tue, May 17, 2011 at = 05:24:43PM +0100, Jan Beulich wrote:
>> >>> On 17.05.11 = at 17:57, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
&g= t;> >> > No attaching of data to the barrier.
>> = >>
>> >> Sure, this direction we agree about. But = your change is enforcing
>> >> it the other way around (if = barrier then no data), which wasn't the
>> >> case so = far.
>> >
>> > OK, even if the code that actually = does the bio submission does
>> > not attach any data to the = bio? The end result is the same - no
>> > data with barriers.>>
>> My problem is that I can't see where attaching = data would be
>> skipped. The only thing I see is the BUG_ON() = you pointed at
>
>Well, req->ns_segments =3D 0, so nseg is = zero, which means all
>of those for loops never get executed.

= This you say is the case for the request you saw the failure with, = or
*all* barrier requests? In the latter case, what do you conclude = this
from?

Jan
--=__Part2C00BFBF.1__=-- --===============0696478324== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0696478324==--