[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V4 3/4] Introduce XEN scsiback module



On 08/12/2014 02:29 PM, Juergen Gross wrote:
On 08/11/2014 08:14 PM, Christoph Hellwig wrote:
+static void scsiback_notify_work(struct vscsibk_info *info)
+{
+    info->waiting_reqs = 1;
+    wake_up(&info->wq);
+}
+
+static irqreturn_t scsiback_intr(int irq, void *dev_id)
+{
+    scsiback_notify_work((struct vscsibk_info *)dev_id);
+    return IRQ_HANDLED;
+}

Seems like this driver should get the same threaded irq treatment as
the initiator side?

Indeed.

Turns out to be hard. The interrupt is allocated via
bind_interdomain_evtchn_to_irqhandler() which is not capable of threaded
irq handling. The underlying bind_interdomain_evtchn_to_irq() is not
exported, so I can't use it.

I'll try to change this, but until then I have to leave the irq handling
more or less the same.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.