From: Sowmini Varadhan <[email protected]>
Date: Thu,  2 Apr 2015 10:19:37 -0400

> @@ -177,6 +178,18 @@ int rds_send_xmit(struct rds_connection *conn)
>  
>               rm = conn->c_xmit_rm;
>  
> +             if (!rm) {
> +                     same_rm = 0;
> +             } else {
> +                     same_rm++;
> +                     if (same_rm >= 4096) {
> +                             printk_ratelimited(KERN_ERR "RDS: Stuck rm\n");
> +                             cond_resched();
> +                             ret = -EAGAIN;
> +                             break;
> +                     }
> +             }
> +

I'm not accepting junk like this.

I want to know exactly how this situation can occur, in detail, and
then and only then can we start to talk about more reasonable
solutions to this bug.

This looks like a minimal effort hack to make a hang go away, and
even more concerning is that a change like this is submitted with
a commit message that is essentially empty.

Sorry, this is not acceptable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to