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

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

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -