Re: [PATCH] s390: Hypervisor File System

From: Greg KH
Date: Tue May 02 2006 - 00:12:59 EST


On Mon, May 01, 2006 at 07:29:23PM -0400, Kyle Moffett wrote:
> On May 1, 2006, at 16:38:15, Greg KH wrote:
> >On Sun, Apr 30, 2006 at 01:18:46AM -0400, Kyle Moffett wrote:
> >>On Apr 29, 2006, at 17:55:01, Greg KH wrote:
> >>>relayfs is for that. You can now put relayfs files in any ram
> >>>based file system (procfs, ramfs, sysfs, debugfs, etc.)
> >>
> >>But you can't twiddle relayfs with echo and cat; it's more suited
> >>to high-bandwidth transfers than anything else, no?
> >
> >Yes.
>
> So my question stands: What is the _recommended_ way to handle
> simple data types in low-bandwidth/frequency multiple-valued
> transactions to hardware? Examples include reading/modifying
> framebuffer settings (currently done through IOCTLS), s390 current
> state (up for discussion), etc. In these cases there needs to be an
> atomic snapshot or write of multiple values at the same time. Given
> the situation it would be _nice_ to use sysfs so the admin can do it
> by hand; makes things shell scriptable and reduces the number of
> binary compatibility issues.

I really don't know of a way to use sysfs for this currently, and hence,
am not complaining too much about the different /proc files that have
this kind of information in it at the moment.

If you or someone else wants to come up with some kind of solution for
it, I'm sure that many people would be very happy to see it.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/