[DRBD-user] Re: filesystem corruptions

Eugene Crosser crosser at rol.ru
Tue Oct 11 11:47:40 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.


Eugene Crosser wrote:
> Lars Ellenberg wrote:
> 
> 
>>>>>(for now: kernel 2.6.10 and 2.6.11.something, smp, drbd 0.7.11 and
>>>>
>>>>                                             ^^^^^^^^^
>>>>
>>>>But you applied the bio_clone fix, did you?
>>>
>>>Nope.  Because (1) on other systems, I am running 2.6.10 without that
>>>fix without any problem
>>
>>
>>as long as there is nothing involved that uses bio clones,
>>it does not affect you.
>>
>>drbd uses them all the time.
> 
> 
> There *is* drbd on the system that runs 2.6.10 kernel *without*
> bio_clone() fix.  Works perfectly under rather high load.  Miracle?  Maybe.

Oops, wait!  Do you mean this fix?  Then this bug was not present in
2.6.10 which we tried as well...

commit a5453be48e8def75a9c1b2177b82fa0e692c6e3a
Author: Andrew Morton <akpm at osdl.org>
Date:   Thu Jul 28 01:07:18 2005 -0700

    [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.

    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>

>>>and (2) bro reported that 2.12.5 which has this
>>>fix did not make any difference.
>>
>>
>>please double check yourself.
> 
> 
> I will make sure to try the same setup with bio_clone() fix applied.  I
> do not expect it to make any difference, though, because of the above...
> Well, if only bio_clone fix affects SATA but does not affect SCSI?..
> 
> Eugene
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20051011/809d0729/attachment.pgp>


More information about the drbd-user mailing list