diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-08 21:18:20 +0530 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-02-08 21:31:43 +0530 |
commit | 9f570a3967c0a4ebbe35a04284181406faf8fe36 (patch) | |
tree | 1bc34cd56731fe639112a1c42d7075a27104ff8d /rpc/glfs-operations.h | |
parent | 4d72dbc37c5f10dc33de0ac22d90bf1563fc5f0d (diff) |
gluster-block: create block files in '/block-store' dir
till now we have '/block-meta' dir for meta files and actual block files
used to reside in '/' dir. From now, lets place block files in '/block-store'
So, this is how it looks like:
$ tree /mnt/
/mnt/
├── block-meta
│ ├── meta.lock
│ └── TARGET
└── block-store
└── 103e4cf1-bf41-404a-9fe1-b7c70fc33b3e
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'rpc/glfs-operations.h')
-rw-r--r-- | rpc/glfs-operations.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/glfs-operations.h b/rpc/glfs-operations.h index a03741e..5d617e6 100644 --- a/rpc/glfs-operations.h +++ b/rpc/glfs-operations.h @@ -53,6 +53,9 @@ struct glfs_fd * glusterBlockCreateMetaLockFile(struct glfs *glfs, char *volume); int +glusterBlockDeleteMetaLockFile(struct glfs *glfs, char *volume, char *blockname); + +int blockGetMetaInfo(struct glfs *glfs, char *metafile, MetaInfo *info); void |