diff options
author | Brian Behlendorf <[email protected]> | 2010-10-28 10:36:50 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-11-08 14:03:35 -0800 |
commit | 451041db531dfec52c9e70fbd5d4179e30d61e2f (patch) | |
tree | abf5c0476d024fd5bb8a677984ffc1dad830e996 | |
parent | b1c58213751141f28793e723017d4064893d819a (diff) |
Shorten zio_* thread names
Linux kernel thread names are expected to be short. This change shortens
the zio thread names to 10 characters leaving a few chracters to append
the /<cpuid> to which the thread is bound. For example: z_wr_iss/0.
-rw-r--r-- | module/zfs/spa.c | 2 | ||||
-rw-r--r-- | module/zfs/zio.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/module/zfs/spa.c b/module/zfs/spa.c index a4e493ec8..93650386e 100644 --- a/module/zfs/spa.c +++ b/module/zfs/spa.c @@ -95,7 +95,7 @@ typedef struct zio_taskq_info { } zio_taskq_info_t; static const char *const zio_taskq_types[ZIO_TASKQ_TYPES] = { - "issue", "issue_high", "intr", "intr_high" + "iss", "iss_h", "int", "int_h" }; /* diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 9f34a2338..3c256aa95 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -61,8 +61,7 @@ uint8_t zio_priority_table[ZIO_PRIORITY_TABLE_SIZE] = { * ========================================================================== */ char *zio_type_name[ZIO_TYPES] = { - "zio_null", "zio_read", "zio_write", "zio_free", "zio_claim", - "zio_ioctl" + "z_null", "z_rd", "z_wr", "z_fr", "z_cl", "z_ioctl" }; /* |