lkml.org 
[lkml]   [2002]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [ANNOUNCE] EVMS Release 1.2.0
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:29    [W:0.025 / U:30.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site