Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759353Ab1FBHmm (ORCPT ); Thu, 2 Jun 2011 03:42:42 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:59638 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758709Ab1FBHml (ORCPT ); Thu, 2 Jun 2011 03:42:41 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=xcd2GtNsjkLGMDfhfFf2n24eOmvKDSXpmF/K1pSP2OjrWi30p+OHTkjWh2iK12ldTL NIbpLoH21X3zriFAgPxc6XJPT0n9ciUSL6BgT2r2oKJGw/lAjAnTOzufRPg1L7l3le9w B7YIp3F7zWIzV/VxFHHaw06ryo+h+lnj/NO5c= MIME-Version: 1.0 In-Reply-To: <20110531020300.GJ2890@dhcp-172-31-194-241.cam.corp.google.com> References: <20110531020300.GJ2890@dhcp-172-31-194-241.cam.corp.google.com> From: "D. Jansen" Date: Thu, 2 Jun 2011 09:42:01 +0200 Message-ID: Subject: Re: [rfc] Ignore Fsync Calls in Laptop_Mode To: "Ted Ts'o" , "D. Jansen" , david@lang.hm, Oliver Neukum , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Dave Chinner , njs@pobox.com, bart@samwel.tk 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: 657 Lines: 13 On Tue, May 31, 2011 at 4:03 AM, Ted Ts'o wrote: > The real fix is that applications need to be fixed to be less > write-happy. So do you agree to export barriers to user space? Because as you said yourself, that would be the only way for apps to avoid fsync without losing data safety. And since you want the problem fixed with the apps, we need to provide them with the means to do so, right? -- 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/