On Dec 7, 2007 1:12 PM, Joel Becker <[EMAIL PROTECTED]> wrote:
> On Fri, Dec 07, 2007 at 12:22:17PM +0800, Denis Cheng wrote:
> > ocfs2 uses a subsystem under sysfs: /sys/o2cb, which is not good,
> >
> > the canonical use of sysfs is one kset under /sys/fs, like the approach
> > gfs2 does.
> >
> o2cb is, in theory, independent of the filesystem.  Thus, it doesn't
> necessarily belong under /sys/fs.
I agree it's independent, but /sys/oc2b just don't conform the uniform
of the linux kernel sysfs usage.

> The bigger problem is that there are tools expecting /sys/o2cb to be
> there.  We can't just drop it.
Do you mean the ocfs2-tools? We could also change it. Or any other tools?

The kernel community doesn't promise a stable kernel API, so does the sysfs,
Except If it would break many userspace tools, we should consider with
caution or keep the binary compatibility,

As time goes by, the wrong way shouldn't be continued, we are to make
changes sooner or later.

-- 
Denis Cheng

_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel

Reply via email to