usr/src/uts/common/fs/zfs/zio.c
changeset 6245 1a2a7cfb9f26
parent 5688 c0b02c8fd2c0
child 6523 c1d2a7f04573
child 13230 1a15573931b6
--- a/usr/src/uts/common/fs/zfs/zio.c	Thu Mar 20 10:46:35 2008 -0700
+++ b/usr/src/uts/common/fs/zfs/zio.c	Thu Mar 20 11:01:28 2008 -0700
@@ -19,7 +19,7 @@
  * CDDL HEADER END
  */
 /*
- * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
@@ -232,7 +232,7 @@
 
 	ASSERT(c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
 
-	return (kmem_cache_alloc(zio_buf_cache[c], KM_SLEEP));
+	return (kmem_cache_alloc(zio_buf_cache[c], KM_PUSHPAGE));
 }
 
 /*
@@ -248,7 +248,7 @@
 
 	ASSERT(c < SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT);
 
-	return (kmem_cache_alloc(zio_data_buf_cache[c], KM_SLEEP));
+	return (kmem_cache_alloc(zio_data_buf_cache[c], KM_PUSHPAGE));
 }
 
 void