path: root/xlators/nfs/server
diff options
authorXavier Hernandez <>2015-08-07 12:37:52 +0200
committerPranith Kumar Karampuri <>2015-08-14 02:11:13 -0700
commitfc3da7299dc2adaf66076bfbfebe4a87582f7008 (patch)
tree77aa815bca39a82182ec656fa7913d612584b7c1 /xlators/nfs/server
parentcfac0a9c78ead389ec261010a1c094bc60ca2810 (diff)
cluster/ec: Fix write size in self-heal
Self-heal was always using a fixed block size to heal a file. This was incorrect for dispersed volumes with a number of data bricks not being a power of 2. This patch adjusts the block size to a multiple of the stripe size of the volume. It also propagates errors detected during the data heal to stop healing the file and not mark it as healed. This is a backport if http// Change-Id: I5104ae4bfed8585ca40cb45831ca20582566370c BUG: 1236050 Signed-off-by: Xavier Hernandez <> Reviewed-on: Tested-by: Gluster Build System <> Tested-by: NetBSD Build System <> Reviewed-by: Pranith Kumar Karampuri <>
Diffstat (limited to 'xlators/nfs/server')
0 files changed, 0 insertions, 0 deletions