path: root/
diff options
authorHarshavardhana <>2013-09-16 22:36:10 -0700
committerAnand Avati <>2013-09-17 16:37:24 -0700
commit215fea41a96479312a5ab8783c13b30ab9fe00fa (patch)
tree31306e0b54815964ea194a05e27609744d211edb /
parent0402c691a9d245e00bd2e4bd100a6d5e591d3433 (diff)
cluster/distribute: Rebalance should also verify free inodes
Currently during `MIGRATE_DATA` we never verified about the total inode usage among new and old bricks. Such checks are available for disk space usage but it is also needed for inodes during data migration. Such a check leads to uniform outcome of file distribution upon rebalance. Patch provides: - Check dst_inodes < src_inodes, a friendly `warning` message to indicate we have to ignore such an attempt - Rename __dht_check_free_space() --> __dht_check_free_space_and_inodes() Change-Id: I7bc4dd8b507883f0fb836300e99f0bb083493f5f BUG: 982919 Signed-off-by: Harshavardhana <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Anand Avati <>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions