Richard Yao f52ebcb3eb Discard on zvols should not exceed the length of a block
37f9dac592 replaced the end-start
calculation with a cached value, but neglected to update it on discard
operations. This can cause us to discard data not requested, causing
data loss on zvols.

Reported-by: Richard Connon <richard.connon@zynstra.com>
Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3798
2015-09-19 14:00:14 -07:00
2015-09-04 16:08:14 -07:00
2015-09-11 11:14:38 -07:00
2015-09-03 14:14:55 -07:00
2015-09-09 14:38:29 -07:00
2015-09-11 11:16:38 -07:00
2014-09-02 14:18:53 -07:00
2015-07-09 13:59:37 -07:00
2012-08-26 13:49:37 -07:00
2015-05-11 15:07:00 -07:00
2015-09-11 11:16:38 -07:00
2008-12-01 14:49:34 -08:00

Native ZFS for Linux!

ZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the Illumos community.

ZFS on Linux, which is also known as ZoL, is currently feature complete. It includes fully functional and stable SPA, DMU, ZVOL, and ZPL layers.

Full documentation for installing ZoL on your favorite Linux distribution 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%