Date: Thu, 17 Jan 2008 22:05:48 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133506 for review Message-ID: <200801172205.m0HM5m4x040006@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133506 Change 133506 by scottl@scottl-ix on 2008/01/17 22:05:01 Remove an unused mutex. Affected files ... .. //depot/projects/xen31/sys/dev/xen/blkfront/blkfront.c#12 edit Differences ... ==== //depot/projects/xen31/sys/dev/xen/blkfront/blkfront.c#12 (text+ko) ==== @@ -109,8 +109,6 @@ #define MAXIMUM_OUTSTANDING_BLOCK_REQS \ (BLKIF_MAX_SEGMENTS_PER_REQUEST * BLK_RING_SIZE) -static struct mtx blkif_io_block_lock; - static void kick_pending_request_queues(struct blkfront_info *); static int blkif_open(struct disk *dp); static int blkif_close(struct disk *dp); @@ -234,7 +232,6 @@ { int err, vdevice, i; struct blkfront_info *info; - /* FIXME: Use dynamic device id if this is not set. */ err = xenbus_scanf(XBT_NIL, dev->nodename, @@ -1004,7 +1001,6 @@ } MTX_SYSINIT(ioreq, &blkif_io_lock, "BIO LOCK", MTX_NOWITNESS); /* XXX how does one enroll a lock? */ -MTX_SYSINIT(ioreq_block, &blkif_io_block_lock, "BIO BLOCK LOCK", MTX_SPIN | MTX_NOWITNESS); SYSINIT(xbdev, SI_SUB_PSEUDO, SI_ORDER_SECOND, xenbus_init, NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801172205.m0HM5m4x040006>