Add L2ARC tunables
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 Jul 2011 19:41:57 +0000 (12:41 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 8 Jul 2011 19:44:11 +0000 (12:44 -0700)
commitabd8610cd5ffd04f0fa07297f53852e744ea389e
treee2e5a7cc4f3ce7a0085e953e5e0e6c0f51a22b57
parente0f86c98620bbc085a7edddd8f6dbf82e4783a46
Add L2ARC tunables

The performance of the L2ARC can be tweaked by a number of tunables, which
may be necessary for different workloads:

     l2arc_write_max         max write bytes per interval
     l2arc_write_boost       extra write bytes during device warmup
     l2arc_noprefetch        skip caching prefetched buffers
     l2arc_headroom          number of max device writes to precache
     l2arc_feed_secs         seconds between L2ARC writing
     l2arc_feed_min_ms       min feed interval in milliseconds
     l2arc_feed_again        turbo L2ARC warmup
     l2arc_norw              no reads during writes

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #316
module/zfs/arc.c