Results 9 comments of wyang

yes, this is what i first want resolution, but the context arg was not suggested to put into struct, so a little complex https://groups.google.com/forum/#!topic/golang-nuts/xRbzq8yzKWI @panjf2000

hi @stapelberg do you have some advise?

> I don't think 100000 is the right number. Either we allocate all of them at startup which wastes 200MB for most cases, or we don't allocate them at startup...

> Have you done benchmarks for this? Can you share the results? you can see from the follow result, 4 tasks,1000files, the "File removal" performance up from 22 to 5175!...

# 2 goroutines ``` ./mdtest "-n" "1000" "-u" "-z" "2" "-i" "3" "-F" "-d" "/home/wangyang5/polefs/mnt" Path: /home/wangyang5/polefs FS: 50.0 GiB Used FS: 37.8% Inodes: 25.0 Mi Used Inodes: 0.8% 4...

hi, @rliebz @saschagrunert, who can have a review please.

> What is the problem? 1. if emptyNode has the same disk type with src volume and freeVolumeCountfn(emptyNode.info) == 0, means it's full, we should not move volume to it....

" E:\seaweedFS_readonly\data2 with 18 volumes max 18" 你的volumeServer的volume个数到了最大值,代码里有计算公式,启动volume server时,可以指定maxVolume个数,不指定就计算出最大的值

hi @chrislusf , this pr stop evacuate volume from hdd to SSD or SSD to HDD, what do you think, does it need to prevent this behaver,if not, I will...