]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: shorten name of RGWAsyncRadosProcessor thread pool
authorCasey Bodley <cbodley@redhat.com>
Tue, 12 Jan 2016 20:26:20 +0000 (15:26 -0500)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:54 +0000 (16:13 -0800)
commitdefb4d3ff2291a33f2e6b037d3ac3b923f8ea56d
tree0d81f53b606b0f3a3654d8aa56a9924827adf702
parent8bcdb77d9ad2714abbb887e4b6331e04658d0a51
rgw: shorten name of RGWAsyncRadosProcessor thread pool

threads now call pthread_setname_np(), and have to enforce a
16-character limit on the names. this fixes the assertion:

ceph/src/common/Thread.cc: 156: FAILED assert(strlen(name) < 16)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_cr_rados.cc