diff options
author | Prakash Surya <prakash.surya@delphix.com> | 2017-08-03 08:36:51 -0700 |
---|---|---|
committer | Prakash Surya <prakash.surya@delphix.com> | 2017-08-30 22:29:47 -0700 |
commit | 216d7723a1a58124cf95c4950d51d5f99d3f4128 (patch) | |
tree | 4073acbe5f83fe597239db0f4793b5bd753e7a85 /usr/src/uts/common/sys/taskq_impl.h | |
parent | c81a25e9d3950dc5fab08d21f8be56d463b32c7a (diff) | |
download | illumos-gate-216d7723a1a58124cf95c4950d51d5f99d3f4128.tar.gz |
8558 lwp_create() returns EAGAIN on system with more than 80K ZFS filesystems
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys/taskq_impl.h')
-rw-r--r-- | usr/src/uts/common/sys/taskq_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/taskq_impl.h b/usr/src/uts/common/sys/taskq_impl.h index b75427152a..dcb7290155 100644 --- a/usr/src/uts/common/sys/taskq_impl.h +++ b/usr/src/uts/common/sys/taskq_impl.h @@ -24,6 +24,7 @@ */ /* * Copyright 2011 Nexenta Systems, Inc. All rights reserved. + * Copyright (c) 2017 by Delphix. All rights reserved. */ #ifndef _SYS_TASKQ_IMPL_H @@ -66,7 +67,6 @@ typedef struct tqstat { uint_t tqs_tcreates; /* threads created */ uint_t tqs_tdeaths; /* threads died */ uint_t tqs_maxthreads; /* max # of alive threads */ - uint_t tqs_nomem; /* # of times there were no memory */ uint_t tqs_disptcreates; } tqstat_t; @@ -142,6 +142,7 @@ struct taskq { */ kstat_t *tq_kstat; /* Exported statistics */ hrtime_t tq_totaltime; /* Time spent processing tasks */ + uint64_t tq_nomem; /* # of times there was no memory */ uint64_t tq_tasks; /* Total # of tasks posted */ uint64_t tq_executed; /* Total # of tasks executed */ int tq_maxtasks; /* Max number of tasks in the queue */ |