netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
  2011-03-07 20:27 ` David Miller
@ 2011-03-07 20:41   ` Chris Mason
  2011-03-07 20:56     ` Neil Horman
  2011-03-08 18:52     ` David Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Chris Mason @ 2011-03-07 20:41 UTC (permalink / raw)
  To: David Miller; +Cc: nhorman, netdev, rds-devel, Venkat Venkatsubra

Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
> From: Neil Horman <nhorman@tuxdriver.com>
> Date: Wed,  2 Mar 2011 11:28:22 -0500
> 
> > Recently had this bug halt reported to me:
> 
> Well, does anyone on the RDS team care about this bug fix at all?
> 
> Stuff like this should not sit for nearly a week without any reply
> whatsoever.
> 

The patch looks good to me, but I'm surprised we haven't seen it here.
Venkat please take a look (link to the patch below)  Has it only been seen on ppc?

http://permalink.gmane.org/gmane.linux.network/187933

-chris

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
  2011-03-07 20:41   ` [rds-devel] " Chris Mason
@ 2011-03-07 20:56     ` Neil Horman
  2011-03-08 18:52     ` David Miller
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Horman @ 2011-03-07 20:56 UTC (permalink / raw)
  To: Chris Mason; +Cc: David Miller, netdev, rds-devel, Venkat Venkatsubra

On Mon, Mar 07, 2011 at 03:41:04PM -0500, Chris Mason wrote:
> Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
> > From: Neil Horman <nhorman@tuxdriver.com>
> > Date: Wed,  2 Mar 2011 11:28:22 -0500
> > 
> > > Recently had this bug halt reported to me:
> > 
> > Well, does anyone on the RDS team care about this bug fix at all?
> > 
> > Stuff like this should not sit for nearly a week without any reply
> > whatsoever.
> > 
> 
> The patch looks good to me, but I'm surprised we haven't seen it here.
> Venkat please take a look (link to the patch below)  Has it only been seen on ppc?
> 
Yes, its only been observed on ppc64.  Its does seem like it should be
observable on other arches.  I presumed it had something to do with ppc64
alignment and how it filled in the sg array, that led to a leftover bit of space
in the scattergather array.  Honestly though I wasnt too worried about ferreting
out the source, since it seemed apparent to me that buffers with
RDS_FLAG_CONG_BITMAP set were just causing rds_[loop|ib]_xmit to return a dummy
positive value (I say dummy because theres no actual data transmitted).  So I
figured if the value is just there to satisfy the return code, it might as well
also satisfy what is otherwise a valid BUG_ON check too.

Best
Neil

> http://permalink.gmane.org/gmane.linux.network/187933
> 
> -chris
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
  2011-03-07 20:41   ` [rds-devel] " Chris Mason
  2011-03-07 20:56     ` Neil Horman
@ 2011-03-08 18:52     ` David Miller
  2011-03-08 18:58       ` Chris Mason
  1 sibling, 1 reply; 7+ messages in thread
From: David Miller @ 2011-03-08 18:52 UTC (permalink / raw)
  To: chris.mason; +Cc: nhorman, netdev, rds-devel, venkat.x.venkatsubra

From: Chris Mason <chris.mason@oracle.com>
Date: Mon, 07 Mar 2011 15:41:04 -0500

> Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
>> From: Neil Horman <nhorman@tuxdriver.com>
>> Date: Wed,  2 Mar 2011 11:28:22 -0500
>> 
>> > Recently had this bug halt reported to me:
>> 
>> Well, does anyone on the RDS team care about this bug fix at all?
>> 
>> Stuff like this should not sit for nearly a week without any reply
>> whatsoever.
>> 
> 
> The patch looks good to me, but I'm surprised we haven't seen it here.
> Venkat please take a look (link to the patch below)  Has it only been seen on ppc?
> 
> http://permalink.gmane.org/gmane.linux.network/187933

Can I get an ACK or something, _please_?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
  2011-03-08 18:52     ` David Miller
