<details>
<summary> code diff </summary>
<p>
```
text
```
\
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/sys/ZFSDataset.h b/include/sys/ZFSDataset.h | |
index 7ca3c25..c45c2e3 100644 | |
--- a/include/sys/ZFSDataset.h | |
+++ b/include/sys/ZFSDataset.h | |
@@ -28,6 +28,7 @@ | |
#ifdef __cplusplus | |
#include <IOKit/storage/IOMedia.h> | |
+#include <AvailabilityMacros.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/usr/src/uts/common/fs/zfs/arc.c b/usr/src/uts/common/fs/zfs/arc.c | |
index b2cc3bd..d714f60 100644 | |
--- a/usr/src/uts/common/fs/zfs/arc.c | |
+++ b/usr/src/uts/common/fs/zfs/arc.c | |
@@ -3713,6 +3713,13 @@ arc_hdr_realloc_crypt(arc_buf_hdr_t *hdr, boolean_t need_crypt) | |
} else { | |
arc_hdr_clear_flags(nhdr, ARC_FLAG_PROTECTED); | |
} | |
+ | |
+ // Due to lazy cons/dest in kmem_cache - clear it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/zfs/dsl_deadlist.c b/module/zfs/dsl_deadlist.c | |
index a2e2a1f..9a82a18 100644 | |
--- a/module/zfs/dsl_deadlist.c | |
+++ b/module/zfs/dsl_deadlist.c | |
@@ -105,6 +105,11 @@ dsl_deadlist_open(dsl_deadlist_t *dl, objset_t *os, uint64_t object) | |
mutex_init(&dl->dl_lock, NULL, MUTEX_DEFAULT, NULL); | |
dl->dl_os = os; | |
dl->dl_object = object; | |
+ dl->dl_dbuf = NULL; | |
+ dl->dl_oldfmt = B_TRUE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Solaris defines | |
* int shmget_osm(key_t key, size_t size, int shmflg, | |
* size_t granule_size); | |
* | |
* Which takes one additional argument "granule_size" to regular | |
* int shmget(key_t key, size_t size, int shmflg); | |
* | |
* This is a wrapper library to attempt to support it enough for | |
* Oracle DB client library to work. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Quick & Dirty libfswatch wrapper | |
* | |
* gcc -o lfswatch lfswatch.c -I/export/home/lundman/fswatch-1.15.0/libfswatch/src/libfswatch/c -L/export/home/lundman/fswatch-1.15.0/libfswatch/src/libfswatch/.libs -R/export/home/lundman/fswatch-1.15.0/libfswatch/src/libfswatch/.libs -lfswatch | |
* | |
* - lundman | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/stdtypes.h> | |
#include <stdbool.h> | |
#include <mach/boolean.h> | |
#include <sys/errno.h> | |
#include <stdlib.h> | |
#include <dispatch/dispatch.h> | |
#if !defined(MAC_OS_X_VERSION_10_12) || \ | |
(MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_12) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For output like: | |
Framework error: code: 60 reason: SSL certificate problem: certificate has expir | |
ed | |
URL: 'http://pkg.omniti.com/omnios/r151022' | |
Whilst trying to update 151016 OmniOS TI to CE, and unable to find certificates both still valid, and not too-new. | |
/usr/lib/python2.6/vendor-packages/pkg/client/transport# dtff -rub engine.py orig-engine.py | |
--- engine.py Wed Apr 13 12:02:48 2022 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Update 3 - experimenting with explicit first, all args look correct */ | |
void XXXzfs_blake3_compress_xof_sse2(const uint32_t cv[8], | |
const uint8_t block[BLAKE3_BLOCK_LEN], uint8_t block_len, | |
uint64_t counter, uint8_t flags, uint8_t out[64]) | |
{ | |
long ret; | |
__asm__ ( | |
"mov %[p6], %%r9 \n\t" | |
"mov %[p5], %%r8 \n\t" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Changes needed to assemble on macOS (from Linux) on M1/ARM64e | |
/* | |
* semi-colon is comment, so use secret %% | |
* M1 is 64 bit only | |
* and needs "_" prepended | |
*/ | |
#define ENTRY(x) \ |