From 9f570a3967c0a4ebbe35a04284181406faf8fe36 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Wed, 8 Feb 2017 21:18:20 +0530 Subject: gluster-block: create block files in '/block-store' dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- rpc/glfs-operations.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpc/glfs-operations.h') 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 @@ -52,6 +52,9 @@ glusterBlockDeleteEntry(struct glfs *glfs, char *volume, char *gbid); 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); -- cgit