alistair23-linux/drivers/s390
Sebastian Ott 616503d1d8 s390/cio: improve locking during cmbe allocation
During allocation of extended measurement blocks we check if the device is
already active for channel measurement and add the device to a list of
devices with active channel measurement. The check is done under ccwlock
protection and the list modification is guarded by a different lock.

To guarantee that both states are in sync make sure that both locks
are held during the allocation process (like it's already done for the
"normal" measurement block allocation).

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-10-14 14:32:03 +02:00
..
block s390/dasd: mark DASD devices as non rotational 2015-10-14 14:32:00 +02:00
char s390/sclp_vt220: support magic sysrequests 2015-08-26 17:20:45 +02:00
cio s390/cio: improve locking during cmbe allocation 2015-10-14 14:32:03 +02:00
crypto s390/zcrypt: enable odd RSA modulus sizes in CRT format 2015-10-14 14:31:59 +02:00
net
scsi Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-03 15:46:07 -07:00
virtio virtio/s390: handle failures of READ_VQ_CONF ccw 2015-09-16 12:48:08 +03:00
Makefile