aoe: remove call to request handler from I/O completion
authorEd Cashin <ecashin@coraid.com>
Tue, 18 Dec 2012 00:04:02 +0000 (16:04 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:25 +0000 (17:15 -0800)
There is no need to call the request handler function in the I/O
completion routine.  The user impact of not doing it is a more "nice" aoe
driver that is less susceptible to causing soft lockups.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoecmd.c

index 53b98690d9b0bcbd7f056680a72af74692c5fdb8..391dd8ee200936e3508f41b6317aa6a0e926974c 100644 (file)
@@ -1139,8 +1139,6 @@ badrsp:
        if (buf && --buf->nframesout == 0 && buf->resid == 0)
                aoe_end_buf(d, buf);
 
-       aoecmd_work(d);
-
        spin_unlock_irq(&d->lock);
        aoedev_put(d);
        dev_kfree_skb(skb);