lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090403013603.GA10886@srcf.ucam.org>
Date:	Fri, 3 Apr 2009 02:36:03 +0100
From:	Matthew Garrett <mjg59@...f.ucam.org>
To:	david@...g.hm
Cc:	Theodore Tso <tytso@....edu>, Sitsofe Wheeler <sitsofe@...oo.com>,
	"Andreas T.Auer" <andreas.t.auer_lkml_73537@...us.ath.cx>,
	Alberto Gonzalez <info@...bu.es>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Ext4 and the "30 second window of death"

On Thu, Apr 02, 2009 at 06:24:28PM -0700, david@...g.hm wrote:
> On Fri, 3 Apr 2009, Matthew Garrett wrote:
> >No it wouldn't. The kernel would be implementing an adminstrator's
> >choice about whether fsync() is important or not. That's something that
> >would affect the mail client, but it's hardly a decision based on the
> >mail client. Sucks to be that user if they do anything involving mysql.
> 
> in the case of laptops, in 99+% of the cases the user and the 
> administrator are the same person. in the other cases that's something the 
> user should take up with the administrator, because the administrator can 
> do a lot of things to the system that will affect the safety of their data 
> (including loading a kernel that turns fsync into a noop, but more likely 
> involving enabling or disabling write caches on disks)

Well, yes, the administrator could hate the user. They could achieve the 
same affect by just LD_PRELOADING something that stubbed out fsync() and 
inserted random data into every other write(). We generally trust that 
admins won't do that.

> >Benchmarks please.
> 
> if spinning down a drive saves so little power that it wouldn't make a 
> significant difference to battery lift to leave it on, why does anyone 
> bother to spin the drive down?

There's various circumstances in which it's beneficial. The difference 
between an optimal algorithm for typical use and an optimal algorithm 
for typical use where there's an fsync() every 5 minutes isn't actually 
that great.

-- 
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