lkml.org 
[lkml]   [2010]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectdeadline ALWAYS default for dasd devices(s390) ?
    hi,

    why is it FORCED ? bypassing a GLOBAL setting and also the kernel command line !!!

    drivers/s390/block/dasd.c

    /*
    * Allocate and initialize request queue and default I/O scheduler.
    */
    static int dasd_alloc_queue(struct dasd_block *block)
    {
    int rc;

    block->request_queue = blk_init_queue(do_dasd_request,
    &block->request_queue_lock);
    if (block->request_queue == NULL)
    return -ENOMEM;

    block->request_queue->queuedata = block;

    elevator_exit(block->request_queue->elevator);
    block->request_queue->elevator = NULL;
    rc = elevator_init(block->request_queue, "deadline");
    if (rc) {
    blk_cleanup_queue(block->request_queue);
    return rc;
    }
    return 0;
    }


    -thanks-

    --
    «Allá muevan feroz guerra, ciegos reyes por un palmo más de tierra;
    que yo aquí tengo por mío cuanto abarca el mar bravío, a quien nadie
    impuso leyes. Y no hay playa, sea cualquiera, ni bandera de esplendor,
    que no sienta mi derecho y dé pecho a mi valor.»
    --
    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: 2010-04-26 14:37    [W:0.031 / U:61.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site