- 10 8月, 2020 1 次提交
-
-
由 Shengliang Guan 提交于
-
- 04 8月, 2020 1 次提交
-
-
由 Shengliang Guan 提交于
-
- 31 7月, 2020 3 次提交
-
-
由 slguan 提交于
-
由 Shengliang Guan 提交于
-
由 Shengliang Guan 提交于
-
- 16 7月, 2020 1 次提交
-
-
由 Bomin Zhang 提交于
-
- 06 6月, 2020 2 次提交
-
-
由 Bomin Zhang 提交于
-
由 Bomin Zhang 提交于
-
- 05 5月, 2020 1 次提交
-
-
由 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?
-
- 17 4月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 18 3月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 11 3月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 08 3月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 20 2月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 19 2月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 06 2月, 2020 1 次提交
-
-
由 slguan 提交于
-
- 05 2月, 2020 2 次提交
- 07 11月, 2019 1 次提交
-
-
由 slguan 提交于
-
- 23 8月, 2019 1 次提交
-
-
由 slguan 提交于
-
- 26 7月, 2019 1 次提交
-
-
由 slguan 提交于
-
- 11 7月, 2019 1 次提交
-
-
由 hzcheng 提交于
-