| Please consider subscribing to LWN Subscriptions are the lifeblood of LWN.net. If you appreciate this content and would like to see more of it, your subscription will help to ensure that LWN continues to thrive. Please visit this page to join up and keep LWN on the net. |
The 2.6.37-rc1 prepatch has been released, so the merge window is now closed. Nearly 3100 changesets were merged between last week's summary and the closing of the window; there were 9518 non-merge changesets merged in total for 2.6.37. The most significant user-visible changes include:
Changes visible to kernel developers include:
Now the stabilization period begins; the final 2.6.37 release will almost certainly happen in January.
The second half of the 2.6.37 merge window
Posted Nov 1, 2010 21:22 UTC (Mon) by slothrop (guest, #69834) [Link]
The second half of the 2.6.37 merge window
Posted Nov 1, 2010 21:31 UTC (Mon) by slothrop (guest, #69834) [Link]
The second half of the 2.6.37 merge window
Posted Nov 1, 2010 23:16 UTC (Mon) by tardyp (subscriber, #58715) [Link]
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 4:51 UTC (Tue) by slothrop (guest, #69834) [Link]
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 6:39 UTC (Tue) by bronson (subscriber, #4806) [Link]
In theory, trim could be just as useful to loopback-mounted filesystems as it is to SSDs, no?
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 7:24 UTC (Tue) by slothrop (guest, #69834) [Link]
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 14:05 UTC (Tue) by tardyp (subscriber, #58715) [Link]
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 16:51 UTC (Tue) by butlerm (guest, #13312) [Link]
The second half of the 2.6.37 merge window
Posted Nov 3, 2010 16:49 UTC (Wed) by nix (subscriber, #2304) [Link]
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 7:37 UTC (Tue) by mokki (subscriber, #33200) [Link]
The xfs has an ioctl for punching holes to files. unfortunately a fallocate flag for deallocating space from 2007 has not been included in mainline.
The second half of the 2.6.37 merge window
Posted Nov 3, 2010 15:18 UTC (Wed) by nye (guest, #51576) [Link]
In what circumstances would you want to use this rather than just mounting with the 'discard' option?
I'm curious because I've just bought my first SSD and I'm wondering how best to maintain performance. At first I was thinking of reserving some unpartitioned space, but then it occurred to me that it would probably be better just to use an ext4 partition. That way I can use the space if I really need it at some point, but it can be 'reclaimed' by the SSD for its own purposes when there's nothing stored there. Is that not correct?
The second half of the 2.6.37 merge window
Posted Nov 3, 2010 15:31 UTC (Wed) by slothrop (guest, #69834) [Link]
The second half of the 2.6.37 merge window
Posted Nov 3, 2010 16:45 UTC (Wed) by nye (guest, #51576) [Link]
The second half of the 2.6.37 merge window
Posted Nov 6, 2010 4:13 UTC (Sat) by Lope (subscriber, #65656) [Link]
So, what you probably want to do (if you want to be exact) is to watch the amount of data written to the filesystem (you can do that through /sys/fs/ext4/<device>/lifetime_write_kbytes assuming that on <device> is ext4 fs) and when it is going to reach some threshold (like 80% of device size) you would need to start doing the discard (note that FITRIM on ext4 will return amount of reclaimed space). But all of this may be an awful overkill for simple desktop:). And aside of that there are some very bad devices out there which are showing significant performance regression even at 50% fs saturation. And of course if you have more partitions on the same device ... it gets even more complicated :)
All that said, if you are ok with doing it once a day (and you are not even noticing it) it is good thing to do. But if it disturbs you, you probably would not want to do it so often, or at least do it per partes (which you can do with a little scripting) through a longer period of time.
The second half of the 2.6.37 merge window
Posted Nov 6, 2010 18:08 UTC (Sat) by slothrop (guest, #69834) [Link]
The second half of the 2.6.37 merge window
Posted Nov 6, 2010 4:27 UTC (Sat) by Lope (subscriber, #65656) [Link]
http://sourceforge.net/projects/test-discard/
BUT, there are some very bad devices which might be corrupted by sending lots of small TRIM's so better be careful (Or blame your vendor for doing bad job!).
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 0:06 UTC (Tue) by nteon (subscriber, #53899) [Link]
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 0:11 UTC (Tue) by corbet (editor, #1) [Link]
Linus forgot to push out the last stuff he committed, but it's there now.
The second half of the 2.6.37 merge window
Posted Nov 2, 2010 0:33 UTC (Tue) by BenHutchings (subscriber, #37955) [Link]
This is due to a botched disk upgrade; see mail on LKML.
'Support for the CAIF shared memory protocol has been added. '
Posted Nov 3, 2010 11:48 UTC (Wed) by trancecode (guest, #38493) [Link]
I read the docs and googled a bit but it is not clear to me how to use/test it.
Are there user space utilities available?
Is hardware essential? - I see a loopback implementation mentioned.
Do I need to buy a SonyEricsson Android phone for this to be useful?
(I might just do that if I can be sure to get one that will work)
'Support for the CAIF shared memory protocol has been added. '
Posted Nov 11, 2010 13:06 UTC (Thu) by jch (guest, #51929) [Link]
--jch
Copyright © 2010, Eklektix, Inc.
This article may be redistributed under the terms of the
Creative
Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds