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

From: JÃrn Engel
Date: Fri Jul 19 2013 - 18:58:21 EST


On Wed, 17 July 2013 23:34:06 +0800, Vaughan Cao wrote:
> Date: Wed, 17 Jul 2013 23:34:06 +0800
> From: Vaughan Cao <vaughan.cao@xxxxxxxxxx>
> To: joern@xxxxxxxxx
> Cc: dgilbert@xxxxxxxxxxxx, JBottomley@xxxxxxxxxxxxx,
> linux-scsi@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx,
> vaughan.cao@xxxxxxxxxx
> 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 with this lock held.
>
> Signed-off-by: Vaughan Cao <vaughan.cao@xxxxxxxxxx>

Reviewed-by: Joern Engel <joern@xxxxxxxxx>

JÃrn

--
What one programmer can do in one month, two programmers can do in two months.
-- Fred Brooks
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/