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.
This commit is contained in:
Brian Behlendorf 2010-10-28 10:36:50 -07:00
parent b1c5821375
commit 451041db53
2 changed files with 2 additions and 3 deletions

View File

@ -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"
};
/*

View File

@ -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"
};
/*