diff --git a/source/dnode/vnode/impl/inc/vnodeDef.h b/source/dnode/vnode/impl/inc/vnodeDef.h index db6e742f44..12ac04ac8b 100644 --- a/source/dnode/vnode/impl/inc/vnodeDef.h +++ b/source/dnode/vnode/impl/inc/vnodeDef.h @@ -21,6 +21,7 @@ #include "vnode.h" #include "vnodeAllocatorPool.h" #include "vnodeCommit.h" +#include "vnodeFileSystem.h" #include "vnodeOptions.h" #include "vnodeStateMgr.h" #include "vnodeSync.h" @@ -38,6 +39,8 @@ struct SVnode { SMeta* pMeta; STsdb* pTsdb; STQ* pTq; + SVnodeSync* pSync; + SVnodeFS* pFs; }; #ifdef __cplusplus diff --git a/source/dnode/vnode/impl/inc/vnodeFileSystem.h b/source/dnode/vnode/impl/inc/vnodeFileSystem.h new file mode 100644 index 0000000000..2a885c9c34 --- /dev/null +++ b/source/dnode/vnode/impl/inc/vnodeFileSystem.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#ifndef _TD_VNODE_FILE_SYSTEM_H_ +#define _TD_VNODE_FILE_SYSTEM_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct { +} SVnodeFS; + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_VNODE_FILE_SYSTEM_H_*/ \ No newline at end of file diff --git a/source/dnode/vnode/impl/src/vnodeFileSystem.c b/source/dnode/vnode/impl/src/vnodeFileSystem.c new file mode 100644 index 0000000000..5e9f89ccd5 --- /dev/null +++ b/source/dnode/vnode/impl/src/vnodeFileSystem.c @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#include "vnodeDef.h" \ No newline at end of file