[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904061811250.25143@parag-desktop>
Date: Mon, 6 Apr 2009 18:16:49 -0400 (EDT)
From: Parag Warudkar <parag.lkml@...il.com>
To: jens.axboe@...cle.com
cc: linux-kernel@...r.kernel.org
Subject: [PATCH] Block: Build fix for allocation/congestion changes
Hi Jens
I don't know if you have pending patches to take care of the remaining
users of BDI_{read/write}_congested - but meanwhile this patch allows me
to build today's Linus git.
Signed-off-by: Parag Warudkar <parag.lkml@...il.com>
--- linux-2.6/drivers/md/raid1.c 2009-04-06 17:37:25.609691615 -0400
+++ linux-2.6-wk/drivers/md/raid1.c 2009-04-06 18:10:55.058441747 -0400
@@ -586,7 +586,7 @@
/* Note the '|| 1' - when read_balance prefers
* non-congested targets, it can be removed
*/
- if ((bits & (1<<BDI_write_congested)) || 1)
+ if ((bits & (1<<BDI_async_congested)) || 1)
ret |= bdi_congested(&q->backing_dev_info, bits);
else
ret &= bdi_congested(&q->backing_dev_info, bits);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists