[DRBD-cvs] svn commit by lars - r2172 - branches/drbd-0.7/drbd - GFP_KERNEL -> GFP_NOIO at two more places

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Mon Apr 24 14:40:31 CEST 2006


Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: lars
Date: 2006-04-24 14:40:29 +0200 (Mon, 24 Apr 2006)
New Revision: 2172

Modified:
   branches/drbd-0.7/drbd/drbd_actlog.c
   branches/drbd-0.7/drbd/drbd_main.c
Log:
GFP_KERNEL -> GFP_NOIO at two more places

Modified: branches/drbd-0.7/drbd/drbd_actlog.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_actlog.c	2006-04-24 11:55:12 UTC (rev 2171)
+++ branches/drbd-0.7/drbd/drbd_actlog.c	2006-04-24 12:40:29 UTC (rev 2172)
@@ -112,7 +112,7 @@
 	// in case hardsect != 512 [ s390 only? ]
 	if( hardsect != MD_HARDSECT ) {
 		if(!mdev->md_io_tmpp) {
-			struct page *page = alloc_page(GFP_KERNEL);
+			struct page *page = alloc_page(GFP_NOIO);
 			if(!page) return 0;
 
 			WARN("Meta data's bdev hardsect_size != %d\n",

Modified: branches/drbd-0.7/drbd/drbd_main.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_main.c	2006-04-24 11:55:12 UTC (rev 2171)
+++ branches/drbd-0.7/drbd/drbd_main.c	2006-04-24 12:40:29 UTC (rev 2172)
@@ -322,7 +322,7 @@
 	sector_t sector;
 	unsigned int size;
 
-	new_first=kmalloc(sizeof(struct drbd_barrier),GFP_KERNEL);
+	new_first=kmalloc(sizeof(struct drbd_barrier),GFP_NOIO);
 	if(!new_first) {
 		ERR("could not kmalloc() barrier\n");
 	}



More information about the drbd-cvs mailing list