On Mon, Nov 29, 2010 at 5:51 PM, Greg Freemyer <greg.freemyer@gmail.com> wrote:
All,
A new userspace tool "fstrim" was checked into git for util-linux-ng last week.
http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=d9...
Its a new almost trivial tool that invokes the new ext4 FITRIM capability in the 2.6.37 kernel.
I'd like to see it in 11.4. If a new util-linux-ng version that includes fstrim is likely to get in I'll just let the process happen.
If not, I can sr a patch based on the above git info. (I'm not a obs expert, so if someone else would do it, even better.)
Thanks Greg
Looking thru the mailing list for util-linux-ng I came across the info which I've shortened to a synopsis. == Kernel swap device discard support The linux kernel since 2.6.29 has supported discard for pages in swap that are no longer used. The performance impact is variable and can either help or hurt specific SSDs. In most cases it HURTS performance. In openSUSE 11.2 and 11.3 there is no way to control this feature. It is assumed by the kernel to be beneficial for all devices that support discard. In the 2.6.36 kernel an option controlled by userspace was introduced. For 11.4 userspace control support defaults to disabled. util-linux-ng version greater then v2.18 is required to enable the discard capability. For details: see http://marc.info/?l=util-linux-ng&m=128796678428160 == I'm happy with it defaulting to disabled for 11.4. For the 11.2 and 11.3 kernels, I doubt it is worth a kernel patch to disable it, but I can open a bugzilla if anyone thinks its worth the effort. SLED and SLES people may care more about this. Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org