Re: [PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-19 Thread Jörn Engel
han@oracle.com > Subject: [PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down > to per-device locking > X-Mailer: git-send-email 1.7.11.7 > > Push file descriptor list locking down to per-device locking. Let > sg_index_lock > only protect device lookup.

Re: [PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-19 Thread Jörn Engel
@oracle.com Subject: [PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking X-Mailer: git-send-email 1.7.11.7 Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp-detached is also set and checked

[PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-17 Thread Vaughan Cao
Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp->detached is also set and checked with this lock held. Signed-off-by: Vaughan Cao --- drivers/scsi/sg.c | 61 ++- 1 file changed,

[PATCH v4 4/4] [SCSI] sg: push file descriptor list locking down to per-device locking

2013-07-17 Thread Vaughan Cao
Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp-detached is also set and checked with this lock held. Signed-off-by: Vaughan Cao vaughan@oracle.com --- drivers/scsi/sg.c | 61