query, which io scheduler is active?

From: roland
Date: Wed May 25 2005 - 20:33:52 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/