@ 2011-03-08 18:58       ` Chris Mason
  2011-03-08 19:22         ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Chris Mason @ 2011-03-08 18:58 UTC (permalink / raw)
  To: David Miller; +Cc: nhorman, netdev, rds-devel, venkat.x.venkatsubra

Excerpts from David Miller's message of 2011-03-08 13:52:23 -0500:
> From: Chris Mason <chris.mason@oracle.com>
> Date: Mon, 07 Mar 2011 15:41:04 -0500
> 
> > Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
> >> From: Neil Horman <nhorman@tuxdriver.com>
> >> Date: Wed,  2 Mar 2011 11:28:22 -0500
> >> 
> >> > Recently had this bug halt reported to me:
> >> 
> >> Well, does anyone on the RDS team care about this bug fix at all?
> >> 
> >> Stuff like this should not sit for nearly a week without any reply
> >> whatsoever.
> >> 
> > 
> > The patch looks good to me, but I'm surprised we haven't seen it here.
> > Venkat please take a look (link to the patch below)  Has it only been seen on ppc?
> > 
> > http://permalink.gmane.org/gmane.linux.network/187933
> 
> Can I get an ACK or something, _please_?

Sorry, wasn't clear:

Acked-by: Chris Mason <chris.mason@oracle.com>

-chris

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
  2011-03-08 18:58       ` Chris Mason
@ 2011-03-08 19:22         ` David Miller
  2011-03-08 19:36           ` Neil Horman
  0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2011-03-08 19:22 UTC (permalink / raw)
  To: chris.mason; +Cc: nhorman, netdev, rds-devel, venkat.x.venkatsubra

From: Chris Mason <chris.mason@oracle.com>
Date: Tue, 08 Mar 2011 13:58:57 -0500

> Excerpts from David Miller's message of 2011-03-08 13:52:23 -0500:
>> From: Chris Mason <chris.mason@oracle.com>
>> Date: Mon, 07 Mar 2011 15:41:04 -0500
>> 
>> > Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
>> >> From: Neil Horman <nhorman@tuxdriver.com>
>> >> Date: Wed,  2 Mar 2011 11:28:22 -0500
>> >> 
>> >> > Recently had this bug halt reported to me:
>> >> 
>> >> Well, does anyone on the RDS team care about this bug fix at all?
>> >> 
>> >> Stuff like this should not sit for nearly a week without any reply
>> >> whatsoever.
>> >> 
>> > 
>> > The patch looks good to me, but I'm surprised we haven't seen it here.
>> > Venkat please take a look (link to the patch below)  Has it only been seen on ppc?
>> > 
>> > http://permalink.gmane.org/gmane.linux.network/187933
>> 
>> Can I get an ACK or something, _please_?
> 
> Sorry, wasn't clear:
> 
> Acked-by: Chris Mason <chris.mason@oracle.com>

Applied, thanks everyone.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
  2011-03-08 19:22         ` David Miller
@ 2011-03-08 19:36           ` Neil Horman
  0 siblings, 0 replies; 7+ messages in thread
From: Neil Horman @ 2011-03-08 19:36 UTC (permalink / raw)
  To: David Miller; +Cc: chris.mason, netdev, rds-devel, venkat.x.venkatsubra

On Tue, Mar 08, 2011 at 11:22:58AM -0800, David Miller wrote:
> From: Chris Mason <chris.mason@oracle.com>
> Date: Tue, 08 Mar 2011 13:58:57 -0500
> 
> > Excerpts from David Miller's message of 2011-03-08 13:52:23 -0500:
> >> From: Chris Mason <chris.mason@oracle.com>
> >> Date: Mon, 07 Mar 2011 15:41:04 -0500
> >> 
> >> > Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
> >> >> From: Neil Horman <nhorman@tuxdriver.com>
> >> >> Date: Wed,  2 Mar 2011 11:28:22 -0500
> >> >> 
> >> >> > Recently had this bug halt reported to me:
> >> >> 
> >> >> Well, does anyone on the RDS team care about this bug fix at all?
> >> >> 
> >> >> Stuff like this should not sit for nearly a week without any reply
> >> >> whatsoever.
> >> >> 
> >> > 
> >> > The patch looks good to me, but I'm surprised we haven't seen it here.
> >> > Venkat please take a look (link to the patch below)  Has it only been seen on ppc?
> >> > 
> >> > http://permalink.gmane.org/gmane.linux.network/187933
> >> 
> >> Can I get an ACK or something, _please_?
> > 
> > Sorry, wasn't clear:
> > 
> > Acked-by: Chris Mason <chris.mason@oracle.com>
> 
> Applied, thanks everyone.
Thanks, Chris, Dave.
Neil

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates
@ 2011-03-08 23:36 Venkat Venkatsubra
  0 siblings, 0 replies; 7+ messages in thread
