The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* query, which io scheduler is active?
@ 2005-05-26  1:38 roland
  2005-05-26  1:42 ` Jan Spitalnik
  0 siblings, 1 reply; 2+ messages in thread
From: roland @ 2005-05-26  1:38 UTC (permalink / raw)
  To: linux-kernel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-26  1:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26  1:38 query, which io scheduler is active? roland
2005-05-26  1:42 ` Jan Spitalnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox