[DRBD-user] drdb 2.6.25

Lars Ellenberg lars.ellenberg at linbit.com
Mon Apr 21 10:28:09 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Mon, Apr 21, 2008 at 08:42:06AM +0200, Lars Ellenberg wrote:
> On Mon, Apr 21, 2008 at 11:48:09AM +1200, Michael wrote:
> > Hi group!
> > 
> > Is any version of drbd works with kernel 2.6.25?
> 
> not yet.

the patch for drbd is very simple:

commit 159c67129f9bd6c19694970bd15866d9d32f3881
Author: Lars Ellenberg <lars.ellenberg at linbit.com>
Date:   Mon Apr 21 09:53:51 2008 +0200

    compatibility with 2.6.25: use blk_cleanup_queue instead of blk_put_queue - which was wrong anyways (no harm done, though)

diff --git a/drbd/drbd_main.c b/drbd/drbd_main.c
index 6c19ec7..2c3452c 100644
--- a/drbd/drbd_main.c
+++ b/drbd/drbd_main.c
@@ -2357,7 +2357,7 @@ STATIC void __exit drbd_cleanup(void)
 				put_disk(*disk);
 				*disk = NULL;
 			}
-			if (*q) blk_put_queue(*q);
+			if (*q) blk_cleanup_queue(*q);
 			*q = NULL;
 
 			D_ASSERT(mdev->open_cnt == 0);

> > Is there fixes for "local disk flush failed with status -5 "
> > in 2.6.25?
> 
> yes.
> 
> > or in git version of 8.2.x ( or 8.0.x ) ?
> 
> No.

ah, but you can disable them
starting with 8.0.12 (which will be released this week)
and 8.2.6 (which should happen within the month).
in the disk {} section, configure
    no-disk-flushes;
    no-md-flushes;

-- 
: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
__
please don't Cc me, but send to list -- I'm subscribed



More information about the drbd-user mailing list