On Mon, Sep 30 2002, Kevin Corry wrote:
> The EVMS team is announcing the next stable release of the Enterprise Volume
> Management System, which will eventually become EVMS 2.0. Package 1.2.0 is
> now available for download at the project web site:
> http://www.sf.net/projects/evms
[evms.c]
#ifndef CONFIG_SMP
static spinlock_t evms_request_lock = SPIN_LOCK_UNLOCKED;
#endif
...
#ifdef CONFIG_SMP
blk_dev[EVMS_MAJOR].queue = evms_find_queue;
#else
blk_init_queue(BLK_DEFAULT_QUEUE(EVMS_MAJOR),
evms_do_request_fn, &evms_request_lock);
blk_queue_make_request(BLK_DEFAULT_QUEUE(EVMS_MAJOR),
evms_make_request_fn);
#endif
...
#ifdef CONFIG_SMP
lv->request_lock = SPIN_LOCK_UNLOCKED;
blk_init_queue(&lv->request_queue,
evms_do_request_fn,
&lv->request_lock);
blk_queue_make_request(&lv->request_queue,
evms_make_request_fn);
#endif
What the hell is that about?
-- Jens Axboe- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:25 EST