Revision be14eb619108fa8b7120eb2c42d66d5f623ae10e authored by Brian King on 10 September 2010, 07:03:21 UTC, committed by Jens Axboe on 10 September 2010, 07:03:21 UTC
While testing CPU DLPAR, the following problem was discovered. We were DLPAR removing the first CPU, which in this case was logical CPUs 0-3. CPUs 0-2 were already marked offline and we were in the process of offlining CPU 3. After marking the CPU inactive and offline in cpu_disable, but before the cpu was completely idle (cpu_die), we ended up in __make_request on CPU 3. There we looked at the topology map to see which CPU to complete the I/O on and found no CPUs in the cpu_sibling_map. This resulted in the block layer setting the completion cpu to be NR_CPUS, which then caused an oops when we tried to complete the I/O. Fix this by sanity checking the value we return from blk_cpu_to_group to be a valid cpu value. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
1 parent edce682
File | Mode | Size |
---|---|---|
netfilter | ||
Kconfig | -rw-r--r-- | 6.9 KB |
Makefile | -rw-r--r-- | 1.4 KB |
addrconf.c | -rw-r--r-- | 113.0 KB |
addrconf_core.c | -rw-r--r-- | 2.4 KB |
addrlabel.c | -rw-r--r-- | 13.7 KB |
af_inet6.c | -rw-r--r-- | 30.1 KB |
ah6.c | -rw-r--r-- | 17.5 KB |
anycast.c | -rw-r--r-- | 11.5 KB |
datagram.c | -rw-r--r-- | 19.3 KB |
esp6.c | -rw-r--r-- | 13.8 KB |
exthdrs.c | -rw-r--r-- | 21.2 KB |
exthdrs_core.c | -rw-r--r-- | 3.2 KB |
fib6_rules.c | -rw-r--r-- | 6.8 KB |
icmp.c | -rw-r--r-- | 21.3 KB |
inet6_connection_sock.c | -rw-r--r-- | 6.2 KB |
inet6_hashtables.c | -rw-r--r-- | 8.0 KB |
ip6_fib.c | -rw-r--r-- | 32.7 KB |
ip6_flowlabel.c | -rw-r--r-- | 17.3 KB |
ip6_input.c | -rw-r--r-- | 7.6 KB |
ip6_output.c | -rw-r--r-- | 38.5 KB |
ip6_tunnel.c | -rw-r--r-- | 34.8 KB |
ip6mr.c | -rw-r--r-- | 49.0 KB |
ipcomp6.c | -rw-r--r-- | 5.4 KB |
ipv6_sockglue.c | -rw-r--r-- | 26.7 KB |
mcast.c | -rw-r--r-- | 62.5 KB |
mip6.c | -rw-r--r-- | 13.2 KB |
ndisc.c | -rw-r--r-- | 45.2 KB |
netfilter.c | -rw-r--r-- | 4.4 KB |
proc.c | -rw-r--r-- | 10.0 KB |
protocol.c | -rw-r--r-- | 1.7 KB |
raw.c | -rw-r--r-- | 30.8 KB |
reassembly.c | -rw-r--r-- | 19.7 KB |
route.c | -rw-r--r-- | 66.7 KB |
sit.c | -rw-r--r-- | 27.4 KB |
syncookies.c | -rw-r--r-- | 7.3 KB |
sysctl_net_ipv6.c | -rw-r--r-- | 3.4 KB |
tcp_ipv6.c | -rw-r--r-- | 55.8 KB |
tunnel6.c | -rw-r--r-- | 4.3 KB |
udp.c | -rw-r--r-- | 36.7 KB |
udp_impl.h | -rw-r--r-- | 1.4 KB |
udplite.c | -rw-r--r-- | 3.1 KB |
xfrm6_input.c | -rw-r--r-- | 3.0 KB |
xfrm6_mode_beet.c | -rw-r--r-- | 3.5 KB |
xfrm6_mode_ro.c | -rw-r--r-- | 2.3 KB |
xfrm6_mode_transport.c | -rw-r--r-- | 2.3 KB |
xfrm6_mode_tunnel.c | -rw-r--r-- | 3.1 KB |
xfrm6_output.c | -rw-r--r-- | 2.1 KB |
xfrm6_policy.c | -rw-r--r-- | 8.1 KB |
xfrm6_state.c | -rw-r--r-- | 4.4 KB |
xfrm6_tunnel.c | -rw-r--r-- | 9.9 KB |
Computing file changes ...