summaryrefslogtreecommitdiffstats
path: root/sys/cddl
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2014-10-07 16:06:10 +0000
committeravg <avg@FreeBSD.org>2014-10-07 16:06:10 +0000
commit9dd0ee9433e0e1a0f0baaa3f907dd207a0c9c8d4 (patch)
treed9cbba36e776195bf2c2b7b8258f4a4cdc866d6d /sys/cddl
parent04310f10f6bbfeaf3672703f2d30911913bd7ba0 (diff)
downloadFreeBSD-src-9dd0ee9433e0e1a0f0baaa3f907dd207a0c9c8d4.zip
FreeBSD-src-9dd0ee9433e0e1a0f0baaa3f907dd207a0c9c8d4.tar.gz
revert r272702: wrong (earlier) change was committed
Diffstat (limited to 'sys/cddl')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
index fb7d1d8..1a1d4d8 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
@@ -711,9 +711,7 @@ uint64_t zfs_crc64_table[256];
* Level 2 ARC
*/
-/* initial write max */
-#define L2ARC_WRITE_SIZE \
- (8 * 1024 * 1024 * 2 / (ARC_BUFC_NUMMETADATALISTS + ARC_BUFC_NUMDATALISTS))
+#define L2ARC_WRITE_SIZE (8 * 1024 * 1024) /* initial write max */
#define L2ARC_HEADROOM 2 /* num of writes */
/*
* If we discover during ARC scan any buffers to be compressed, we boost
OpenPOWER on IntegriCloud