[SCSI] libfcoe: convert FIP to lock with mutex instead of spin lock
commitfdb068c6cd6e30d43664f856d3530715a5742713
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 20 Jul 2010 22:19:47 +0000 (20 15:19 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:05:51 +0000 (28 09:05 -0500)
treea500212cc66aee42c7a3659ff0cfecbfb9be6b18
parentf90377abcab2e305450ee76a0f9042907560c5d8
[SCSI] libfcoe: convert FIP to lock with mutex instead of spin lock

It turns out most of the FIP work is now done from worker threads
or process context now, so there's no need to use a spin lock.

Change to use mutex instead of spin lock and delayed_work instead
of a timer.

This will make it nicer for the VN_port to VN_port feature that
will interact more with the libfc layers requiring that
spinlocks not be held.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/libfcoe.c
include/scsi/libfcoe.h