[DRBD-user] drbd0: could not kmalloc() nbh

Lars Ellenberg Lars.Ellenberg at linbit.com
Sun May 30 12:52:18 CEST 2004

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-29 16:10:36 -0400
\ Tim Tregubov:
> mke2fs -j on /dev/nb0 again.
> even rebooted the machines.
> tried the big tar.
> 
> And.....   millions of:  drbd0: could not kmalloc() nbh
> 
> ACK!
> 
> I'm scared... somebody please hold me.


see if this below patch helps.

	Lars Ellenberg

Index: drbd_int.h
===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/drbd_int.h,v
retrieving revision 1.80
diff -u -p -r1.80 drbd_int.h
--- drbd_int.h	28 Apr 2004 07:57:15 -0000	1.80
+++ drbd_int.h	30 May 2004 10:50:36 -0000
@@ -132,7 +132,7 @@ typedef struct wait_queue*  wait_queue_h
  * - marcelo
  */
 #if LINUX_VERSION_CODE > KERNEL_VERSION(2,3,0)
-#define GFP_DRBD GFP_ATOMIC
+#define GFP_DRBD GFP_NOIO
 #else
 #define GFP_DRBD GFP_BUFFER
 #endif



More information about the drbd-user mailing list