9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] file servers lib9p -v- kernel
@ 2010-10-27 18:53 Steve Simon
  2010-10-27 19:16 ` erik quanstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Simon @ 2010-10-27 18:53 UTC (permalink / raw)
  To: 9fans

I have written a few file servers under lib9p and lib9pfile,
I am now trying to write a kernel file server and just a little
unsure about the differences.

I think the major change writing for the kernel is I am responsible for
keeping the Path in the Chan up to date as the I get service
fscreate, fsclone (just bump refernce count), and fswalk.

I'am not sure how I should leave the Path of walk if the walk fails?

Anything else I need to do/provide?

-Steve



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] file servers lib9p -v- kernel
  2010-10-27 18:53 [9fans] file servers lib9p -v- kernel Steve Simon
@ 2010-10-27 19:16 ` erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2010-10-27 19:16 UTC (permalink / raw)
  To: 9fans

> I think the major change writing for the kernel is I am responsible for
> keeping the Path in the Chan up to date as the I get service
> fscreate, fsclone (just bump refernce count), and fswalk.
>
> I'am not sure how I should leave the Path of walk if the walk fails?

the best way to approach this is to look
at a couple kernel file servers.  #e is a
good example of a dynamic 1-level fs.
#r is a good example of a table-driven one.

- erik



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-27 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-27 18:53 [9fans] file servers lib9p -v- kernel Steve Simon
2010-10-27 19:16 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).