commit | 8ea55c95c372a7a51fa50cb7c75240bfbe8bd337 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Wed Jan 28 18:44:17 2015 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Jan 29 09:19:27 2015 +0100 |
tree | a7a496ce7f0f0ae9a417d50acb44fb9fe1229ff9 | |
parent | e6d60b368b45b9be3aa068f8e5fa98c3487c9d4e [diff] |
s390/dasd: add locking for global_profile access Access to DASDs global statistics is done without locking which can lead to inconsistent data. Add locking to fix this. Also move the relevant structs in a global dasd_profile struct. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>