[RFC PATCH 0/3] Moving lustre procfs stuff to sysfs & questions.

Oleg Drokin green at linuxhacker.ru
Sun May 3 19:43:41 UTC 2015


On May 3, 2015, at 2:15 PM, Greg Kroah-Hartman wrote:

>> Also I found that cgroup does calls into kernfs directly, gaining
>> ability to register seq_file files and otherwise do all sorts of
>> stuff that would be cool to do from lustre too ;)
> If you want to make lustrefs, be my guest, you can do whatever you want
> in that, using kernfs, but that's not ok for sysfs, sorry.

If only __kernfs_create_file was exported… ;)

Otherwise you cannot really do that from modules.

Bye,
    Oleg


More information about the devel mailing list