Skip to content

Commit 9134d02

Browse files
committed
Merge commit 'md/for-linus' into async-tx-next
Conflicts: drivers/md/raid5.c
2 parents bbb2008 + 80ffb3c commit 9134d02

File tree

2,203 files changed

+55828
-31895
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,203 files changed

+55828
-31895
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
*.gz
2828
*.lzma
2929
*.patch
30+
*.gcno
3031

3132
#
3233
# Top-level generic files

CREDITS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ E: [email protected]
18561856
D: The Linux Support Team Erlangen
18571857

18581858
N: Andreas Koensgen
1859-
E: ajk@iehk.rwth-aachen.de
1859+
E: ajk@comnets.uni-bremen.de
18601860
D: 6pack driver for AX.25
18611861

18621862
N: Harald Koerfgen
@@ -2006,6 +2006,9 @@ E: [email protected]
20062006
D: Soundblaster driver fixes, ISAPnP quirk
20072007
S: California, USA
20082008

2009+
N: Jonathan Layes
2010+
D: ARPD support
2011+
20092012
N: Tom Lees
20102013
20112014
W: http://www.lpsg.demon.co.uk/
@@ -3802,6 +3805,9 @@ S: van Bronckhorststraat 12
38023805
S: 2612 XV Delft
38033806
S: The Netherlands
38043807

3808+
N: Thomas Woller
3809+
D: CS461x Cirrus Logic sound driver
3810+
38053811
N: David Woodhouse
38063812
38073813
D: JFFS2 file system, Memory Technology Device subsystem,

Documentation/ABI/testing/sysfs-block

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,28 +94,37 @@ What: /sys/block/<disk>/queue/physical_block_size
9494
Date: May 2009
9595
Contact: Martin K. Petersen <[email protected]>
9696
Description:
97-
This is the smallest unit the storage device can write
98-
without resorting to read-modify-write operation. It is
99-
usually the same as the logical block size but may be
100-
bigger. One example is SATA drives with 4KB sectors
101-
that expose a 512-byte logical block size to the
102-
operating system.
97+
This is the smallest unit a physical storage device can
98+
write atomically. It is usually the same as the logical
99+
block size but may be bigger. One example is SATA
100+
drives with 4KB sectors that expose a 512-byte logical
101+
block size to the operating system. For stacked block
102+
devices the physical_block_size variable contains the
103+
maximum physical_block_size of the component devices.
103104

104105
What: /sys/block/<disk>/queue/minimum_io_size
105106
Date: April 2009
106107
Contact: Martin K. Petersen <[email protected]>
107108
Description:
108-
Storage devices may report a preferred minimum I/O size,
109-
which is the smallest request the device can perform
110-
without incurring a read-modify-write penalty. For disk
111-
drives this is often the physical block size. For RAID
112-
arrays it is often the stripe chunk size.
109+
Storage devices may report a granularity or preferred
110+
minimum I/O size which is the smallest request the
111+
device can perform without incurring a performance
112+
penalty. For disk drives this is often the physical
113+
block size. For RAID arrays it is often the stripe
114+
chunk size. A properly aligned multiple of
115+
minimum_io_size is the preferred request size for
116+
workloads where a high number of I/O operations is
117+
desired.
113118

114119
What: /sys/block/<disk>/queue/optimal_io_size
115120
Date: April 2009
116121
Contact: Martin K. Petersen <[email protected]>
117122
Description:
118123
Storage devices may report an optimal I/O size, which is
119-
the device's preferred unit of receiving I/O. This is
120-
rarely reported for disk drives. For RAID devices it is
121-
usually the stripe width or the internal block size.
124+
the device's preferred unit for sustained I/O. This is
125+
rarely reported for disk drives. For RAID arrays it is
126+
usually the stripe width or the internal track size. A
127+
properly aligned multiple of optimal_io_size is the
128+
preferred request size for workloads where sustained
129+
throughput is desired. If no optimal I/O size is
130+
reported this file contains 0.

Documentation/DocBook/kernel-hacking.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,8 @@ printk(KERN_INFO "i = %u\n", i);
449449
</para>
450450

451451
<programlisting>
452-
__u32 ipaddress;
453-
printk(KERN_INFO "my ip: %d.%d.%d.%d\n", NIPQUAD(ipaddress));
452+
__be32 ipaddress;
453+
printk(KERN_INFO "my ip: %pI4\n", &amp;ipaddress);
454454
</programlisting>
455455

456456
<para>

