Etienne Dechamps 5cb63a57f8 Implement the truncate_range() inode operation.
This operation allows "hole punching" in ZFS files. On Solaris this
is done via the vop_space() system call, which maps to the zfs_space()
function. So we just need to write zpl_truncate_range() as a wrapper
around zfs_space().

Note that this only works for regular files, not ZVOLs.

This is currently an insecure implementation without permission
checking, although this isn't that big of a deal since truncate_range()
isn't even callable from userspace.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #334
2012-02-09 15:20:32 -08:00
2012-02-07 16:23:06 -08:00
2012-02-07 16:23:06 -08:00
2012-02-07 16:23:06 -08:00
2012-02-07 16:23:06 -08:00
2012-02-07 16:23:06 -08:00
2012-02-07 16:23:06 -08:00
2012-02-07 16:23:06 -08:00
2010-08-31 13:41:27 -07:00
2012-02-07 16:23:06 -08:00
2011-06-17 16:35:49 -07:00
2011-07-26 10:15:35 -07:00
2010-08-31 13:41:27 -07:00
2012-02-07 16:23:06 -08:00
2010-05-18 10:32:23 -07:00
2012-02-07 16:23:06 -08:00
2011-10-06 14:10:45 -07:00
2008-12-01 14:49:34 -08:00
2010-09-15 09:09:37 -07:00
2012-02-07 16:23:06 -08:00
2012-01-18 12:19:52 -08:00
2010-08-26 14:24:34 -07:00
2012-01-18 12:19:52 -08:00

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org

S
Description
No description provided
Readme 122 MiB
Languages
C 70.2%
Shell 19.9%
Assembly 5.1%
M4 1.9%
Python 1.6%
Other 1.3%