"Fossies" - the Fresh Open Source Software Archive

Member "aoe-aoe6-86/conf/23-patches/brq1-old.diff" (4 Jul 2015, 584 Bytes) of archive /linux/misc/aoe-aoe6-86.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff -upr brq1/linux/drivers/block/aoe/aoecmd.c old/linux/drivers/block/aoe/aoecmd.c
    2 --- brq1/linux/drivers/block/aoe/aoecmd.c   2013-05-30 14:22:00.675428624 -0400
    3 +++ old/linux/drivers/block/aoe/aoecmd.c    2013-05-30 15:08:06.359447422 -0400
    4 @@ -1168,8 +1168,12 @@ aoe_end_request(struct aoedev *d, struct
    5     } while (__blk_end_request(rq, bok ? 0 : -EIO, bio->bi_size));
    6  
    7     /* cf. http://lkml.org/lkml/2006/10/31/28 */
    8 -   if (!fastfail)
    9 -       __blk_run_queue(q);
   10 +   if (!fastfail) {
   11 +       if (!blk_queue_plugged(q))
   12 +           q->request_fn(q);
   13 +       else
   14 +           __generic_unplug_device(q);
   15 +   }
   16  }
   17  
   18  void