Messages in this thread Patch in this message | | | Date | Thu, 4 Mar 2004 11:12:04 -0800 | From | Andrew Morton <> | Subject | Re: 2.6.4-rc1-mm2: 3 dumps at __make_request, system freeze |
| |
Rui Saraiva <rmps@joel.ist.utl.pt> wrote: > > Yesterday I got these 3 dumps (on dmesg) while compiling (on ext3 fs) the > kernel and some other userland utilities.
Could you please add this?
--- 25/drivers/block/ll_rw_blk.c~blk-unplug-when-max-request-queued-fix Wed Mar 3 16:03:01 2004 +++ 25-akpm/drivers/block/ll_rw_blk.c Wed Mar 3 16:03:32 2004 @@ -2004,7 +2004,8 @@ EXPORT_SYMBOL(__blk_attempt_remerge); static int __make_request(request_queue_t *q, struct bio *bio) { - struct request *req, *freereq = NULL; + struct request *req = NULL; + struct request *freereq = NULL; int el_ret, rw, nr_sectors, cur_nr_sectors, barrier, ra; sector_t sector; @@ -2154,7 +2155,7 @@ out: int nr_queued = q->rq.count[READ] + q->rq.count[WRITE]; if (nr_queued == q->unplug_thresh || - req->nr_sectors == q->max_sectors) + (req && req->nr_sectors == q->max_sectors)) __generic_unplug_device(q); } spin_unlock_irq(q->queue_lock); _
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |