From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754833AbYIQTgu (ORCPT ); Wed, 17 Sep 2008 15:36:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752730AbYIQTgj (ORCPT ); Wed, 17 Sep 2008 15:36:39 -0400 Received: from rv-out-0506.google.com ([209.85.198.236]:10077 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752319AbYIQTgh (ORCPT ); Wed, 17 Sep 2008 15:36:37 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=T9o/uRYuFRxNriq4xI5mqfPtFtQAxqfELxmtMDDSrFZEG7LZFDGrA7CKz1Bx6BwLN6 uHHtYXhiC0lYYiLT08xvxhAQNvvsDwq64rO0yrKsWYmhi5b9nkEQgzXUm/UB3TEx/7Mz ku0TtPxO/kDUUhtOq9IDxyyavhRO0SLY5yvtc= Message-ID: <41840b750809171236s524f1a70i3e1624a2facd9d44@mail.gmail.com> Date: Wed, 17 Sep 2008 15:36:36 -0400 From: "Shem Multinymous" To: "Elias Oltmanns" Subject: Re: Laptop shock detection and harddisk protection Cc: "Pavel Machek" , "Tejun Heo" , "Thomas Renninger" , "Linux Kernel Mailing List" , "IDE/ATA development list" In-Reply-To: <87d4j2ol2a.fsf@denkblock.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48C7FCEE.8060404@kernel.org> <41840b750809110908o54a61f55w7b1b9793abf55634@mail.gmail.com> <48C948A6.3080404@kernel.org> <877i9ipi56.fsf@denkblock.local> <20080817195103.GD4043@ucw.cz> <87d4j2ol2a.fsf@denkblock.local> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 17, 2008 at 11:21 AM, Elias Oltmanns wrote: >>> 2. Make shock protection interact nicely with suspend operations: >>> currently, we are out of luck if anything should happen after >>> processes have been frozen. This is particularly unfortunatel in the >>> case of s2disk. >> >> I'd say that s2disk is similar to early boot... no protection there. > > Well, this is true for resume. However, I can't help thinking that we > may do better than that until the disk spins down, particularly while > writing the image to disk. Agreed. Practically, disk protection during suspend-to-disk sounds very useful, given the typical usage scenario: you press button to hibernate and start shuffling around your chair/desk in preparation for leaving the room. Dropping the laptop is more likely than ever at this point. Resume-from-disk tends to be done after settling down into your chair/desk, so the drop risk is lower. Shem