|
Public Member Functions |
| | MdCo (Storage *const s, bool detect) |
| | MdCo (const MdCo &rhs) |
| virtual | ~MdCo () |
| int | createMd (unsigned num, storage::MdType type, const std::list< string > &devs) |
| int | removeMd (unsigned num, bool destroySb=true) |
| int | extendMd (unsigned num, const string &dev) |
| int | shrinkMd (unsigned num, const string &dev) |
| int | changeMdType (unsigned num, storage::MdType ptype) |
| int | changeMdChunk (unsigned num, unsigned long chunk) |
| int | changeMdParity (unsigned num, storage::MdParity ptype) |
| int | checkMd (unsigned num) |
| bool | equalContent (const Container &rhs) const |
| void | logDifference (const Container &d) const |
| unsigned | unusedNumber () |
| void | syncRaidtab () |
| void | changeDeviceName (const string &old, const string &nw) |
| int | removeVolume (Volume *v) |
Static Public Member Functions |
| static storage::CType | staticType () |
| static void | activate (bool val=true) |
Protected Types |
typedef CastIterator< VIter,
Md * > | MdInter |
typedef CastIterator< CVIter,
const Md * > | MdCInter |
| typedef CheckFnc< const Md > | CheckFncMd |
typedef CheckerIterator< CheckFncMd,
MdPI< CheckFncMd >::type,
MdInter, Md > | MdPIterator |
typedef CheckerIterator< CheckFncMd,
MdCPI< CheckFncMd >::type,
MdCInter, const Md > | MdCPIterator |
typedef DerefIterator< MdPIterator,
Md > | MdIter |
typedef DerefIterator< MdCPIterator,
const Md > | ConstMdIter |
| typedef IterPair< MdIter > | MdPair |
| typedef IterPair< ConstMdIter > | ConstMdPair |
Protected Member Functions |
| MdPair | mdPair (bool(*Check)(const Md &)=NULL) |
| MdIter | mdBegin (bool(*Check)(const Md &)=NULL) |
| MdIter | mdEnd (bool(*Check)(const Md &)=NULL) |
| ConstMdPair | mdPair (bool(*Check)(const Md &)=NULL) const |
| ConstMdIter | mdBegin (bool(*Check)(const Md &)=NULL) const |
| ConstMdIter | mdEnd (bool(*Check)(const Md &)=NULL) const |
| | MdCo (Storage *const s, const string &File) |
| void | getMdData () |
| void | getMdData (unsigned num) |
| bool | findMd (unsigned num, MdIter &i) |
| bool | findMd (unsigned num) |
| bool | findMd (const string &dev, MdIter &i) |
| bool | findMd (const string &dev) |
| int | checkUse (const string &dev) |
| void | addMd (Md *m) |
| void | checkMd (Md *m) |
| void | updateEntry (const Md *m) |
| void | initTab () |
| void | init () |
| virtual void | print (std::ostream &s) const |
| virtual Container * | getCopy () const |
| int | doCreate (Volume *v) |
| int | doRemove (Volume *v) |
| void | logData (const string &Dir) |
Protected Attributes |
| EtcRaidtab * | tab |
Static Protected Attributes |
| static bool | active = false |
Friends |
| class | Storage |
| std::ostream & | operator<< (std::ostream &, const MdCo &) |
Classes |
| struct | MdCPI |
| struct | MdPI |