lu_device Struct Reference
[lu]

Device: a layer in the server side abstraction stacking. More...

#include <lu_object.h>


Data Fields

cfs_atomic_t ld_ref
 reference count.
lu_device_typeld_type
 Pointer to device type.
lu_device_operationsld_ops
 Operation vector for this device.
lu_siteld_site
 Stack this device belongs to.
proc_dir_entry * ld_proc_entry
obd_device * ld_obd
lu_ref ld_reference
 A list of references to this object, for debugging.


Detailed Description

Device: a layer in the server side abstraction stacking.


Field Documentation

struct obd_device* lu_device::ld_obd

Todo:
XXX: temporary back pointer into obd.

cfs_atomic_t lu_device::ld_ref

reference count.

This is incremented, in particular, on each object created at this layer.

Todo:
XXX which means that atomic_t is probably too small.

struct lu_device_type* lu_device::ld_type

Pointer to device type.

Never modified once set.


The documentation for this struct was generated from the following file:
Generated on Mon Apr 12 04:18:22 2010 for Lustre 1.10.0.40-0-g9a80ff7 by doxygen 1.4.7

Contact | About Sun | News | Employment | Privacy | Terms of Use | Trademarks | (C) 2008 Sun Microsystems, Inc.