The conclusion of the 3.9 merge window
- The block I/O controller now has full hierarchical control group
support.
- The NFS code has gained network namespace support, allowing the
operation of per-container NFS servers.
- The Intel PowerClamp driver has been
merged; PowerClamp allows the regulation of a CPU's power consumption
through the injection of forced idle states.
- The device mapper has gained support for a new "dm-cache" target that
is able to use a fast drive (like a solid-state device) as a cache in
front of slower storage devices. See Documentation/device-mapper/cache.txt for
details.
- RAID 5 and 6 support for the Btrfs filesystem has been merged at last.
- Btrfs defragmentation code has gained snapshot awareness, meaning that
sharing of data between snapshots will no longer be lost when
defragmentation runs.
- Architecture support for the Synopsys ARC and ImgTec Meta
architectures has been added.
- New hardware support includes:
- Systems and processors:
Marvell Armada XP development boards,
Ralink MIPS-based system-on-chip processors,
Atheros AP136 reference boards, and
Google Pixel laptops.
- Block:
IBM RamSam PCIe Flash SSD devices and
Broadcom BCM2835 SD/MMC controllers.
- Display:
TI LP8788 backlight controllers.
- Miscellaneous: Kirkwood 88F6282 and 88F6283 thermal sensors, Marvell Dove thermal sensors, and Nokia "Retu" watchdog devices.
- Systems and processors:
Marvell Armada XP development boards,
Ralink MIPS-based system-on-chip processors,
Atheros AP136 reference boards, and
Google Pixel laptops.
Changes visible to kernel developers include:
- The menuconfig configuration tool now has proper "save" and
"load" buttons.
- The rework of the IDR API has been
merged, simplifying code that uses IDR to generate unique integer
identifiers. Users throughout the kernel tree have been updated to
the new API.
- The hlist_for_each_entry() iterator has lost the unused "pos" parameter.
At this point, the stabilization period for the 3.9 kernel has begun. If
the usual pattern holds, the final 3.9 release can be expected sometime
around the beginning of May.
Index entries for this article | |
---|---|
Kernel | Releases/3.9 |
Posted Mar 5, 2013 19:20 UTC (Tue)
by mathstuf (subscriber, #69389)
[Link] (9 responses)
How close are we to being able to use the "cache drives"[1]?
[1]http://www.ocztechnology.com/ocz-synapse-cache-sata-iii-2...
Posted Mar 5, 2013 22:56 UTC (Tue)
by ntl (subscriber, #40518)
[Link] (8 responses)
Posted Mar 6, 2013 3:03 UTC (Wed)
by drag (guest, #31333)
[Link] (2 responses)
Posted Mar 6, 2013 5:33 UTC (Wed)
by drdabbles (guest, #48755)
[Link]
Posted Mar 7, 2013 11:25 UTC (Thu)
by tialaramex (subscriber, #21167)
[Link]
Posted Mar 6, 2013 17:07 UTC (Wed)
by mathstuf (subscriber, #69389)
[Link] (4 responses)
Posted Mar 6, 2013 18:02 UTC (Wed)
by k3ninho (subscriber, #50375)
[Link] (2 responses)
K3n.
Posted Mar 6, 2013 18:30 UTC (Wed)
by ntl (subscriber, #40518)
[Link] (1 responses)
Anyway, the drives in the link seem to be EOL.
Posted Mar 7, 2013 11:09 UTC (Thu)
by Tobu (subscriber, #24111)
[Link]
Posted Mar 6, 2013 18:23 UTC (Wed)
by Tobu (subscriber, #24111)
[Link]
Posted Mar 5, 2013 23:23 UTC (Tue)
by sebas (guest, #51660)
[Link] (16 responses)
Posted Mar 6, 2013 0:42 UTC (Wed)
by marduk (subscriber, #3831)
[Link] (1 responses)
Posted Mar 6, 2013 11:44 UTC (Wed)
by blackwood (guest, #44174)
[Link]
Posted Mar 6, 2013 1:26 UTC (Wed)
by neilbrown (subscriber, #359)
[Link]
This will always switch console unless disable_vt_switch is set, and that only gets set by a call to pm_set_vt_switch(0).
This is only called by drivers/video/geode/gxfb_core.c and drivers/video/geode/gxfb_core.c, which defaults it to 0 unless it is set by a module parameter:
module_param(vt_switch, int, 0);
So it looks like, with 3.9-rc1, you always get a vt switch at suspend/resume unless you have a GEODE video controller.
(note to self: I really should use that pm_set_vt_switch() call for my omap3 display on the GTA04 instead of commenting out the call to pm_prepare_console())
Posted Mar 6, 2013 1:30 UTC (Wed)
by Tobu (subscriber, #24111)
[Link] (2 responses)
Posted Mar 6, 2013 1:37 UTC (Wed)
by Tobu (subscriber, #24111)
[Link] (1 responses)
Posted Mar 6, 2013 11:47 UTC (Wed)
by blackwood (guest, #44174)
[Link]
Posted Mar 7, 2013 13:12 UTC (Thu)
by sebas (guest, #51660)
[Link] (9 responses)
Looking forward to flicker-free suspend/resume. Because I do that approximately a 100 times more often than rebooting, so not sure why everybody cares so much about flicker-free boot, with suspend states working stable and fast.I also hope to get a nice speedup from this, as the vt switch takes a long time here and is quite blocking.
Now if I only could convince networkmanager to not drop the wifi connection purposefully, on suspend/resume, because that's apparently not necessary anymore with this nice ultrabook hardware. Using ifup/ifdown, it does not and is immediately online. Did anybody try that?
Posted Mar 7, 2013 14:03 UTC (Thu)
by johill (subscriber, #25196)
[Link] (8 responses)
The "ultrabook" behaviour you refer to can be achieved with WoWLAN (http://wireless.kernel.org/en/users/Documentation/WoWLAN) and network scanning offload (while in suspend), but this doesn't exist in Linux yet.
However, a much easier solution could be implemented in NetworkManager: instead of scanning on all channels when resuming, it could scan just the channel that it was previously connected on. If that finds the previously connected AP, it would be able to reconnect almost immediately (delay of less than half a second), vs. a full scan that can take up to 10-15 seconds. This should be a fairly simple NetworkManager change.
Posted Mar 7, 2013 17:18 UTC (Thu)
by raven667 (subscriber, #5198)
[Link] (7 responses)
Posted Mar 7, 2013 20:39 UTC (Thu)
by johill (subscriber, #25196)
[Link] (2 responses)
But ultimately you're right, in the general case you have to scan all channels and that simply takes a while. It shouldn't be more than a few seconds since you're not connected; here it takes ~3.5 seconds to scan all the channels my card supports, but I know that it can be (much) slower depending on the device.
Posted Mar 7, 2013 23:25 UTC (Thu)
by dlang (guest, #313)
[Link] (1 responses)
Posted Mar 8, 2013 0:10 UTC (Fri)
by johill (subscriber, #25196)
[Link]
1) scan the last channel
The intermediate step only makes sense if those known channels are a relatively small subset of all channels, but with typical installations they will be. In fact, for many networks like your home network 1) and 2) will be exactly the same because you only have a single AP, but for typical enterprise networks 2) will still be better than 3).
Posted Mar 8, 2013 0:56 UTC (Fri)
by mgedmin (subscriber, #34497)
[Link] (3 responses)
I'd love to see Network Manager pick up something from that.
Posted Mar 8, 2013 9:07 UTC (Fri)
by johill (subscriber, #25196)
[Link]
Posted Mar 8, 2013 15:35 UTC (Fri)
by njwhite (subscriber, #51848)
[Link]
Posted Mar 14, 2013 0:46 UTC (Thu)
by kevinm (guest, #69913)
[Link]
If CLOCK_MONOTONIC in Linux actually worked according to POSIX spec, then a timer based on this clock could be used to fix this problem. (POSIX says that CLOCK_MONOTONIC measures time elapsed since "an unspecified point in the past", and further "This point does not change after system start-up time.". On Linux however, CLOCK_MONOTONIC stops while the system is suspended, which is clearly nonconforming).
Posted Mar 6, 2013 6:03 UTC (Wed)
by bergwolf (guest, #55931)
[Link] (8 responses)
What about the EnhanceIO driver that is aiming at 3.10 merge window? I assume that they are similar code accomplishing similar job, no?
http://lwn.net/Articles/538435/
Posted Mar 6, 2013 12:33 UTC (Wed)
by Tobu (subscriber, #24111)
[Link] (1 responses)
Posted Mar 8, 2013 2:27 UTC (Fri)
by msnitzer (subscriber, #57232)
[Link]
Posted Mar 6, 2013 13:48 UTC (Wed)
by ebirdie (guest, #512)
[Link] (5 responses)
http://bcache.evilpiepirate.org/
>Bcache is a Linux kernel block layer cache. It allows one or more fast disk drives such as flash-based solid state drives (SSDs) to act as a cache for one or more slower hard disk drives.
Posted Mar 6, 2013 14:48 UTC (Wed)
by Tobu (subscriber, #24111)
[Link] (4 responses)
Posted Mar 7, 2013 8:05 UTC (Thu)
by ebirdie (guest, #512)
[Link]
Posted Mar 8, 2013 2:37 UTC (Fri)
by msnitzer (subscriber, #57232)
[Link]
But we definitely need to definitely update the bcache and enhanceio code.
Also, please note that there are some dm-cache fixes that will likely be sent to Linus for 3.9-rc2 that Alasdair (DM maintainer) has staged here: http://people.redhat.com/agk/patches/linux/editing/series...
Posted Mar 8, 2013 17:30 UTC (Fri)
by Lennie (subscriber, #49641)
[Link] (1 responses)
It is kinda annoying, I know.
But if a normal block device would be used as a backing store there is nothing to preventing accidental use even though there might be dirty data on the cache device.
The EnhanceIO developers use some udev scripts to prevent this, I haven't looked at how they do it. I guess that could work, the EnhanceIO developers said they haven't seen any problems yet. But I can definitely see why the bcache developer made his choice.
If a cachesystem would have be integrated in the filesystem the filesystem could have something recorded which would prevent it from being mounted without the user forcing it in some way when the cache device is never coming back.
It is kinda interesting to see there are 6 ways/ideas floating around to do caching or caching related things now for the Linux kernel:
The dm-cache, EnhanceIO and bcache have 'spoken' on the mailinglist and one even mentioned he didn't see any problem in having several implementations in the mainline kernel.
I'm not so sure Linus would even accept those patches. :-)
It is interesting and maybe sometimes seems a bit painful to see that many different efforts. They obviously all have their strengths and weaknesses of course.
Posted Mar 8, 2013 17:49 UTC (Fri)
by Lennie (subscriber, #49641)
[Link]
Posted Mar 6, 2013 6:08 UTC (Wed)
by bergwolf (guest, #55931)
[Link] (3 responses)
Yet another nightmare for out-of-tree modules that aim at supporting multiple kernel versions. sigh...
Posted Mar 6, 2013 8:43 UTC (Wed)
by renox (guest, #23785)
[Link]
And a perfect example why the kernel doesn't keep a stable internal ABI: otherwise you have to keep unused parameters aka bloat.
Posted Mar 6, 2013 18:02 UTC (Wed)
by marduk (subscriber, #3831)
[Link]
Unused parameters are undesirable.
>Yet another nightmare for out-of-tree modules that aim at supporting multiple kernel versions. sigh...
Out-of-tree modules are undesirable.
Posted Mar 6, 2013 22:04 UTC (Wed)
by ovitters (guest, #27950)
[Link]
Or in other words: pretty well known that there is no stability guarantee and the developers prefer to include your module/driver in the kernel. Seems that this often also gets you a good review (thus better quality).
Posted Mar 9, 2013 23:04 UTC (Sat)
by meyert (subscriber, #32097)
[Link] (1 responses)
Posted Mar 10, 2013 5:15 UTC (Sun)
by mathstuf (subscriber, #69389)
[Link]
The conclusion of the 3.9 merge window
"cache drives"
"cache drives"
"cache drives"
"cache drives"
"cache drives"
"cache drives"
The rest is intended to be used as the NAND cells wear out. The device has twice as much silicon as it needs so that it can be useful for longer, given the high read-erase patterns of scratch caches. The rest is not cache.
"cache drives"
The caching is in their windows software, the SSD has no visibility on the HDD.
"cache drives"
The small print on that page says it has 50% over-provisioning, so not visible outside of the SSD firmware. That must be there to compensate for the dataplex caching driver doing something not SSD-friendly, like heavy in-place rewriting (which would otherwise prevent the FTL from doing its work refreshing cells and spreading writes). bcache at least only writes whole erase blocks (1MB default bucket size), so it doesn't need that kind of overprovisioning.
"cache drives"
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
#define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
MODULE_PARM_DESC(vt_switch, "enable VT switch during suspend/resume");
I don't use it myself, but Phoronix mentioned that this merge has part of intel's "fastboot" work, which seems to be about reusing bios-allocated frame buffers.
flicker-free suspend/resume on Intel
Also, here is airlied's pull request. It doesn't name fastboot, but does give a shootout to “the worst news site ever”, the one I've just linked to :P
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
2) scan the known channels for the last SSID
3) scan all (remaining) channels
Somewhat tangentially there's a very interesting article about DHCP tricks that MacOS X does to reconnect faster.
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
The conclusion of the 3.9 merge window
I think "dm-cache" is more similar to "dm-cache", first posted to LKML in 2006. Both are dm targets with pluggable tiering policies. EnhanceIO has some older dm-cache code by way of Flashcache, but it doesn't have the pluggable policies (I don't know if Flashcache slashed it or if there was some convergent evolution later).
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
https://lwn.net/Articles/501632/
It seems to be the fastest of the lot, and an earlier version is in use at Google. Currently the maintainer is spoon-feeding some BIO and AIO rework through maintainer reviews, and I have no idea how much of the supporting infrastructure is left to merge at this point. It's not terribly user-friendly at the moment: no dm target that would allow in-place migration, and you have to stick to a maintainer tree for continued data access (even though a pass-through shim would be sufficient for non-writeback uses).
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
https://github.com/jthornber/linux-2.6/tree/all-caches
The conclusion of the 3.9 merge window
- dm-cache, now in the kernel I guess
- Facebook Flashcache
- Google bcache
- EnhanceIO was based on Flashcache I believe
- If I'm not mistake in recent kernels there is code in the VFS which keeps track of which data is hot
- btrfs developers are looking at doing something in btrfs, if I remember correctly they have expressed some interest in the VFS solution
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
>Yet another nightmare for out-of-tree modules that aim at supporting multiple kernel versions. sigh...
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window
The conclusion of the 3.9 merge window