#include <Dm.h>
Inheritance diagram for storage::Dm:
Public Member Functions | |
Dm (const PeContainer &d, const string &tn) | |
Dm (const PeContainer &d, const string &tn, unsigned mnum) | |
Dm (const PeContainer &d, const Dm &d) | |
Dm & | operator= (const Dm &) |
virtual | ~Dm () |
const string & | getTableName () const |
const string & | getTargetName () const |
void | setTableName (const string &name) |
bool | inactive () const |
unsigned long long | getLe () const |
void | setLe (unsigned long long le) |
void | modifyPeSize (unsigned long long old, unsigned long long neww) |
bool | removeTable () |
void | calcSize () |
const std::map< string, unsigned long > & | getPeMap () const |
void | setPeMap (const std::map< string, unsigned long > &m) |
unsigned long long | usingPe (const string &dev) const |
bool | mapsTo (const string &dev) const |
void | getTableInfo () |
virtual bool | checkConsistency () const |
unsigned | stripes () const |
unsigned long long | stripeSize () const |
void | setStripeSize (unsigned long long val) |
string | sysfsPath () const |
void | updateMajorMinor () |
virtual void | print (std::ostream &s) const |
virtual string | removeText (bool doing) const |
virtual string | formatText (bool doing) const |
void | getInfo (storage::DmInfo &info) const |
bool | equalContent (const Dm &rhs) const |
void | logDifference (const Dm &d) const |
string | stringDifference (const Dm &d) const |
Static Public Member Functions | |
static bool | notDeleted (const Dm &l) |
static void | activate (bool val=true) |
static string | devToTable (const string &dev) |
static unsigned | dmMajor () |
Protected Member Functions | |
void | init () |
const PeContainer *const | pec () const |
virtual const string | shortPrintedName () const |
string | getDevice (const string &majmin) |
Static Protected Member Functions | |
static void | getDmMajor () |
Protected Attributes | |
string | tname |
string | target |
unsigned long long | num_le |
unsigned | stripe |
unsigned long long | stripe_size |
bool | inactiv |
std::map< string, unsigned long > | pe_map |
storage::DmInfo | info |
Static Protected Attributes | |
static bool | active = false |
static unsigned | dm_major = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &s, const Dm &p) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from storage::Volume. Reimplemented in storage::Evms, and storage::LvmLv. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from storage::Volume. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from storage::Volume. Reimplemented in storage::Evms, and storage::LvmLv. |
|
|
|
Reimplemented from storage::Volume. Reimplemented in storage::Evms, and storage::LvmLv. |
|
|
|
|
|
|
|
|
|
Reimplemented in storage::Evms, and storage::LvmLv. |
|
|
|
|
|
|
|
Reimplemented from storage::Volume. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from storage::Volume. Reimplemented in storage::Evms, and storage::LvmLv. |
|
|
|
|
|
|
|
|
|
|
|
|