improve compaction performance. close leo-project/leofs#issue49