diff options
| author | George Amanakis <gamanakis@gmail.com> | 2020-07-30 18:40:44 -0500 |
|---|---|---|
| committer | Jason King <jason.king@joyent.com> | 2020-10-16 11:10:02 -0500 |
| commit | f0a052391861a2b96cf28973c3b7f2854591aa79 (patch) | |
| tree | 653d2330669b465bac1ab1c55b7e24c018cddc8a /usr/src/uts/common/sys/fs/zfs.h | |
| parent | 6218f28969018904255fddf306e6489c7ae28bba (diff) | |
| download | illumos-joyent-f0a052391861a2b96cf28973c3b7f2854591aa79.tar.gz | |
3525 Persistent L2ARC
Portions contributed by: Saso Kiselkov <skiselkov@gmail.com>
Portions contributed by: Jorgen Lundman <lundman@lundman.net>
Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov>
Portions contributed by: Alexander Motin <mav@FreeBSD.org>
Portions contributed by: Jason King <jason.king@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/sys/fs/zfs.h')
| -rw-r--r-- | usr/src/uts/common/sys/fs/zfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/fs/zfs.h b/usr/src/uts/common/sys/fs/zfs.h index f870d6ce7c..819905a8d9 100644 --- a/usr/src/uts/common/sys/fs/zfs.h +++ b/usr/src/uts/common/sys/fs/zfs.h @@ -561,6 +561,11 @@ typedef enum zfs_key_location { #define ZPL_VERSION_USERSPACE ZPL_VERSION_4 #define ZPL_VERSION_SA ZPL_VERSION_5 +/* Persistent L2ARC version */ +#define L2ARC_PERSISTENT_VERSION_1 1ULL +#define L2ARC_PERSISTENT_VERSION L2ARC_PERSISTENT_VERSION_1 +#define L2ARC_PERSISTENT_VERSION_STRING "1" + /* Rewind policy information */ #define ZPOOL_NO_REWIND 1 /* No policy - default behavior */ #define ZPOOL_NEVER_REWIND 2 /* Do not search for best txg or rewind */ |
