[DRBD-user] Re: [DRBD-announce] drbd-0.7.9.tar.gz has severe bug!

Lars Marowsky-Bree lmb at suse.de
Thu Jan 27 11:42:56 CET 2005

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


On 2005-01-27T13:37:01, Cyril Bouthors <cyril at bouthors.org> wrote:

> cyb at wide:~/deb/drbd$ svn co http://svn.drbd.org/drbd/trunk drbd-07
> svn: REPORT request failed on '/drbd/!svn/vcc/default'
> svn: REPORT of '/drbd/!svn/vcc/default': 400 Bad Request (http://svn.drbd.org)
> 
> svn IS broken. :(

Works for me.

Looks like you have a transparent proxy in between which doesn't
understand the http extensions SVN uses; that's documented somewhere in
the SVN FAQ even.

> Lars, in the meanwhile, could you please send me a patch by email that
> fixes 0.7.9?

Sure, I've attached it. it's pretty short.

Mit freundlichen Grüßen,
    Lars Marowsky-Brée <lmb at suse.de>

-- 
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business

-------------- next part --------------
Index: drbd_compat_wrappers.h
===================================================================
--- drbd_compat_wrappers.h	(revision 1736)
+++ drbd_compat_wrappers.h	(working copy)
@@ -538,7 +538,9 @@
 	bio_init(bio); // bio->bi_flags   = 0;
 	bio->bi_io_vec = bvec;
 	bio->bi_max_vecs = 1;
-
+	
+	/* FIXME: __bio_clone() workaround, fix me properly later! */
+	bio_src->bi_max_vecs = 1;
 	__bio_clone(bio,bio_src);
 	bio->bi_bdev    = mdev->backing_bdev;
 	bio->bi_private = mdev;
@@ -559,6 +561,8 @@
 	bio->bi_io_vec = bvec;
 	bio->bi_max_vecs = 1;
 
+	/* FIXME: __bio_clone() workaround, fix me properly later! */
+	bio_src->bi_max_vecs = 1;
 	__bio_clone(bio,bio_src);
 	bio->bi_bdev    = mdev->backing_bdev;
 	bio->bi_private = mdev;


More information about the drbd-user mailing list