summaryrefslogtreecommitdiff
path: root/usr/src/lib/libzpool
diff options
context:
space:
mode:
authorBrian Behlendorf <behlendorf1@llnl.gov>2019-09-09 08:10:46 -0600
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-09-10 10:28:15 -0600
commit084fd14f7c3336eb67ee283cabad2da8998b00d6 (patch)
treedd1bedf49b682d5802edc30b15127c012e15647e /usr/src/lib/libzpool
parentada70d038ca186abd71e023e9dec2c5148e9b36f (diff)
downloadillumos-joyent-084fd14f7c3336eb67ee283cabad2da8998b00d6.tar.gz
1701 ZFS to support UNMAP/TRIM for SSD
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: George Wilson <george.wilson@delphix.com> Portions contributed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: Chunwei Chen <tuxoko@gmail.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libzpool')
-rw-r--r--usr/src/lib/libzpool/common/sys/zfs_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libzpool/common/sys/zfs_context.h b/usr/src/lib/libzpool/common/sys/zfs_context.h
index 8612aefb0f..5532a81f64 100644
--- a/usr/src/lib/libzpool/common/sys/zfs_context.h
+++ b/usr/src/lib/libzpool/common/sys/zfs_context.h
@@ -22,7 +22,7 @@
* Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2012, 2016 by Delphix. All rights reserved.
- * Copyright (c) 2012, Joyent, Inc. All rights reserved.
+ * Copyright 2019 Joyent, Inc.
* Copyright 2017 RackTop Systems.
*/
@@ -252,6 +252,7 @@ extern int fop_getattr(vnode_t *vp, vattr_t *vap);
#define VOP_CLOSE(vp, f, c, o, cr, ct) 0
#define VOP_PUTPAGE(vp, of, sz, fl, cr, ct) 0
#define VOP_GETATTR(vp, vap, fl, cr, ct) fop_getattr((vp), (vap));
+#define VOP_SPACE(vp, cmd, a, f, o, cr, ct) 0
#define VOP_FSYNC(vp, f, cr, ct) fsync((vp)->v_fd)