Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
/ 2004-05-19 19:55:07 +0200 \ Marcus Meyer: > Lars Ellenberg sagte: > > > please give me the log from the > > "drbd initialized " > > to the first "connection established", > > not doing anything. > > > > OK. > I've got only one machine up. > Here is the log: > > May 19 19:26:31 node2 kernel: drbd: initialised. Version: 0.7-pre7 cvs > $Date: 2004/05/19 15:36:31 $ (api:72/proto:72) > May 19 19:27:31 node2 kernel: drbd0: size = 6150340 KB > May 19 19:27:31 node2 kernel: drbd0: 6150340 KB marked out-of-sync by on > disk bit-map. > May 19 19:27:31 node2 kernel: drbd0: No usable activity log found. > May 19 19:27:31 node2 kernel: drbd0: Marked additional 0 KB as out-of-sync > based on AL. drbdsetup /dev/nb0 show in this state? anyways, maybe this gives different results: Index: drbd_fs.c =================================================================== RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_fs.c,v retrieving revision 1.28.2.94 diff -u -p -r1.28.2.94 drbd_fs.c --- drbd_fs.c 19 May 2004 16:58:08 -0000 1.28.2.94 +++ drbd_fs.c 19 May 2004 18:17:06 -0000 @@ -658,6 +663,11 @@ STATIC int drbd_ioctl_set_syncer(struct struct syncer_config sc; if(copy_from_user(&sc,&arg->config,sizeof(sc))) return -EFAULT; + + sc.use_csums = 0; // TODO, NYI + ERR_IF (sc.rate < 1) sc.rate = 1; + ERR_IF (sc.skip & ~1) sc.skip = !!sc.skip; + ERR_IF (sc.al_extents < 7) sc.al_extents = 7; // arbitrary minimum mdev->sync_conf.rate = sc.rate; mdev->sync_conf.use_csums = sc.use_csums; Index: lru_cache.c =================================================================== RCS file: /var/lib/cvs/drbd/drbd/drbd/Attic/lru_cache.c,v retrieving revision 1.1.2.25 diff -u -p -r1.1.2.25 lru_cache.c --- lru_cache.c 3 May 2004 15:00:33 -0000 1.1.2.25 +++ lru_cache.c 19 May 2004 18:17:06 -0000 @@ -49,6 +49,7 @@ struct lru_cache* lc_alloc(unsigned int struct lc_element *e; int i; + BUG_ON(!e_count); e_size = max(sizeof(struct lc_element),e_size); bytes = e_size+sizeof(struct hlist_head); bytes *= e_count;