query, which io scheduler is active?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

dmesg tells:

---snip---
Kernel command line: root=/dev/sda2 
---snip---
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
---snip---

ok - there are 4 types of io schedulers - but - how can one see/query, which i/o scheduler is the currently "active" one?

It seems that SuSE Kernel shows this via

if (!printed) {
                printed = 1;
                printk("Using %s io scheduler\n", chosen_elevator->elevator_name);
        }

in drivers/block/ll_rw_blk.c

I can supply a patch if you like.

regards
roland



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux