70 likes | 207 Vues
Mid-presentation. Shuanglong Zhang. Two ways. Modify the original dm-linear.c Copy it and make it a independent module. original. No need to change anything in makefile or somewhere else. Not flexible enough. new module. Need to change a little Link dmsetup and new module. Why linear.
E N D
Mid-presentation Shuanglong Zhang
Two ways • Modify the original dm-linear.c • Copy it and make it a independent module
original • No need to change anything in makefile or somewhere else. • Not flexible enough
new module • Need to change a little • Link dmsetup and new module
Why linear • It's simple • Use it as a tool to "see" bio structures • Do a '0' to '0' map
/proc • Create a /proc interface to see all the bio info in a sliding window.
Next • /proc need to improve • controls on bio request based on kernel timer and request queue size