From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH 2/2 v5] libata: Implement disk shock protection support Date: Sun, 21 Sep 2008 05:58:14 -0400 Message-ID: <48D61AB6.1070408@kernel.org> References: <87tzcb7r0r.fsf@denkblock.local> <20080919214400.7183.64611.stgit@denkblock.local> <48D4805A.3090707@kernel.org> <87abe37462.fsf@denkblock.local> <87wsh75avl.fsf@denkblock.local> <20080920213418.16970.37782.stgit@denkblock.local> <48D58D5E.30508@kernel.org> <20080921094220.23240.9270.stgit@denkblock.local> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from hera.kernel.org ([140.211.167.34]:42604 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750981AbYIUKA1 (ORCPT ); Sun, 21 Sep 2008 06:00:27 -0400 In-Reply-To: <20080921094220.23240.9270.stgit@denkblock.local> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Elias Oltmanns Cc: Jeff Garzik , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Elias Oltmanns wrote: > On user request (through sysfs), the IDLE IMMEDIATE command with UNLOAD > FEATURE as specified in ATA-7 is issued to the device and processing of > the request queue is stopped thereafter until the specified timeout > expires or user space asks to resume normal operation. This is supposed > to prevent the heads of a hard drive from accidentally crashing onto the > platter when a heavy shock is anticipated (like a falling laptop > expected to hit the floor). In fact, the whole port stops processing > commands until the timeout has expired in order to avoid any resets due > to failed commands on another device. > > Signed-off-by: Elias Oltmanns Acked-by: Tejun Heo Thanks. -- tejun