* Technical plugin details
@ 2005-11-12 2:30 Peter van Hardenberg
2005-11-12 3:01 ` Hans Reiser
2005-11-12 20:32 ` Edward Shishkin
0 siblings, 2 replies; 6+ messages in thread
From: Peter van Hardenberg @ 2005-11-12 2:30 UTC (permalink / raw)
To: Hans Reiser; +Cc: reiserfs-list
Hans,
I am having trouble modifying a file to use our new plugin. I've tried writing
various values into "foo/.^4/plugin/file" but it won't stick. The code is
rather sparse on comments in this part of the tree, and this is really
something I would hope is documented somewhere.
Can you point me in the right direction?
-pvh
--
Peter van Hardenberg (pvh@pvh.ca)
Victoria, BC, Canada
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Technical plugin details
2005-11-12 2:30 Technical plugin details Peter van Hardenberg
@ 2005-11-12 3:01 ` Hans Reiser
2005-11-12 20:32 ` Edward Shishkin
1 sibling, 0 replies; 6+ messages in thread
From: Hans Reiser @ 2005-11-12 3:01 UTC (permalink / raw)
To: Peter van Hardenberg; +Cc: reiserfs-list, vs
Peter van Hardenberg wrote:
>Hans,
>
>I am having trouble modifying a file to use our new plugin. I've tried writing
>various values into "foo/.^4/plugin/file" but it won't stick. The code is
>rather sparse on comments in this part of the tree, and this is really
>something I would hope is documented somewhere.
>
>Can you point me in the right direction?
>
>-pvh
>
>
>
share your plugin code with vs, and he will comment on monday Russian time.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Technical plugin details
2005-11-12 2:30 Technical plugin details Peter van Hardenberg
2005-11-12 3:01 ` Hans Reiser
@ 2005-11-12 20:32 ` Edward Shishkin
2005-11-13 2:34 ` Peter van Hardenberg
1 sibling, 1 reply; 6+ messages in thread
From: Edward Shishkin @ 2005-11-12 20:32 UTC (permalink / raw)
To: Peter van Hardenberg; +Cc: Hans Reiser, reiserfs-list
Peter van Hardenberg wrote:
>Hans,
>
>I am having trouble modifying a file to use our new plugin. I've tried writing
>various values into "foo/.^4/plugin/file" but it won't stick.
>
This is a business of plugin->h.pops->change() method.
And for regular file plugin this method (change_file) does nothing.
> The code is
>rather sparse on comments in this part of the tree, and this is really
>something I would hope is documented somewhere.
>
>Can you point me in the right direction?
>
>-pvh
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Technical plugin details
2005-11-12 20:32 ` Edward Shishkin
@ 2005-11-13 2:34 ` Peter van Hardenberg
2005-11-13 3:04 ` Hans Reiser
2005-11-13 16:42 ` Edward Shishkin
0 siblings, 2 replies; 6+ messages in thread
From: Peter van Hardenberg @ 2005-11-13 2:34 UTC (permalink / raw)
To: Edward Shishkin; +Cc: reiserfs-list
On November 12, 2005 12:32 pm, you wrote:
> Peter van Hardenberg wrote:
> >Hans,
> >
> >I am having trouble modifying a file to use our new plugin. I've tried
> > writing various values into "foo/.^4/plugin/file" but it won't stick.
>
> This is a business of plugin->h.pops->change() method.
> And for regular file plugin this method (change_file) does nothing.
>
Thanks. That was exactly what we were trying to find. We did find it
eventually, after experimenting with some other plugin types to determine
what the problem was.
Of course, we are still trying to figure out how to actually create a file
with a different file plugin. I guess I will have to read the reiser4("...")
function as I can see no way to specify these things from a standard bash
shell.
-pvh
--
Peter van Hardenberg (pvh@pvh.ca)
Victoria, BC, Canada
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Technical plugin details
2005-11-13 2:34 ` Peter van Hardenberg
@ 2005-11-13 3:04 ` Hans Reiser
2005-11-13 16:42 ` Edward Shishkin
1 sibling, 0 replies; 6+ messages in thread
From: Hans Reiser @ 2005-11-13 3:04 UTC (permalink / raw)
To: Peter van Hardenberg; +Cc: Edward Shishkin, reiserfs-list
Peter van Hardenberg wrote:
>On November 12, 2005 12:32 pm, you wrote:
>
>
>>Peter van Hardenberg wrote:
>>
>>
>>>Hans,
>>>
>>>I am having trouble modifying a file to use our new plugin. I've tried
>>>writing various values into "foo/.^4/plugin/file" but it won't stick.
>>>
>>>
>>This is a business of plugin->h.pops->change() method.
>>And for regular file plugin this method (change_file) does nothing.
>>
>>
>>
>
>Thanks. That was exactly what we were trying to find. We did find it
>eventually, after experimenting with some other plugin types to determine
>what the problem was.
>
>Of course, we are still trying to figure out how to actually create a file
>with a different file plugin. I guess I will have to read the reiser4("...")
>function as I can see no way to specify these things from a standard bash
>shell.
>
>-pvh
>
>
>
If you want to document the learning process for plugins, we will be
happy to put it on the website.....
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Technical plugin details
2005-11-13 2:34 ` Peter van Hardenberg
2005-11-13 3:04 ` Hans Reiser
@ 2005-11-13 16:42 ` Edward Shishkin
1 sibling, 0 replies; 6+ messages in thread
From: Edward Shishkin @ 2005-11-13 16:42 UTC (permalink / raw)
To: Peter van Hardenberg, Hans Reiser; +Cc: reiserfs-list
Peter van Hardenberg wrote:
>On November 12, 2005 12:32 pm, you wrote:
>
>
>>Peter van Hardenberg wrote:
>>
>>
>>>Hans,
>>>
>>>I am having trouble modifying a file to use our new plugin. I've tried
>>>writing various values into "foo/.^4/plugin/file" but it won't stick.
>>>
>>>
>>This is a business of plugin->h.pops->change() method.
>>And for regular file plugin this method (change_file) does nothing.
>>
>>
>>
>
>Thanks. That was exactly what we were trying to find. We did find it
>eventually, after experimenting with some other plugin types to determine
>what the problem was.
>
>Of course, we are still trying to figure out how to actually create a file
>with a different file plugin.
>
You can write to "..../plugin/regular" of parent directory: this is a
place where reiser4_create (*) looks for a file plugin of target child,
just add a new plugin id of REISER4_REGULAR_PLUGIN_TYPE for your files.
However, this interface is not finally approved and can be changed.
Hans, is it okay, or..?
(*) in the latest versions of reiser4 this is a plugin->inode_ops->create()
(create_common)
Edward.
> I guess I will have to read the reiser4("...")
>function as I can see no way to specify these things from a standard bash
>shell.
>
>-pvh
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-11-13 16:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-12 2:30 Technical plugin details Peter van Hardenberg
2005-11-12 3:01 ` Hans Reiser
2005-11-12 20:32 ` Edward Shishkin
2005-11-13 2:34 ` Peter van Hardenberg
2005-11-13 3:04 ` Hans Reiser
2005-11-13 16:42 ` Edward Shishkin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.