From owner-freebsd-current@FreeBSD.ORG Mon Mar 16 18:04:43 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F0A51065674 for ; Mon, 16 Mar 2009 18:04:43 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: from bene2.itea.ntnu.no (bene2.itea.ntnu.no [IPv6:2001:700:300:3::57]) by mx1.freebsd.org (Postfix) with ESMTP id A88E38FC0C for ; Mon, 16 Mar 2009 18:04:42 +0000 (UTC) (envelope-from ulf.lilleengen@gmail.com) Received: from localhost (localhost [127.0.0.1]) by bene2.itea.ntnu.no (Postfix) with ESMTP id 4EB3790009; Mon, 16 Mar 2009 19:04:41 +0100 (CET) Received: from carrot (unknown [IPv6:2001:700:300:3::184]) by bene2.itea.ntnu.no (Postfix) with ESMTP id 0189690008; Mon, 16 Mar 2009 19:04:40 +0100 (CET) Date: Mon, 16 Mar 2009 18:04:46 +0100 From: Ulf Lilleengen To: Andriy Gapon Message-ID: <20090316170446.GA2491@carrot> References: <49BE7C5A.2080103@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49BE7C5A.2080103@icyb.net.ua> User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: Debian amavisd-new at bene2.itea.ntnu.no Cc: freebsd-current@freebsd.org Subject: Re: ata: printf on every spinup/spindown? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "..."@itea.ntnu.no List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 18:04:43 -0000 On Mon, Mar 16, 2009 at 06:20:42PM +0200, Andriy Gapon wrote: > > I am playing with ata spindown feature and I think that it is really unnecessary > to print a message each time ata driver is going to spindown a disk or let it be > spinned up: > ad6: Idle, spin down > ad6: request while spun down, starting. > ad6: drive spun down. > ad6: Idle, spin down > ad6: request while spun down, starting. > > Especially this is not useful when "Idle, spin down" messages are going spin up > the disk via syslog logging to disk :-) > > Maybe put these under verboseboot if not drop entirely? > Having them available under verboseboot or via some debug sysctl might prove useful. -- Ulf Lilleengen