Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753213AbbGEW7U (ORCPT ); Sun, 5 Jul 2015 18:59:20 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:44864 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751509AbbGEW7M (ORCPT ); Sun, 5 Jul 2015 18:59:12 -0400 From: "Rafael J. Wysocki" To: Geert Uytterhoeven Cc: Dave Chinner , Len Brown , Henrique de Moraes Holschuh , Alan Stern , One Thousand Gnomes , Linux PM list , "linux-kernel@vger.kernel.org" , Len Brown Subject: Re: [PATCH 1/1] suspend: delete sys_sync() Date: Mon, 06 Jul 2015 01:25:35 +0200 Message-ID: <3178110.trcxC53OR0@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <4290667.ZqInAykFGS@vostro.rjw.lan> <1496051.AgsebokWnB@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1258 Lines: 28 On Saturday, July 04, 2015 10:50:36 AM Geert Uytterhoeven wrote: > On Sat, Jul 4, 2015 at 3:03 AM, Rafael J. Wysocki wrote: > > [The argument that the user can pull removable storage devices out of the > > system while suspended doesn't hold any water to me, because the user can > > pull them out of the system when not suspended just as well and cause the > > same kind of damage to happen.] > > The user may not notice the difference between a suspended and powered > off machine, and thus think it's safe to unplug the USB memory stick while > the machine appears off. > > If that's considered a valid use case, this would be a regression. Well, if user space configures the system to use suspend as a "power off flavor" and doesn't even try to ensure the filesystems to be synced before suspending (in that mode), that's on the edge of insanity. And it falls into the "latent bugs that may be there because we've always synced before suspending" category in my view. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/