Re: 2.6.21-rc2-mm2
From: J.A. MagallÃn
Date: Tue Mar 06 2007 - 04:07:22 EST
On Tue, 6 Mar 2007 00:44:08 -0800, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Temporarily at
>
> http://userweb.kernel.org/~akpm/2.6.21-rc2-mm2/
>
Does this include a fix for the NFS problem ?
BTW, I have in my kernel a patch like this below, isn't it needed ?
Original thread:
http://marc.theaimsgroup.com/?l=linux-kernel&m=117189051227292&w=2
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -2919,14 +2919,14 @@ static int __make_request(request_queue_
*/
blk_queue_bounce(q, &bio);
+ spin_lock_irq(q->queue_lock);
/*
* Check if we can merge with the plugged list before grabbing
* any locks.
*/
if (!check_plug_merge(q, ioc, bio))
- goto out;
+ goto out_unlock;
- spin_lock_irq(q->queue_lock);
el_ret = elv_merge(q, &req, bio);
if (el_ret == ELEVATOR_BACK_MERGE) {
if (bio_attempt_back_merge(q, req, bio)) {
@@ -2984,7 +2984,6 @@ out_unlock:
list_add_tail(&req->queuelist, &ioc->plugged_list);
}
-out:
return 0;
end_io_eopnotsupp:
--
J.A. Magallon <jamagallon()ono!com> \ Software is like sex:
\ It's better when it's free
Mandriva Linux release 2007.1 (Cooker) for i586
Linux 2.6.20-jam01 (gcc 4.1.2 20070302 (prerelease) (4.1.2-1mdv2007.1)) #2 SMP PREEMPT
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/