backend: move iolog compression init before CPU affinity settings
authorJens Axboe <axboe@fb.com>
Thu, 19 May 2016 17:41:28 +0000 (11:41 -0600)
committerJens Axboe <axboe@fb.com>
Thu, 19 May 2016 17:41:28 +0000 (11:41 -0600)
commit2354d8103b080b37eb260b9746f8b82309b75979
tree5a91c4bbb135f96055fc46cda8b521aa638afb7f
parent80a24ba9290c53d8d762cde1ec13efa9242dceae
backend: move iolog compression init before CPU affinity settings

Previously we did this after we had set CPU affinity for the IO
worker. But if we do that, then we limit the log compression
to the exact CPUs that we don't want it to run on.

So let's do this earlier, which means the compression threads can
run anyway. We'll trust the OS scheduler to keep them out of our
way.

Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c