Re: [ANNOUNCE] EVMS Release 1.2.0

Jens Axboe (axboe@suse.de)
Tue, 1 Oct 2002 12:20:43 +0200


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/