summaryrefslogtreecommitdiffstats
path: root/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-11-10 08:20:21 +0000
committerdelphij <delphij@FreeBSD.org>2014-11-10 08:20:21 +0000
commitfe03d9b9d26fcae476fe7e7fa57516b0fa684089 (patch)
treefc0c345a3bfb9af0de85b1f0161f8541e1696530 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c
parent57dd09b78bf77575f9ff5b66f08a03c72a220066 (diff)
downloadFreeBSD-src-fe03d9b9d26fcae476fe7e7fa57516b0fa684089.zip
FreeBSD-src-fe03d9b9d26fcae476fe7e7fa57516b0fa684089.tar.gz
MFV r274273:
ZFS large block support. Please note that booting from datasets that have recordsize greater than 128KB is not supported (but it's Okay to enable the feature on the pool). This *may* remain unchanged because of memory constraint. Limited safety belt is provided for mounted root filesystem but use caution is advised. Illumos issue: 5027 zfs large block support MFC after: 1 month
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c
index 3029f7d..7432290 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c
@@ -490,7 +490,7 @@ zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype,
* If the write would overflow the largest block then split it.
*/
if (write_state != WR_INDIRECT && resid > ZIL_MAX_LOG_DATA)
- len = SPA_MAXBLOCKSIZE >> 1;
+ len = SPA_OLD_MAXBLOCKSIZE >> 1;
else
len = resid;
OpenPOWER on IntegriCloud