--- 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