patch-2.1.96 linux/drivers/block/ll_rw_blk.c

Next file: linux/drivers/block/rz1000.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -149,11 +149,6 @@
 		}
 	}
 	if (queue_new_request)
-		/*
-		 * request functions are smart enough to notice a change
-		 * in the request queue, calling them without the spinlock
-		 * is OK, i think. <-- FIXME: [is this true? --mingo]
-		 */
 		(dev->request_fn)();
 
 	spin_unlock_irqrestore(&io_request_lock,flags);
@@ -348,10 +343,6 @@
 	if (scsi_blk_major(MAJOR(req->rq_dev)))
 		queue_new_request = 1;
 out:
-	/*
-	 * request_fn() is usually a quite complex and slow function,
-	 * we want to call it with no spinlocks held
-	 */
 	if (queue_new_request)
 		(dev->request_fn)();
 	spin_unlock_irqrestore(&io_request_lock,flags);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov