1. 05 12月, 2020 1 次提交
  2. 02 12月, 2020 2 次提交
  3. 17 11月, 2020 2 次提交
  4. 06 11月, 2020 1 次提交
  5. 05 11月, 2020 1 次提交
  6. 04 11月, 2020 1 次提交
  7. 26 10月, 2020 1 次提交
  8. 20 10月, 2020 2 次提交
  9. 08 8月, 2020 2 次提交
  10. 02 8月, 2020 1 次提交
  11. 18 7月, 2020 1 次提交
  12. 16 7月, 2020 1 次提交
  13. 15 7月, 2020 1 次提交
  14. 10 7月, 2020 1 次提交
  15. 28 6月, 2020 2 次提交
  16. 06 6月, 2020 2 次提交
  17. 30 5月, 2020 1 次提交
  18. 28 5月, 2020 3 次提交
  19. 27 5月, 2020 2 次提交
  20. 26 5月, 2020 1 次提交
  21. 25 5月, 2020 2 次提交
  22. 16 5月, 2020 1 次提交
  23. 08 5月, 2020 1 次提交
  24. 05 5月, 2020 1 次提交
    • Y
      [Dnode] Table driven method to init and cleanup dnode components. · e0613436
      yifan hao 提交于
      This patch refactors the initialization and cleanup path of dnode
      with a table driven method. This fixes the following issues:
      
      1. Before the patch, if dnodeInitRead() fails, the cleanup path
      also runs dnodeCleanupWrite(), which will free wWorkerPool.writeWorker that's
      never allocated. (The code before this patch will not crash though, because
      wWorkerPool is zero-initialized global variable and therefore the
      accidental free will be a nop).
      2. In general the order of calling cleanup function should be reverse
      to the order of calling init function, but this is not the case prior
      to this patch (see dnodeCleanupMnode() and dnodeCleanupMgmt()).
      
      * Bonus fix
      This patch also fixes a missing free for readPool.readWorker.
      
      * Testing
      I plan to run the test script ./test-all.sh, but was not able to do so.
      Is there a reference somewhere I can look up?
      e0613436
  25. 04 5月, 2020 1 次提交
  26. 23 4月, 2020 1 次提交
  27. 19 4月, 2020 1 次提交
  28. 17 4月, 2020 3 次提交