From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752320AbaIJKIG (ORCPT ); Wed, 10 Sep 2014 06:08:06 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:33311 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751721AbaIJKID (ORCPT ); Wed, 10 Sep 2014 06:08:03 -0400 X-Originating-IP: 82.169.106.120 Message-ID: <541022F4.4020501@crashplan.pro> Date: Wed, 10 Sep 2014 12:07:48 +0200 From: Ceriel Jacobs User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Tom Gundersen , "Luis R. Rodriguez" CC: James Bottomley , One Thousand Gnomes , Takashi Iwai , Kay Sievers , Oleg Nesterov , Praveen Krishnamoorthy , hare , Nagalakshmi Nandigama , Wu Zhangjin , Tetsuo Handa , "mpt-fusionlinux.pdl" , Tim Gardner , Benjamin Poirier , Santosh Rastapur , Casey Leedom , Hariprasad S , Pierre Fersing , Sreekanth Reddy , Arjan van de Ven , Abhijit Mahajan , systemd Mailing List , Linux SCSI List , Dmitry Torokhov , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Tejun Heo , Andrew Morton , Joseph Salisbury Subject: Re: [systemd-devel] [RFC v2 3/6] kthread: warn on kill signal if not OOM References: <1409899047-13045-1-git-send-email-mcgrof@do-not-panic.com> <20140905141241.GC10455@mtj.dyndns.org> <20140905164405.GA28964@core.coreip.homeip.net> <20140905174925.GA12991@mtj.dyndns.org> <20140905224047.GC15723@mtj.dyndns.org> <20140909011059.GB11706@mtj.dyndns.org> <1410241109.2028.22.camel@jarvis.lan> <1410291346.13298.16.camel@jarvis.lan> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tom Gundersen schreef op 10-09-14 om 08:46: >> >Indeed. What I proposed with a multiplier for the timeout for the >> >different types of built in commands was deemed complex but saw no >> >alternatives proposed despite my interest to work on one and >> >clarifications noted that this was a design regression. Not quite sure >> >what else I could have done here. I'm interested in learning what the >> >better approach is for the future as if we want to marry init + kernel >> >we need a smooth way for us to discuss design without getting worked >> >up about it, or taking it personal. I really want this to work as I >> >personally like systemd so far. > How about this: keep the timeout global, but also introduce a > (relatively short, say 10 or 15 seconds) timeout after which a warning > is printed. Even if nothing is actually killed, having workers (be it > insmod or something else) take longer than a couple of seconds is > likely a sign that something is seriously off somewhere. I don't agree with the statement that something is seriously off when it takes more then 10 to 15 seconds. When probing only one hard disk drive, then I do agree that something is seriously off after 10 to 15 seconds. When probing a SAS bus with one hundred hard disk drives in standby mode, then I do expect that to take longer then 10 to 15 seconds.