From: Liu Yuan <[email protected]>

Because they use short threads, their name is actually combination of
name string and idx. The idx might be big, so we try to keep short name
for short threads.

Signed-off-by: Liu Yuan <[email protected]>
---
 sheep/sheep.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sheep/sheep.c b/sheep/sheep.c
index 36e059a..b7a572d 100644
--- a/sheep/sheep.c
+++ b/sheep/sheep.c
@@ -367,9 +367,9 @@ int main(int argc, char **argv)
        if (ret)
                exit(1);
 
-       sys->gateway_wqueue = init_work_queue("gateway", false);
+       sys->gateway_wqueue = init_work_queue("gway", false);
        sys->io_wqueue = init_work_queue("io", false);
-       sys->recovery_wqueue = init_work_queue("recovery", false);
+       sys->recovery_wqueue = init_work_queue("rw", false);
        sys->deletion_wqueue = init_work_queue("deletion", true);
        sys->block_wqueue = init_work_queue("block", true);
        sys->sockfd_wqueue = init_work_queue("sockfd", true);
-- 
1.7.10.2

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to