Thread (1 message) 1 message, 1 author, 2012-09-12

Re: [RFC PATCH 0/5] Reorganize libfcoe control interfaces

From: Love, Robert W <hidden>
Date: 2012-09-12 19:35:18
Also in: linux-scsi

On 12-09-11 10:36 AM, Love, Robert W wrote:
On Tue 11 Sep 2012 10:06:29 AM PDT, Chris Leech wrote:
quoted
On Mon, Sep 10, 2012 at 3:59 PM, Robert Love [off-list ref] wrote:
<snip>
This feels a little awkward with all the special control files.  Have
you thought about something designed for creating kernel objects, like
configfs?  Similarly the separate start, enable, disable files vs.
Let me do some more reading about configfs. I may not have given it
enough thought.
I read though the configfs documentation and the fact that it's designed 
for user driven object creation does fit with what I'm trying to do. I 
have a couple concerns that I'm trying to sort through now-

1) This adds a new dependency for boot. I don't know if that is a 
problem or not. Are there any examples of configfs being mounted in an 
initrd?

2) Using configfs would likely mean that I'd be creating controller 
instances and possibly FCF instances in configfs, since they're already 
there in sysfs these objects would be duplicated. I'm not sure there's 
harm in that, but it certainly feels disjointed and messy. I suppose we 
could remove the /sys/bus/fcoe stuff in favor of configfs if it's the 
right thing to do.

Thanks, //Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help