diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-03-08 22:17:46 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-03-09 22:19:32 -0800 |
commit | 5b290bc6e3df76bea04c11cb15643173c33455bd (patch) | |
tree | cb20cb1d057093d26b9c2b7577deffab4953b39b /xlators | |
parent | bc10ade1cff9d6cd3b3528ec6c845efadc722481 (diff) |
syncop: Make syntask scalable
At the moment, synctask uses task->frame to perform
all the syncops, this will lead to high-memory usage if the task
crawls millions of directories. i.e millions of STACK_WINDS/UNWINDS.
To prevent this, in each task a new stack is created to perform
the fops which is reset after every syncop.
Change-Id: I53c262ec348be9b1d91af73da01f1c217f31ce6e
BUG: 798907
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/2850
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions