Mailinglist Archive: opensuse-factory (533 mails)

< Previous Next >
Re: [opensuse-factory] SSD discard support? hdparm's wiper.sh?
  • From: Jeff Mahoney <jeffm@xxxxxxxx>
  • Date: Fri, 23 Apr 2010 10:00:29 -0400
  • Message-id: <4BD1A7FD.6090700@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/22/2010 01:50 PM, Greg Freemyer wrote:
But hdparm is only providing base functionality and it needs a script
to actually invoke it correctly and cause the appropriate sectors to
be discarded. Fortunately Mark Lord (the hdparm maintainer) is now
also including "wiper.sh" with hdparm that will scan a filesystem
(ext4 and xfs for sure and possibly others) and invoke discard in a
very efficient way.

I don't think 11.2 or factory are including that script, but I'd like
to see it go in as the opensuse 11.3 methodology for calling discard
on a SSD.

That will mean including the script, testing it as part of opensuse,
and getting it in the nightly cron scripts or something.

AFAIK these scripts and tools aren't safe to run on a mounted file
system. Blocks could be allocated underneath the tool and would end up
discarding parts of the file system that are in use.

- -Jeff

- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvRp/0ACgkQLPWxlyuTD7LanQCfejsIcoqet8nUIfR8PEfzsbaH
R88AoJ4K7/fjJDg/U66C2EBamppszBGi
=DX+L
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References