[DRBD-user] drdb 2.6.25

Michael michael.auckland at gmail.com
Mon Apr 21 11:20:05 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 8:28 PM, Lars Ellenberg
<lars.ellenberg at linbit.com> wrote:
> 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
>  _______________________________________________
>  drbd-user mailing list
>  drbd-user at lists.linbit.com
>  http://lists.linbit.com/mailman/listinfo/drbd-user
>


OK, thank you for a clear answer!
Will continue to use 2.6.24.4 and current git version of 8.2...
or better to use 8.0.12?

-- 
--
Michael



More information about the drbd-user mailing list