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 /utils/common.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 'utils/common.h')
-rw-r--r-- | utils/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/common.h b/utils/common.h index 6b0983d..90372ed 100644 --- a/utils/common.h +++ b/utils/common.h @@ -20,6 +20,10 @@ # define GFAPI_LOG_FILE "/var/log/gluster-block/gluster-block-gfapi.log" # define GFAPI_LOG_LEVEL 7 +# define GB_METADIR "/block-meta" +# define GB_STOREDIR "/block-store" +# define GB_TXLOCKFILE "meta.lock" + ssize_t glusterBlockCreateParseSize(char *value); |