Re: [RFC PATCH] blk-mq: User defined HCTX CPU mapping

2018-06-20 Thread Keith Busch
On Wed, Jun 20, 2018 at 11:08:05AM +0200, Christoph Hellwig wrote: > On Mon, Jun 18, 2018 at 11:32:06AM -0600, Keith Busch wrote: > > The default mapping of a cpu to a hardware context is often generally > > applicable, however a user may know of a more appropriate mapping for > > their specific

Re: [RFC PATCH] blk-mq: User defined HCTX CPU mapping

2018-06-20 Thread Christoph Hellwig
On Mon, Jun 18, 2018 at 11:32:06AM -0600, Keith Busch wrote: > The default mapping of a cpu to a hardware context is often generally > applicable, however a user may know of a more appropriate mapping for > their specific access usage. > > This patch allows a user to define their own policy by

[RFC PATCH] blk-mq: User defined HCTX CPU mapping

2018-06-18 Thread Keith Busch
The default mapping of a cpu to a hardware context is often generally applicable, however a user may know of a more appropriate mapping for their specific access usage. This patch allows a user to define their own policy by making the mq hctx cpu_list writable. The usage allows a user to append a