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:
parent
b1c5821375
commit
451041db53
@ -95,7 +95,7 @@ typedef struct zio_taskq_info {
|
|||||||
} zio_taskq_info_t;
|
} zio_taskq_info_t;
|
||||||
|
|
||||||
static const char *const zio_taskq_types[ZIO_TASKQ_TYPES] = {
|
static const char *const zio_taskq_types[ZIO_TASKQ_TYPES] = {
|
||||||
"issue", "issue_high", "intr", "intr_high"
|
"iss", "iss_h", "int", "int_h"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -61,8 +61,7 @@ uint8_t zio_priority_table[ZIO_PRIORITY_TABLE_SIZE] = {
|
|||||||
* ==========================================================================
|
* ==========================================================================
|
||||||
*/
|
*/
|
||||||
char *zio_type_name[ZIO_TYPES] = {
|
char *zio_type_name[ZIO_TYPES] = {
|
||||||
"zio_null", "zio_read", "zio_write", "zio_free", "zio_claim",
|
"z_null", "z_rd", "z_wr", "z_fr", "z_cl", "z_ioctl"
|
||||||
"zio_ioctl"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user