#
ee88b7a2 |
| 22-Oct-2015 |
Paul Dagnelie <pcd@delphix.com> |
6370 ZFS send fails to transmit some holes Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com>
In certain circumstances, "zfs send -i" (inc
6370 ZFS send fails to transmit some holes Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com>
In certain circumstances, "zfs send -i" (incremental send) can produce a stream which will result in incorrect sparse file contents on the target.
The problem manifests as regions of the received file that should be sparse (and read a zero-filled) actually contain data from a file that was deleted (and which happened to share this file's object ID).
Note: this can happen only with filesystems (not zvols, because they do not free (and thus can not reuse) object IDs).
Note: This can happen only if, since the incremental source (FromSnap), a file was deleted and then another file was created, and the new file is sparse (i.e. has areas that were never written to and should be implicitly zero-filled).
We suspect that this was introduced by 4370 (applies only if hole_birth feature is enabled), and made worse by 5243 (applies if hole_birth feature is disabled, and we never send any holes).
The bug is caused by the hole birth feature. When an object is deleted and replaced, all the holes in the object have birth time zero. However, zfs send cannot tell that the holes are new since the file was replaced, so it doesn't send them in an incremental. As a result, you can end up with invalid data when you receive incremental send streams. As a short-term fix, we can always send holes with birth time 0 (unless it's a zvol or a dataset where we can guarantee that no objects have been reused).
Conflicts:
usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_010_pos.ksh
(cherry picked from commit b69b4dd002eeedb732d8b47b06637354a47a49e2)
show more ...
|
#
c1a50c7e |
| 10-Oct-2015 |
Matthew Ahrens <mahrens@delphix.com> |
2605 want to resume interrupted zfs send Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.
2605 want to resume interrupted zfs send Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Xin Li <delphij@freebsd.org> Reviewed by: Arne Jansen <sensille@gmx.net> Approved by: Dan McDonald <danmcd@omniti.com>
Conflicts:
usr/src/uts/common/fs/zfs/dsl_dataset.c usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
(cherry picked from commit 8429b235e022b012502c97582d69adb8e872431c)
show more ...
|
#
52244c09 |
| 27-Apr-2015 |
John Wren Kennedy <john.kennedy@delphix.com> |
5767 fix several problems with zfs test suite Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Gordon Ross <gwr@nexenta.co
5767 fix several problems with zfs test suite Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
show more ...
|
#
bde3d612 |
| 11-Mar-2015 |
Simon Klinkert <simon.klinkert@gmail.com> |
5704 libzfs can only handle 255 file descriptors Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Richard Lowe <richlowe@ric
5704 libzfs can only handle 255 file descriptors Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
show more ...
|
#
c029eafb |
| 03-Mar-2015 |
Hans Rosenfeld <hans.rosenfeld@nexenta.com> |
5684 ZFS bootfs tests need some work Reviewed by: Jean McCormack <jean.mccormack@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: John Kennedy <john.kennedy@delphix
5684 ZFS bootfs tests need some work Reviewed by: Jean McCormack <jean.mccormack@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com>
show more ...
|
#
7d46dc6c |
| 09-Jul-2014 |
Matthew Ahrens <mahrens@delphix.com> |
4951 ZFS administrative commands should use reserved space, not fail with ENOSPC Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed b
4951 ZFS administrative commands should use reserved space, not fail with ENOSPC Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Garrett D'Amore <garrett@damore.org>
show more ...
|
#
f38cb554 |
| 10-Dec-2013 |
John Wren Kennedy <john.kennedy@delphix.com> |
4206 history_003_pos relies on exact size of history log and entries 4207 history_008_pos depends on obsolete internal history log message 4208 Typo in zfs_main.c: "posxiuser" 4209 Populate zfstest w
4206 history_003_pos relies on exact size of history log and entries 4207 history_008_pos depends on obsolete internal history log message 4208 Typo in zfs_main.c: "posxiuser" 4209 Populate zfstest with the remainder of the STF tests Reviewed by: Sonu Pillai <sonu.pillai@delphix.com> Reviewed by: Will Guyette <will.guyette@delphix.com> Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
show more ...
|
#
7b1753e6 |
| 12-Jan-2013 |
John Wren Kennedy <john.kennedy@delphix.com> |
3444 README for usr/src/test 3445 ZFS tests for restricted aclmode Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Christopher Siden <csiden@delphix.com> Approved by: Richard Lowe <ric
3444 README for usr/src/test 3445 ZFS tests for restricted aclmode Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Christopher Siden <csiden@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
show more ...
|
#
d583b39b |
| 06-Dec-2012 |
John Wren Kennedy <john.kennedy@delphix.com> |
3311 Want a test framework for arbitrary OS unit tests 3312 Add a testrunner package for OS unit tests 3313 Add a testrunner package to convert ZFS tests from STF Reviewed by: Matt Ahrens <matthew.ah
3311 Want a test framework for arbitrary OS unit tests 3312 Add a testrunner package for OS unit tests 3313 Add a testrunner package to convert ZFS tests from STF Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by: Will Guyette <will.guyette@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Henrik Mattson <henrik.mattson@delphix.com> Reviewed by: Sonu Pillai <sonu.pillai@delphix.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>
show more ...
|