This commit is contained in:
Hongze Cheng 2020-11-19 05:28:57 +00:00
parent 9355c82c15
commit adc8e4e815
7 changed files with 13 additions and 13 deletions

View File

@ -13,7 +13,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "os.h"
#include "tdisk.h"
#include "tmount.h"
#include "hash.h"
#include "taosdef.h"
#include "taoserror.h"
@ -26,18 +26,18 @@ typedef struct {
uint64_t nfiles;
} SDiskMeta;
typedef struct {
uint64_t tsize;
uint64_t avail; // bytes
} STiersMeta;
typedef struct {
int level;
int did;
int id;
char dir[TSDB_FILENAME_LEN];
SDiskMeta dmeta;
} SDisk;
typedef struct {
uint64_t tsize;
uint64_t avail; // bytes
} STiersMeta;
typedef struct {
int level;
int nDisks;

View File

@ -38,7 +38,7 @@
#include "dnodeShell.h"
#include "dnodeTelemetry.h"
#include "tpath.h"
#include "tdisk.h"
#include "tmount.h"
static SRunStatus tsRunStatus = TSDB_RUN_STATUS_STOPPED;

View File

@ -16,7 +16,7 @@
#define _DEFAULT_SOURCE
#include "os.h"
#include "tconfig.h"
#include "tdisk.h"
#include "tmount.h"
#include "tglobal.h"
#include "tulog.h"

View File

@ -20,7 +20,7 @@
#include "tlog.h"
#include "ttimer.h"
#include "tutil.h"
#include "tdisk.h"
#include "tmount.h"
#include "tscUtil.h"
#include "tsclient.h"
#include "dnode.h"

View File

@ -26,7 +26,7 @@
#include "tsdb.h"
#include "tskiplist.h"
#include "tutil.h"
#include "tdisk.h"
#include "tmount.h"
#ifdef __cplusplus
extern "C" {

View File

@ -22,7 +22,7 @@
#include "tsdbMain.h"
#include "tutil.h"
#include "tpath.h"
#include "tdisk.h"
#include "tmount.h"
const char * tsdbFileSuffix[] = {".head", ".data", ".last", ".stat", ".h", ".d", ".l", ".s"};

View File

@ -30,7 +30,7 @@
#include "dnodeVRead.h"
#include "query.h"
#include "tpath.h"
#include "tdisk.h"
#include "tmount.h"
static SHashObj*tsVnodesHash;
static void vnodeCleanUp(SVnodeObj *pVnode);