Re: [RFC] Passing stream to userspace

2011-08-15 Thread Anand Jain
Jan, I personally like the way we interact with the kernel using the /sys or /proc that's a cool way, mainly because no C code is required. A generic interface like that (or btrfs-control with more commands supported) will enhance troubleshooting and debugging, application interface. or di

[RFC] Passing stream to userspace

2011-08-12 Thread Jan Schmidt
Hi there, I was promised you (viro, hch) have a decided opinion on this topic. The original mail ("Getting a lot of fs-generated information to user space") contains a lot of background and is way too long. Point is: I want to get a bunch of data generated by the kernel (btrfs) to userland (really