[DRBD-user] filesystem corruptions

Lars Ellenberg Lars.Ellenberg at linbit.com
Thu Sep 29 15:49:05 CEST 2005

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


/ 2005-09-29 16:30:20 +0300
\ bro:

> My current configuration at the moment is:
> DRBD - 0.7.10 (api:77/proto:74)

> Linux serv1 2.6.11.11 #1 SMP

from kernel ChangeLog-2.6.12.4

Author: Andrew Morton <akpm at osdl.org>
Date:   Thu Jul 28 11:02:26 2005 -0700

    [PATCH] Fw: [PATCH] bio_clone fix
    
    [PATCH] bio_clone fix
    
    Fix bug introduced in 2.6.11-rc2: when we clone a BIO we need to copy over the
    current index into it as well.
    
    It corrupts data with some MD setups.

[let me add: lvm setups, drbd setups,
  any other device driver that happens to use bio_clone...]
    
    See http://bugzilla.kernel.org/show_bug.cgi?id=4946
    
    Huuuuuuuuge thanks to Matthew Stapleton <matthew4196 at gmail.com> for doggedly
    chasing this one down.
    
    Acked-by: Jens Axboe <axboe at suse.de>
    Cc: <linux-raid at vger.kernel.org>
    Cc: <dm-devel at redhat.com>
    Signed-off-by: Andrew Morton <akpm at osdl.org>
    Signed-off-by: Linus Torvalds <torvalds at osdl.org>
    Signed-off-by: Chris Wright <chrisw at osdl.org>

I am not saying that this is definitely what you see,
but I do strongly suspect it.

upgrade the kernel to something >= 2.6.12.4.

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list