lvid_t Struct Reference
[Identifiers]

Collaboration diagram for lvid_t:

Collaboration graph
[legend]
List of all members.

Detailed Description

long volume ID. See Identifiers.

A long, almost-unique identifier for a volume, generated from a clock and a network address. Written to a volume's header. This is the only persistent identifier for a volume, and it is used to be sure that one doesn't doubly-mount a volume via different paths. Thus, in certain sm methods, the long volume ID is used to identify a volume, e.g., in destroy_vol, get_volume_quota.

Examples:

create_rec.cpp, log_exceed.cpp, sort_stream.cpp, and vtable_example.cpp.

Definition at line 80 of file lid_t.h.

Public Member Functions

 lvid_t ()
 lvid_t (uint4_t hi, uint4_t lo)
bool operator== (const lvid_t &s) const
bool operator!= (const lvid_t &s) const

Public Attributes

uint4_t high
uint4_t low

Static Public Attributes

static const lvid_t null

Friends

ostream & operator<< (ostream &, const lvid_t &)
istream & operator>> (istream &, lvid_t &)


The documentation for this struct was generated from the following files:
Generated on Wed Jul 7 17:22:43 2010 for Shore Storage Manager by  doxygen 1.4.7