Documentation/DocBook/mac80211.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,6 @@ usage should require reading the full document.
184184
!Finclude/net/mac80211.h ieee80211_ctstoself_get
185185
!Finclude/net/mac80211.h ieee80211_ctstoself_duration
186186
!Finclude/net/mac80211.h ieee80211_generic_frame_duration
187-
!Finclude/net/mac80211.h ieee80211_get_hdrlen_from_skb
188-
!Finclude/net/mac80211.h ieee80211_hdrlen
189187
!Finclude/net/mac80211.h ieee80211_wake_queue
190188
!Finclude/net/mac80211.h ieee80211_stop_queue
191189
!Finclude/net/mac80211.h ieee80211_wake_queues

Documentation/RCU/rculist_nulls.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,12 @@ not detect it missed following items in original chain.
8383
obj = kmem_cache_alloc(...);
8484
lock_chain(); // typically a spin_lock()
8585
obj->key = key;
86-
atomic_inc(&obj->refcnt);
8786
/*
8887
* we need to make sure obj->key is updated before obj->next
88+
* or obj->refcnt
8989
*/
9090
smp_wmb();
91+
atomic_set(&obj->refcnt, 1);
9192
hlist_add_head_rcu(&obj->obj_node, list);
9293
unlock_chain(); // typically a spin_unlock()
9394

@@ -159,6 +160,10 @@ out:
159160
obj = kmem_cache_alloc(cachep);
160161
lock_chain(); // typically a spin_lock()
161162
obj->key = key;
163+
/*
164+
* changes to obj->key must be visible before refcnt one
165+
*/
166+
smp_wmb();
162167
atomic_set(&obj->refcnt, 1);
163168
/*
164169
* insert obj in RCU way (readers might be traversing chain)

Documentation/arm/memory.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ ffff8000 ffffffff copy_user_page / clear_user_page use.
2121
For SA11xx and Xscale, this is used to
2222
setup a minicache mapping.
2323

24+
ffff4000 ffffffff cache aliasing on ARMv6 and later CPUs.
25+
2426
ffff1000 ffff7fff Reserved.
2527
Platforms must not use this address range.
2628

Documentation/block/data-integrity.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ encouraged them to allow separation of the data and integrity metadata
5050
scatter-gather lists.
5151

5252
The controller will interleave the buffers on write and split them on
53-
read. This means that the Linux can DMA the data buffers to and from
53+
read. This means that Linux can DMA the data buffers to and from
5454
host memory without changes to the page cache.
5555

5656
Also, the 16-bit CRC checksum mandated by both the SCSI and SATA specs
@@ -66,7 +66,7 @@ software RAID5).
6666

6767
The IP checksum is weaker than the CRC in terms of detecting bit
6868
errors. However, the strength is really in the separation of the data
69-
buffers and the integrity metadata. These two distinct buffers much
69+
buffers and the integrity metadata. These two distinct buffers must
7070
match up for an I/O to complete.
7171

7272
The separation of the data and integrity metadata buffers as well as

Documentation/cgroups/cpusets.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,18 @@ in cpuset directories:
777777
# /bin/echo 1-4 > cpus -> set cpus list to cpus 1,2,3,4
778778
# /bin/echo 1,2,3,4 > cpus -> set cpus list to cpus 1,2,3,4
779779

780+
To add a CPU to a cpuset, write the new list of CPUs including the
781+
CPU to be added. To add 6 to the above cpuset:
782+
783+
# /bin/echo 1-4,6 > cpus -> set cpus list to cpus 1,2,3,4,6
784+
785+
Similarly to remove a CPU from a cpuset, write the new list of CPUs
786+
without the CPU to be removed.
787+
788+
To remove all the CPUs:
789+
790+
# /bin/echo "" > cpus -> clear cpus list
791+
780792
2.3 Setting flags
781793
-----------------
782794

Documentation/connector/cn_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* cn_test.c
33
*
4-
* 2004-2005 Copyright (c) Evgeniy Polyakov <[email protected]>
4+
* 2004+ Copyright (c) Evgeniy Polyakov <[email protected]>
55
* All rights reserved.
66
*
77
* This program is free software; you can redistribute it and/or modify
@@ -194,5 +194,5 @@ module_init(cn_test_init);
194194
module_exit(cn_test_fini);
195195

196196
MODULE_LICENSE("GPL");
197-
MODULE_AUTHOR("Evgeniy Polyakov <[email protected]>");
197+
MODULE_AUTHOR("Evgeniy Polyakov <[email protected]>");
198198
MODULE_DESCRIPTION("Connector's test module");

0 commit comments

Comments
 (0)