Re: [PATCH V3] nvme-pci: assign separate irq vectors for adminq and ioq1

2018-03-13 Thread Keith Busch
On Tue, Mar 13, 2018 at 06:45:00PM +0800, Ming Lei wrote: > On Tue, Mar 13, 2018 at 05:58:08PM +0800, Jianchao Wang wrote: > > Currently, adminq and ioq1 share the same irq vector which is set > > affinity to cpu0. If a system allows cpu0 to be offlined, the adminq > > will not be able work any mor

Re: [PATCH V3] nvme-pci: assign separate irq vectors for adminq and ioq1

2018-03-13 Thread Ming Lei
On Tue, Mar 13, 2018 at 05:58:08PM +0800, Jianchao Wang wrote: > Currently, adminq and ioq1 share the same irq vector which is set > affinity to cpu0. If a system allows cpu0 to be offlined, the adminq > will not be able work any more. > > To fix this, assign separate irq vectors for adminq and io

[PATCH V3] nvme-pci: assign separate irq vectors for adminq and ioq1

2018-03-13 Thread Jianchao Wang
Currently, adminq and ioq1 share the same irq vector which is set affinity to cpu0. If a system allows cpu0 to be offlined, the adminq will not be able work any more. To fix this, assign separate irq vectors for adminq and ioq1. Set .pre_vectors == 1 when allocate irq vectors, then assign the firs