]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/Thread: allow io priority to be set for a Thread
authorSage Weil <sage@redhat.com>
Wed, 18 Jun 2014 18:01:42 +0000 (11:01 -0700)
committerSage Weil <sage@redhat.com>
Fri, 20 Jun 2014 17:15:14 +0000 (10:15 -0700)
commitc9b3067f9b78a65e0b9c2ce2488d8906eb73c869
tree4da2d4cacb041e86d32dbb39f798bc45147f07b5
parent0796057f1c13c467dd3eadca036e3034da20e500
common/Thread: allow io priority to be set for a Thread

Ideally, set this before starting the thread.  If you set it after, we
could potentially race with create() itself.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 01533183e7455b713640e001962339907fb6f980)
src/common/Thread.cc
src/common/Thread.h