nfs-ganesha 1.4
Public Attributes

_9p_qid Struct Reference

#include <9p.h>

List of all members.

Public Attributes

u8 type
u32 version
u64 path

Detailed Description

struct _9p_qid - file system entity information : 8-bit type &_9p_qid_t

Version:
: 16-bit monotonically incrementing version number : 64-bit per-server-unique ID for a file system element

qids are identifiers used by 9P servers to track file system entities. The type is used to differentiate semantics for operations on the entity (ie. read means something different on a directory than on a file). The path provides a server unique index for an entity (roughly analogous to an inode number), while the version is updated every time a file is modified and can be used to maintain cache coherency between clients and serves. Servers will often differentiate purely synthetic entities by setting their version to 0, signaling that they should never be cached and should be accessed synchronously.

See Also://plan9.bell-labs.com/magic/man2html/2/stat

Definition at line 265 of file 9p.h.


Member Data Documentation

Definition at line 268 of file 9p.h.

Definition at line 266 of file 9p.h.

Definition at line 267 of file 9p.h.


The documentation for this struct was generated from the following file: