Updated Branches: refs/heads/master 0022a5467 -> 52b6227cd
TS-1815: Add the file descriptor number to ET_AIO thread names Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/52b6227c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/52b6227c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/52b6227c Branch: refs/heads/master Commit: 52b6227cd22f53a44ba38761d662dec9b22e6cfa Parents: 0022a54 Author: Phil Sorber <[email protected]> Authored: Tue Dec 3 23:08:55 2013 -0700 Committer: Phil Sorber <[email protected]> Committed: Tue Dec 3 23:08:55 2013 -0700 ---------------------------------------------------------------------- CHANGES | 3 ++- iocore/aio/AIO.cc | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/52b6227c/CHANGES ---------------------------------------------------------------------- diff --git a/CHANGES b/CHANGES index e8fdc32..52d15f9 100644 --- a/CHANGES +++ b/CHANGES @@ -2,7 +2,8 @@ Changes with Apache Traffic Server 4.2.0 - *) [TS-1815] Add thread number and port to accept thread name + *) [TS-1815] Add thread number and port to accept thread name and + add the file descriptor number to the ET_AIO thread names *) [TS-2415] Use standard continuations to release UrlRewrite objects. http://git-wip-us.apache.org/repos/asf/trafficserver/blob/52b6227c/iocore/aio/AIO.cc ---------------------------------------------------------------------- diff --git a/iocore/aio/AIO.cc b/iocore/aio/AIO.cc index 9f08e9e..a0fd386 100644 --- a/iocore/aio/AIO.cc +++ b/iocore/aio/AIO.cc @@ -255,7 +255,7 @@ aio_init_fildes(int fildes, int fromAPI = 0) thr_info = new AIOThreadInfo(request, 1); else thr_info = new AIOThreadInfo(request, 0); - snprintf(thr_name, MAX_THREAD_NAME_LENGTH, "[ET_AIO %d]", i); + snprintf(thr_name, MAX_THREAD_NAME_LENGTH, "[ET_AIO %d-%d]", fildes, i); ink_assert(eventProcessor.spawn_thread(thr_info, thr_name, stacksize)); }
