refactor
This commit is contained in:
parent
3d663ad8cc
commit
69796f70c9
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
#include "taosdef.h"
|
#include "taosdef.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
#include "hash.h"
|
|
||||||
#include "taoserror.h"
|
#include "taoserror.h"
|
||||||
#include "tglobal.h"
|
#include "tglobal.h"
|
||||||
|
|
||||||
|
@ -26,6 +25,11 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
int level;
|
||||||
|
int id;
|
||||||
|
} SDiskID;
|
||||||
|
|
||||||
int tdInitMount(SDiskCfg *pDiskCfg, int ndisk);
|
int tdInitMount(SDiskCfg *pDiskCfg, int ndisk);
|
||||||
void tdDestroyMount();
|
void tdDestroyMount();
|
||||||
int tdUpdateDiskInfos();
|
int tdUpdateDiskInfos();
|
||||||
|
|
|
@ -17,10 +17,6 @@
|
||||||
#include "tdisk.h"
|
#include "tdisk.h"
|
||||||
#include "tulog.h"
|
#include "tulog.h"
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int level;
|
|
||||||
int did;
|
|
||||||
} SDiskID;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint64_t size;
|
uint64_t size;
|
||||||
|
|
Loading…
Reference in New Issue