Illumos #3137 L2ARC compression
authorSaso Kiselkov <skiselkov@gmail.com>
Thu, 1 Aug 2013 20:02:10 +0000 (13:02 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Aug 2013 20:27:21 +0000 (13:27 -0700)
commit3a17a7a99a1a6332d0999f9be68e2b8dc3933de1
tree6f926bc52a8ae98a69d4b258e66bde381fa691fa
parentc11a12bc3b2e5ee9a6bd74e26f1a396b6025fbd4
Illumos #3137 L2ARC compression

3137 L2ARC compression
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@nexenta.com>

References:
  illumos/illumos-gate@aad02571bc59671aa3103bb070ae365f531b0b62
  https://www.illumos.org/issues/3137
  http://wiki.illumos.org/display/illumos/L2ARC+Compression

Notes for Linux port:

A l2arc_nocompress module option was added to prevent the
compression of l2arc buffers regardless of how a dataset's
compression property is set.  This allows the legacy behavior
to be preserved.

Ported by: James H <james@kagisoft.co.uk>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1379
include/sys/arc.h
include/sys/dbuf.h
include/sys/dmu_objset.h
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_objset.c