diff options
author | Pavan Vilas Sondur <pavan@dev.gluster.com> | 2009-09-23 06:02:55 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-23 06:27:30 -0700 |
commit | 231196910d9d36af9546ddc511b26da5628b3ab8 (patch) | |
tree | e12dd77d1739f4eb7777d27b0d66c1683966d409 /xlators/features/locks/src/common.h | |
parent | 435b28132b8f276681d19ae14fa988d26a16f659 (diff) |
Implemented entry locks and support for domains.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 222 (Enhance Internal locks to support multilple domains and rewrite inodelks)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=222
Diffstat (limited to 'xlators/features/locks/src/common.h')
-rw-r--r-- | xlators/features/locks/src/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xlators/features/locks/src/common.h b/xlators/features/locks/src/common.h index ee17b008737..93da622ca5e 100644 --- a/xlators/features/locks/src/common.h +++ b/xlators/features/locks/src/common.h @@ -49,4 +49,11 @@ void __delete_lock (pl_inode_t *, posix_lock_t *); void __destroy_lock (posix_lock_t *); +void +grant_blocked_entry_locks (xlator_t *this, pl_inode_t *pl_inode, + pl_entry_lock_t *unlocked, pl_dom_list_t *dom); + +pl_dom_list_t * +get_domain (pl_inode_t *pl_inode, const char *volume); + #endif /* __COMMON_H__ */ |