Add sa_spill_rele() interface
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 5 Mar 2012 23:14:15 +0000 (15:14 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Mar 2012 00:28:00 +0000 (16:28 -0800)
commit0ece356db51e225c3d4a26dff7cf67c99b6b9c55
tree8f1e2b35b4c94f8a30dedf65feb5061d903f0043
parent2c6d0b1e07b0265f0661ed7851d3aa8d3e75e7a9
Add sa_spill_rele() interface

Add a SA interface which allows us to release the spill block
from a SA handle without destroying the handle.  This is useful
because we can then ensure that a copy of the dirty spill block
is not made at sync time due to the extra hold.  Susequent calls
to sa_update() or sa_lookup() with transparently refetch the
spill block dbuf from the ARC hash.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
include/sys/sa.h
module/zfs/sa.c