Re: [RFC 1/2] target: Add support for fabric IRQ completion

2015-06-29 Thread Sagi Grimberg
On 6/9/2015 10:27 AM, Christoph Hellwig wrote: diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c index 3fbb0d4..aa08d6b 100644 --- a/drivers/target/target_core_tpg.c +++ b/drivers/target/target_core_tpg.c @@ -37,6 +37,7 @@ #include #include +#include #incl

Re: [RFC 1/2] target: Add support for fabric IRQ completion

2015-06-09 Thread Christoph Hellwig
> diff --git a/drivers/target/target_core_tpg.c > b/drivers/target/target_core_tpg.c > index 3fbb0d4..aa08d6b 100644 > --- a/drivers/target/target_core_tpg.c > +++ b/drivers/target/target_core_tpg.c > @@ -37,6 +37,7 @@ > > #include > #include > +#include > #include > > #include "target

[RFC 1/2] target: Add support for fabric IRQ completion

2015-05-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds support for invoking TFO completion callbacks directly from IRQ context in target_complete_cmd(). Some fabric drivers like loopback and vhost can invoke their response callbacks directly from IRQ context, and this patch allows the extra queue_work() dispa