path: root/xlators/cluster/dht/src/dht-common.c
diff options
authorMohit Agrawal <>2020-09-23 09:26:03 +0530
committerMOHIT AGRAWAL <>2020-09-28 03:55:41 +0000
commitd34daa73fe6eacaca3b4b3ed666ed44ef5d727b4 (patch)
treefacd461299d43459a66f26a0f2b6dda823504054 /xlators/cluster/dht/src/dht-common.c
parent99df784c1c6a086904cf3b77585a1797b1cc7b8e (diff)
dht: Ongoing IO is failing on non-distribute volumes after just add-brick
Problem: On a non-distributed volumes linux kernel untar is failed after running add-brick operation Solution: 1) Save hashed subvol as a MDS in case while MDS has not been populated Fixes: #1328 Change-Id: I9967e136da008c6367973a7346637617dfa8f934 Signed-off-by: Mohit Agrawal <>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index d874415699c..42e143e3a5a 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -382,7 +382,7 @@ out:
/* Code to save hashed subvol on inode ctx as a mds subvol
-static int
dht_inode_ctx_mdsvol_set(inode_t *inode, xlator_t *this, xlator_t *mds_subvol)
dht_inode_ctx_t *ctx = NULL;