Re: [RFC 0/6] Backing Store for sysfs

From: Kevin P. Fleming
Date: Mon Oct 06 2003 - 13:26:39 EST


Greg KH wrote:

The hotplug event points to the sysfs location of the kobject, that's
all. libsysfs then takes that kobject location and sucks up all of the
attribute information for that kobject, which udev then uses to
determine what it should do.

This sounds like a very different issue than what I thought you said originally. Your other message said a "find over the sysfs tree", implying some sort of tree-wide search for relevant information. In fact, the "find" is only for attributes in the directory owned by the kobject, right? Once they have been "found", they will age out of the dentry/inode cache just like any other search results.


Unless we want to pass all attribute information through hotplug, which
we do not.


I agree, that would be difficult and hard to manage.

-
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/