KernelNewbies:

Linux 3.6 has [https://lkml.org/lkml/2012/9/30/152 been released] on 30 Sep 2012

Summary: This Linux release includes new features in Btrfs: subvolume quotas, quota groups and snapshot diffs (aka "send/receive"). It also includes support for suspending to disk and memory at the same time, a experimental TCP "Fast Open" mode and a "small queues" feature to fight bufferbloat, support for safe swapping over NFS, better support of quotas in Ext4. Many small features and new drivers and fixes are also available.

TableOfContents()

1. Prominent features in Linux 3.6

1.1. Btrfs: subvolume quotas, quota groups, snapshot diff

1.1.1. Subvolume size limits/quotas

A size limit can be set for each subvolume. Once the subvolume reachs that limit, it won't be possible to write more data in it. This feature can be used as a substitute of quotas, assigning to each user home a subvolume and setting a size limit to it. You can get access to it with the command btrfs quota enable/disable/rescan

1.1.2. Subvolume quota groups

As part of the subvolume size limits, Btrfs also supports the concept of quota groups. It is possible to create a quota group and toss multiple subvolumes into that group: the quota limits will be automatically applied to all subvolumes in the group. The command used for this feature is btrfs qgroup create/destroy assign/remove show/limit

1.1.3. Snapshot diffs, aka "send/receive"

Btrfs can compute the differences between two snapshots and store the differences into a file. This file can be replayed later to reconstruct the sent subvolumes/snapshots. The main, but not only, usage for send/receive is backups.

1.2. Suspend to disk and memory

In portable devices it is useful to write a hibernation image to disk, and then suspend. If the battery runs out or power is otherwise lost, the computer will power off, but it will be resumed from the hibernated image. If not, it will resume normally from memory suspend, and hibernation image will be discarded.

If you would like to write hibernation image to swap and then suspend to RAM, you can try "echo suspend > /sys/power/disk; echo disk > /sys/power/state"

1.3. CIFS support for SMBv2

The cifs networking filesystem has added support for the [http://en.wikipedia.org/wiki/Server_Message_Block#SMB2 version 2 of the SMB protocol]. The SMB2 protocol is the successor to the popular CIFS and SMB network file sharing protocols, and is the native file sharing mechanism for Windows OSs since it was introduced in Windows Vista in 2006. SMB2 enablement will eventually allow users better performance, security and features, than would not be possible with previous protocols.

1.4. TCP Fast Open (client side)

"Fast Open" is a optimization to the process of stablishing a TCP connection that allows the elimination of one round time trip (RTT) from certain kinds of TCP conversations. Fast Open could result in speed improvements of between 4% and 41% in the page load times on popular web sites. In this version only the client-side has been merged.

Recommended LWN article: [https://lwn.net/Articles/508865/ TCP Fast Open: expediting web services]

Code: [http://git.kernel.org/linus/2100c8d2d9db23c0a09901a782bb4e3b21bee298 (commit 1], [http://git.kernel.org/linus/1fe4c481ba637660793217769695c146a037bd54 2], [http://git.kernel.org/linus/67da22d23fa6f3324e03bcd0580b914b2e4afbf3 3], [http://git.kernel.org/linus/aab4874355679c70f93993cf3b3fd74643b9ac33 4], [http://git.kernel.org/linus/8e4178c1c7b52f7c99f5fd22ef7af6b2bff409e3 5], [http://git.kernel.org/linus/783237e8daf13481ee234997cbbbb823872ac388 6], [http://git.kernel.org/linus/cf60af03ca4e71134206809ea892e49b92a88896 7)]

1.5. Bufferbloat fight: TCP small queues

TCP small queues is another mechanism designed to fight bufferbloat. TCP Small Queues goal is to reduce number of TCP packets in xmit queues (qdisc & device queues), to reduce RTT and cwnd bias, part of the bufferbloat problem. Without reduction of nominal bandwidth, we have reduction of buffering per bulk sender : < 1ms on Gbit (instead of 50ms with TSO) and < 8ms on 100Mbit (instead of 132 ms).

Recommended LWN article: [https://lwn.net/Articles/507065/ TCP small queues]

Code: [http://git.kernel.org/linus/46d3ceabd8d98ed0ad10f20c595ca784e34786c5 (commit)]

1.6. Swap over NFS

Until now, using swap over NFS was not safe. This release allows safe support of swapping over NFS.

Recommended LWN article: [https://lwn.net/Articles/439298/ Safely swapping over the net]

1.7. Ext4: better quota support

Ext4 has added support for quotas as a first class feature in ext4; which is to say, instead of as separate files visible in the file system directory hierarchy, the quota files are stored in hidden inodes as file system metadata, and will be managed directly by e2fsprogs, and quota will be enabled automatically as soon as the file system is mounted. The repquota program will not function initially, until a new QUOTASCAN_OPEN interface is implemented. More details at https://ext4.wiki.kernel.org/index.php/Design_For_1st_Class_Quota_in_Ext4

1.8. PCIe D3cold power state support

This release adds PCIe runtime D3cold power state support. D3cold is the deepest power saving state for a PCIe device, where its main power is removed.

Code: [http://git.kernel.org/linus/448bd857d48e69b33ef323739dc6d8ca20d4cda7 (commit 1], [http://git.kernel.org/linus/71a83bd727cc31c5fe960c3758cb396267ff710e 2], [http://git.kernel.org/linus/4f9c1397e2e80e52b17ec4e39760caa807bd15c7 3)]

2. Driver and architecture-specific changes

All the driver and architecture-specific changes can be found in the [http://kernelnewbies.org/Linux_3.6_DriverArch Linux_3.6_DriverArch page]

3. Various core changes

4. Memory Management

5. Block

6. Perf/tracing

7. Virtualization

8. Security

9. Networking

10. Cryptography

11. File systems

12. Other news sites that track the changes of this release


KernelNewbies: Linux_3.6 (last edited 2012-10-01 13:09:00 by diegocalleja)