commit | 6c78cc06583344244628bf29aa5b5fe43ff5d04e | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Wed Feb 26 22:57:03 2014 +0900 |
committer | James Bottomley <JBottomley@Parallels.com> | Wed Mar 19 15:04:30 2014 -0700 |
tree | 6ef80001e2fe6f27993cb708003092acf5ebd771 | |
parent | be4e11be99dbb36308760595ee848ef51713b4b0 [diff] |
[SCSI] scsi_debug: protect device access with atomic_rw lock This change ensures that concurrent device access including ramdisk storage, protection info, and provisioning map by read, write, and unmap commands are protected with atomic_rw spinlock. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Reviewed-by: Douglas Gilbert <dgilbert@interlog.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>