summaryrefslogtreecommitdiff
path: root/ReadMe.c
diff options
context:
space:
mode:
authorLukasz Dorau <lukasz.dorau@intel.com>2011-09-19 13:26:05 +1000
committerNeilBrown <neilb@suse.de>2011-09-19 13:26:05 +1000
commit758be4f1c9cda8eefb2fd241835521462196e16c (patch)
treecfd228315e416d32cee78217f2e89f92087a7a7e /ReadMe.c
parenta8619d23b863cdce388527e1da12fea56f56c891 (diff)
Fix serious memory leak
During reshape function restore_stripes is called periodically and every time the buffer stripe_buf (of size raid_disks*chunk_size) is allocated but is not freed. It happens also upon successful completion. In case of huge arrays it can lead to the seizure of the entire system memory (even of the order of gigabytes). Signed-off-by: Lukasz Dorau <lukasz.dorau@intel.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'ReadMe.c')
0 files changed, 0 insertions, 0 deletions