Re: [PATCH 03/13] genirq/msi: Switch to new irq spreading infrastructure

2016-09-21 Thread Alexander Gordeev
On Wed, Sep 14, 2016 at 04:18:49PM +0200, Christoph Hellwig wrote: > @@ -1039,6 +1058,7 @@ EXPORT_SYMBOL(pci_msi_enabled); > static int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int > maxvec, > unsigned int flags) > { > + bool affinity = flags & PCI_IRQ_AFFINITY;

Re: [PATCH 02/13] genirq/affinity: Provide smarter irq spreading infrastructure

2016-09-21 Thread Alexander Gordeev
On Wed, Sep 14, 2016 at 04:18:48PM +0200, Christoph Hellwig wrote: > +/** > + * irq_calc_affinity_vectors - Calculate to optimal number of vectors for a > given affinity mask > + * @affinity:The affinity mask to spread. If NULL > cpu_online_mask > + * is used > +

Re: [GIT PULL 0/7] LightNVM pull request for 4.9

2016-09-21 Thread Jens Axboe
On 09/16/2016 06:25 AM, Matias Bjørling wrote: Hi Jens, A couple of patches for 4.9. We are preparing the pblk target for upstream, but it will have to wait for at least a cycle before it is ready. Geert and Arnd sent two fixes. One check for DMA and another for missing a device_add check. Sim

[rfc] weirdness in bio_map_user_iov()

2016-09-21 Thread Al Viro
What happens if we feed it a 3-element iovec array, one page in each? AFAICS, bio_add_pc_page() is called for each of those pages, even if the previous calls have failed - break is only out of the inner loop. Sure, failure due to exceeded request size means that everything after that one will fail