[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/8] trans/mtab: make the translator multithreaded
From: |
Justus Winter |
Subject: |
[PATCH 4/8] trans/mtab: make the translator multithreaded |
Date: |
Sun, 12 Jan 2014 20:08:41 +0100 |
* trans/mtab.c (main): Use ports_manage_port_operations_multithread.
---
trans/mtab.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/trans/mtab.c b/trans/mtab.c
index 5a5a07d..adfb345 100644
--- a/trans/mtab.c
+++ b/trans/mtab.c
@@ -235,9 +235,13 @@ main (int argc, char *argv[])
error (4, err, "trivfs_startup");
/* Launch. */
- ports_manage_port_operations_one_thread (control->pi.bucket,
- trivfs_demuxer,
- 0);
+ ports_manage_port_operations_multithread (control->pi.bucket,
+ trivfs_demuxer,
+ /* idle thread timeout */
+ 30 * 1000,
+ /* idle server timeout */
+ 0,
+ NULL);
}
else
{
--
1.8.5.2
- [PATCH 1/8] trans/mtab: populate mtab objects on demand, Justus Winter, 2014/01/12
- [PATCH 2/8] trans/mtab: remove the loop detection logic, Justus Winter, 2014/01/12
- [PATCH 4/8] trans/mtab: make the translator multithreaded,
Justus Winter <=
- [PATCH 3/8] trans/mtab: properly lock mtab objects, Justus Winter, 2014/01/12
- [PATCH 5/8] trans/mtab: do not include non-filesystem translators by default, Justus Winter, 2014/01/12
- [PATCH 6/8] libfshelp: fix the api of fshelp_set_active_translator, Justus Winter, 2014/01/12
- [PATCH 7/8] libdiskfs: register passive translator startups, Justus Winter, 2014/01/12
- [PATCH 8/8] libnetfs: register passive translator startups, Justus Winter, 2014/01/12