summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2019-07-25 23:36:56 +0300
committerAtin Mukherjee <amukherj@redhat.com>2019-07-29 04:06:10 +0000
commit26b9c85861f058a4a8335b28f49410ba061e7c1a (patch)
treedb6e03bfda990057e6ce20e6f3d1c6d60ea21613 /README.md
parent11d52142f67638209be43007d993dc137412aa42 (diff)
glusterd: write voldir once in glusterd-store and don't attempt again.
glusterd_store_brickinfos() is calling per each brick the function glusterd_store_brickinfo(). In it, we call: ret = glusterd_store_create_brick_dir(volinfo); However, volinfo is the same for all those bricks - no need to again and again call it (which tries to mkdir that dir). We can do it once above the loops in glusterd_store_brickinfos() While at, combine two similar functions that write additional dirs. Change-Id: I5858cf7783f088ea13a8fa20115118efa816f4cb updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions