diff options
author | Krishna Srinivas <krishna@zresearch.com> | 2009-02-19 12:39:04 -0800 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-02-25 17:47:12 +0530 |
commit | 417dfa48df166bfcd3f8a6da56c189de6e7a6aff (patch) | |
tree | 08a6b93b3b6d77cc5fbc519c0f39419416aab884 /xlators/cluster/dht/src/dht-common.h | |
parent | 029913bbd62ed7e3c3f436afe92ad6bca9dc642c (diff) |
DHT clean up. Lot of selfheal code is not applicable to newly created directory. Newly created directory will use only relavant part of DHT selfheal code - only for xattr application.
DHT clean up. Lot of selfheal code is not applicable to newly created directory. Newly created directory will use only relavant part of DHT selfheal
code - only for xattr application.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 17017381b08..3b05540e290 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -204,6 +204,9 @@ int dht_selfheal_directory (call_frame_t *frame, dht_selfheal_dir_cbk_t cbk, loc_t *loc, dht_layout_t *layout); int +dht_selfheal_new_directory (call_frame_t *frame, dht_selfheal_dir_cbk_t cbk, + dht_layout_t *layout); +int dht_selfheal_restore (call_frame_t *frame, dht_selfheal_dir_cbk_t cbk, loc_t *loc, dht_layout_t *layout); |