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

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux