Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1660280

Re: [PATCH 7/8] blk-mq: create hctx for each present CPU

From Omar Sandoval <osandov@osandov.com>
Newsgroups linux.kernel
Subject Re: [PATCH 7/8] blk-mq: create hctx for each present CPU
Date 2017-06-08 00:10 +0200
Message-ID <tPRjk-44i-9@gated-at.bofh.it> (permalink)
References <tOhUB-81i-5@gated-at.bofh.it> <tOhUB-81i-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Jun 03, 2017 at 04:04:02PM +0200, Christoph Hellwig wrote:
> Currently we only create hctx for online CPUs, which can lead to a lot
> of churn due to frequent soft offline / online operations.  Instead
> allocate one for each present CPU to avoid this and dramatically simplify
> the code.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Oh man, this cleanup is great. Did you run blktests on this? block/008
does a bunch of hotplugging while I/O is running.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 7/8] blk-mq: create hctx for each present CPU Christoph Hellwig <hch@lst.de> - 2017-06-03 16:10 +0200
  Re: [PATCH 7/8] blk-mq: create hctx for each present CPU Sagi Grimberg <sagi@grimberg.me> - 2017-06-04 17:20 +0200
  Re: [PATCH 7/8] blk-mq: create hctx for each present CPU Ming Lei <ming.lei@redhat.com> - 2017-06-07 11:20 +0200
    Re: [PATCH 7/8] blk-mq: create hctx for each present CPU Christoph Hellwig <hch@lst.de> - 2017-06-07 21:10 +0200
      Re: [PATCH 7/8] blk-mq: create hctx for each present CPU Ming Lei <ming.lei@redhat.com> - 2017-06-08 04:30 +0200
  Re: [PATCH 7/8] blk-mq: create hctx for each present CPU Omar Sandoval <osandov@osandov.com> - 2017-06-08 00:10 +0200
    Re: [PATCH 7/8] blk-mq: create hctx for each present CPU Christoph Hellwig <hch@lst.de> - 2017-06-08 09:00 +0200

csiph-web