From: Venkat Venkatsubra @ 2011-03-08 23:36 UTC (permalink / raw)
  To: nhorman; +Cc: netdev, rds-devel, chris.mason, davem

I was trying to recreate on our test systems. It's not a ppc.
So far not successful in crashing even though rds_ib_xmit hits this path: 
        /* Do not send cong updates to IB loopback */
        if (conn->c_loopback
            && rm->m_inc.i_hdr.h_flags & RDS_FLAG_CONG_BITMAP) {
                rds_cong_map_updated(conn->c_fcong, ~(u64) 0);
                return sizeof(struct rds_header) + RDS_CONG_MAP_BYTES;
        }

For the BUG_ON condition in rds_send_xmit:
ret=4096  conn->c_xmit_sg=1 rm->data.op_nents=2
BUG_ON(ret != 0 && conn->c_xmit_sg == rm->data.op.nents);

Venkat

----- Original Message -----
From: nhorman@tuxdriver.com
To: davem@davemloft.net
Cc: chris.mason@oracle.com, netdev@vger.kernel.org, rds-devel@oss.oracle.com, venkat.x.venkatsubra@oracle.com
Sent: Tuesday, March 8, 2011 1:36:50 PM GMT -06:00 US/Canada Central
Subject: Re: [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates

On Tue, Mar 08, 2011 at 11:22:58AM -0800, David Miller wrote:
> From: Chris Mason <chris.mason@oracle.com>
> Date: Tue, 08 Mar 2011 13:58:57 -0500
> 
> > Excerpts from David Miller's message of 2011-03-08 13:52:23 -0500:
> >> From: Chris Mason <chris.mason@oracle.com>
> >> Date: Mon, 07 Mar 2011 15:41:04 -0500
> >> 
> >> > Excerpts from David Miller's message of 2011-03-07 15:27:53 -0500:
> >> >> From: Neil Horman <nhorman@tuxdriver.com>
> >> >> Date: Wed,  2 Mar 2011 11:28:22 -0500
> >> >> 
> >> >> > Recently had this bug halt reported to me:
> >> >> 
> >> >> Well, does anyone on the RDS team care about this bug fix at all?
> >> >> 
> >> >> Stuff like this should not sit for nearly a week without any reply
> >> >> whatsoever.
> >> >> 
> >> > 
> >> > The patch looks good to me, but I'm surprised we haven't seen it here.
> >> > Venkat please take a look (link to the patch below)  Has it only been seen on ppc?
> >> > 
> >> > http://permalink.gmane.org/gmane.linux.network/187933
> >> 
> >> Can I get an ACK or something, _please_?
> > 
> > Sorry, wasn't clear:
> > 
> > Acked-by: Chris Mason <chris.mason@oracle.com>
> 
> Applied, thanks everyone.
Thanks, Chris, Dave.
Neil

> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-08 23:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 23:36 [rds-devel] [PATCH] rds: prevent BUG_ON triggering on congestion map updates Venkat Venkatsubra
  -- strict thread matches above, loose matches on Subject: below --
2011-03-02 16:28 Neil Horman
2011-03-07 20:27 ` David Miller
2011-03-07 20:41   ` [rds-devel] " Chris Mason
2011-03-07 20:56     ` Neil Horman
2011-03-08 18:52     ` David Miller
2011-03-08 18:58       ` Chris Mason
2011-03-08 19:22         ` David Miller
2011-03-08 19:36           ` Neil Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).