From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933141AbcJUNOb (ORCPT ); Fri, 21 Oct 2016 09:14:31 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:35216 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754584AbcJUNOa (ORCPT ); Fri, 21 Oct 2016 09:14:30 -0400 Message-ID: <1477055663.7065.67.camel@edumazet-glaptop3.roam.corp.google.com> Subject: Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump From: Eric Dumazet To: Jiri Kosina Cc: Jamal Hadi Salim , Phil Sutter , Cong Wang , Daniel Borkmann , "David S. Miller" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Date: Fri, 21 Oct 2016 06:14:23 -0700 In-Reply-To: References: <1477049817.7065.56.camel@edumazet-glaptop3.roam.corp.google.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2016-10-21 at 14:56 +0200, Jiri Kosina wrote: > On Fri, 21 Oct 2016, Eric Dumazet wrote: > > > Some of us are dealing with huge HTB hierarchies, so adding default fifo > > in the dump will add more data pumped from the kernel. > > > > BwE [1] for instance dumps qdisc/classes every 5 seconds. > > > > I guess we'll need to not pull this patch in our kernels. > > Okay, so I probably misunderstood you here: > > https://marc.info/?l=linux-kernel&m=146073234818214&w=2 > > as I thought that as long as we move towards the hashtable, you wouldn't > have any issues with this. > > I'd really like to unhide the default qdiscs, it makes little sense to be > inconsistent in this way. > > Random shot into darkness -- how about making this a > CONFIG/sysctl-selectable? Oh sorry for the confusion, I believe your patch is fine. We could add an netlink attribute later for the users that really do not want default fifo being dumped, but there is no hurry. Acked-by: Eric Dumazet