Output Virtual Block Device requests information to /proc/xen/vbd
Thanks, Feir and Anthony.
Quoted 6 lines · Anthony Liguori
Quoted 5 lines
Quoted 4 lines
In my subjective, currently, procfs is used for representing dynamic information such as statistical data, and sysfs is used for representing statical information such as module parameters.
Quoted 6 lines
Quoted 2 lines
/proc is for process information. This stuff definitely belongs in sysfs. It's analogous to
/sys/class/net/eth0/statistics/.Yes. The patchset looks good and is obviously useful -- we'd like to apply it if this gets fixed.
-- Keir
It's OK.
I try to examine and develop transition to sysfs file system.
I may worry that where does information locate in sysfs. In it case, I confer with you, so please give me nice answer. Current, I think two pattern.
1. vbd class create /sysfs/class.
2. Use vbd-* directory under /sysfs/devices/xen-backend/.
May first idea be appropriate?
In addition,
The one of advantage for our method is to represent total information for domain. This mechanism is useful for analysis for each domain I/O or total environments. In sysfs, I see that Interface connect individual device/module information. Naturally, it is enough by using xentop, but xentop can not take log file. If xentop can be redirected to normal file, but it file insert binary code. Aren't there any good ideas?
Thanks,
Satoshi UCHIDA
Quoted 6 lines · Satoshi Uchida
I may worry that where does information locate in sysfs. In it case, I confer with you, so please give me nice answer. Current, I think two pattern.
1. vbd class create /sysfs/class.
2. Use vbd-* directory under /sysfs/devices/xen-backend/.
May first idea be appropriate?
I think the info should be placed in the directories you mention in (2). If there is a 'block class' later then the vbd directories will symlink to (1) anyway (just as happens for vifs), so you can't really go wrong.
-- Keir