c - Request queues in I/O scheduling Linux Kernel -


i searching way find out length of request_queue (that defined structure in linux/include/linux/blkdev.h). new kernel development , can't figure out actual list of requests processed elevator. there way iterate requests in queue or @ least find number of them?

the requests of queue linked struct list_head queue_head. can iterating request using linked list functions, can see examples here:

http://lxr.free-electrons.com/source/include/linux/blkdev.h?v=2.4.37#l271


Comments

Popular posts from this blog

javascript - Feed FileReader from server side files -

How to Change swipe Tab Title color in java Android -

Using globs in Perl replace one liner in TCL script -