xfs
[Top] [All Lists]

patch: queue head reinit

To: linux-xfs@xxxxxxxxxxx
Subject: patch: queue head reinit
From: Jens Axboe <axboe@xxxxxxx>
Date: Sun, 10 Dec 2000 21:37:24 +0100
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

Compiling latest linux-2.4-xfs, noticed that the patch test12-pre3 block
queue-head reinit fix is not included. I'd consider this critical and
would recommend that it be merged asap.

Index: drivers/block/ll_rw_blk.c
===================================================================
RCS file: /cvs/linux-2.4-xfs/linux/drivers/block/ll_rw_blk.c,v
retrieving revision 1.53
diff -u -r1.53 ll_rw_blk.c
--- drivers/block/ll_rw_blk.c   2000/12/01 18:04:38     1.53
+++ drivers/block/ll_rw_blk.c   2000/12/10 20:33:50
@@ -872,7 +872,7 @@
        int max_segments = MAX_SEGMENTS;
        struct request * req = NULL, *freereq = NULL;
        int rw_ahead, max_sectors, el_ret;
-       struct list_head *head = &q->queue_head;
+       struct list_head *head;
        int latency;
        elevator_t *elevator = &q->elevator;
 
@@ -920,6 +920,7 @@
         * not to schedule or do something nonatomic
         */
 again:
+       head = &q->queue_head;
        spin_lock_irq(&io_request_lock);
 
        /*

-- 
* Jens Axboe <axboe@xxxxxxx>
* SuSE Labs

<Prev in Thread] Current Thread [Next in Thread>
  • patch: queue head reinit, Jens Axboe <=