lkml.org 
[lkml]   [2008]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2/3] POHMELFS: Documentation.
Hi!

> + * Completely async processing of all events (hard, symlinks and rename are the
> + only exceptions) including object creation and data reading and writing.

Hmm... this is little funny.

Async processing of most events (only exceptions are ...) ?


> +POHMELFS network protocol.
> +
> +Basic structure used in network communication is following command:
> +
> +struct netfs_cmd
> +{
> + __u16 cmd; /* Command number */
> + __u16 csize; /* Attached crypto information size */
> + __u16 cpad; /* Attached padding size */
> + __u16 ext; /* External flags */
> + __u32 size; /* Size of the attached data */
> + __u32 trans; /* Transaction id */
> + __u64 id; /* Object ID to operate on. Used for feedback.*/
> + __u64 start; /* Start of the object. */
> + __u64 iv; /* IV sequence */
> + __u8 data[0];
> +};

Which endianity?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-07-12 09:11    [from the cache]
©2003-2011 Jasper Spaans