path: root/glusterfsd
diff options
authorshishir gowda <>2013-01-23 09:59:59 +0530
committerAnand Avati <>2013-01-23 23:43:39 -0800
commit6fd654dc94fae49fb84336bd2e92c7cc893280e3 (patch)
treef4924f097f79a2c846c230efcb731a7b20d91e5d /glusterfsd
parent8dc7707c1b32465551d5d5553057e04748945fda (diff)
cluster/distribute: get_layout should account only available subvols
The earlier logic used to check if (layout-spread-count <= subvol_cnt - decommissioned bricks). With this if a subvol was down, and layout-spread was > upsubvols, a mkdir ended up creating holes in the layout. The fix is to consider only the combination of subvols which are usable (not down or not decommissioned). Change-Id: I61ad3bcaf4589f5a75f7887cfa595c98311ae3bb BUG: 902610 Signed-off-by: shishir gowda <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions