From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vhost: don't stall if guest is slow Date: Wed, 09 Dec 2015 21:02:07 +0100 Message-ID: <2680132.Dfff00B3aA@xps13> References: <1449535821-12384-1-git-send-email-stephen@networkplumber.org> <3746283.SiKfvnY0NL@xps13> <20151208031208.GJ29571@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, nlaw@brocade.com To: Stephen Hemminger Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id E4F295921 for ; Wed, 9 Dec 2015 21:03:23 +0100 (CET) Received: by wmww144 with SMTP id w144so88864350wmw.0 for ; Wed, 09 Dec 2015 12:03:23 -0800 (PST) In-Reply-To: <20151208031208.GJ29571@yliu-dev.sh.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-08 11:12, Yuanhan Liu: > On Tue, Dec 08, 2015 at 03:30:43AM +0100, Thomas Monjalon wrote: > > 2015-12-08 10:23, Yuanhan Liu: > > > On Mon, Dec 07, 2015 at 04:50:21PM -0800, Stephen Hemminger wrote: > > > > When guest is booting (or any othertime guest is busy) it is possible > > > > for the small receive ring (256) to get full. If this happens the > > > > vhost library should just return normally. It's current behavior > > > > of logging just creates massive log spew/overflow which could even > > > > act as a DoS attack against host. > > > > > > > > Reported-by: Nathan Law > > > > Signed-off-by: Stephen Hemminger > > > > > > Acked-by: Yuanhan Liu > > > > Yuanhan, please what is your opinion about the balance benefit/risk > > of this patch for 2.2? > > Thomas, > > I agree with Stephen that such log is not necessary as it's a fair > normal case. However, I see no too much benefit/risk for 2.2: it > just removes a debug log after all. Applied, thanks