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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -