summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan McDonald <[email protected]>2015-08-02 08:01:14 -0500
committerBrian Behlendorf <[email protected]>2016-01-26 14:16:03 -0800
commit460a021391d32b7f2e9eb05a9a01946714174e3b (patch)
treea54672787d147121b669126c31c218868e1b1e56 /include
parentd93b45aefc74b9c345ba3cdf3a227ee979a990cd (diff)
Log zvol truncate/discard operations
As the comments in zvol_discard() suggested, the discard operation could be logged to the zil. This is a port of the relevant code from Nexenta as it was added in "701 UNMAP support for COMSTAR" and has been attributed to the author of that commit. References: https://github.com/Nexenta/illumos-nexenta/commit/b77b923 https://github.com/zfsonlinux/zfs/blob/089fa91b/module/zfs/zvol.c#L637 Ported-by: Tim Chase <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions