summaryrefslogtreecommitdiffstats
path: root/xlators/storage/bd_map/src/bd_map.h
diff options
context:
space:
mode:
authorM. Mohan Kumar <mohan@in.ibm.com>2012-11-29 21:46:06 +0530
committerVijay Bellur <vbellur@redhat.com>2012-11-29 09:36:56 -0800
commitb1d35091afdc0192ece2a9a079f12be1f8486767 (patch)
tree363696ee17ff9ba3047f666bb41dfbe2262f2f60 /xlators/storage/bd_map/src/bd_map.h
parent61d196aa9cd049dfb9209db820bfe9a5e0b36399 (diff)
BD Backend: Create a new file (LV)
Add support to create a new file (LV) under a directory (VG). By default created LV is of one logical extent size. Also setattr/fsetattr interfaces added as part of this patch. BUG: 805138 Change-Id: I51752b707b3766ab277d623ce574537346f376c9 Signed-off-by: M. Mohan Kumar <mohan@in.ibm.com> Reviewed-on: http://review.gluster.org/3554 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/storage/bd_map/src/bd_map.h')
-rw-r--r--xlators/storage/bd_map/src/bd_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/bd_map/src/bd_map.h b/xlators/storage/bd_map/src/bd_map.h
index 936defbbb3a..1a0f4248ed4 100644
--- a/xlators/storage/bd_map/src/bd_map.h
+++ b/xlators/storage/bd_map/src/bd_map.h
@@ -57,7 +57,6 @@ typedef struct bd_entry {
pthread_rwlock_t lock;
} bd_entry_t;
-
/**
* bd_fd - internal structure common to file and directory fd's
*/
@@ -65,6 +64,7 @@ typedef struct bd_fd {
bd_entry_t *entry;
bd_entry_t *p_entry; /* Parent entry */
int fd;
+ int32_t flag;
} bd_fd_t;
typedef struct bd_priv {