diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-05-19 20:53:30 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-05-28 04:12:28 -0700 |
commit | 6483ac9b7eea567c8d0d48aa2c1139eedc7a9cd9 (patch) | |
tree | 0b0f45cec0e09363cfce0e674a7c224bef28d314 /xlators/features/locks/src/locks.h | |
parent | 3a57ca8ee29ea8e3d3c5bbf28a56a821bfa99d99 (diff) |
features/locks: Handle virtual getxattrs in more fops
Backport of http://review.gluster.com/10880
With this patch getxattr of inodelk/entrylk counts can be requested in
readv/writev/create/unlink/opendir.
BUG: 1225279
Change-Id: Ifb9378ce650377e67a8601147eac95cfbdf0abf0
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/10925
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Tested-by: NetBSD Build System
Diffstat (limited to 'xlators/features/locks/src/locks.h')
-rw-r--r-- | xlators/features/locks/src/locks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/locks/src/locks.h b/xlators/features/locks/src/locks.h index f761b3d4a00..b72cbe0a67b 100644 --- a/xlators/features/locks/src/locks.h +++ b/xlators/features/locks/src/locks.h @@ -164,15 +164,15 @@ typedef struct { typedef struct { gf_boolean_t entrylk_count_req; gf_boolean_t inodelk_count_req; - gf_boolean_t inodelk_dom_count_req; gf_boolean_t posixlk_count_req; gf_boolean_t parent_entrylk_req; + data_t *inodelk_dom_count_req; + dict_t *xdata; /* used by {f,}truncate */ loc_t loc; fd_t *fd; off_t offset; - dict_t *xdata; enum {TRUNCATE, FTRUNCATE} op; } pl_local_t; |