George Wilson
294f68063b
Illumos #3498 panic in arc_read()
...
3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_hdr->b_refcnt)
Reviewed by: Adam Leventhal <ahl@delphix.com >
Reviewed by: Matthew Ahrens <mahrens@delphix.com >
Approved by: Richard Lowe <richlowe@richlowe.net >
References:
illumos/illumos-gate@1b912ec710
https://www.illumos.org/issues/3498
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #1249
2013-07-02 13:34:31 -07:00
Madhav Suresh
c99c90015e
Illumos #3006
...
3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first
argument is zero
Reviewed by Matt Ahrens <matthew.ahrens@delphix.com >
Reviewed by George Wilson <george.wilson@delphix.com >
Approved by Eric Schrock <eric.schrock@delphix.com >
References:
illumos/illumos-gate@fb09f5aad4
https://illumos.org/issues/3006
Requires:
zfsonlinux/spl@1c6d149feb
Ported-by: Tim Chase <tim@chase2k.com >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #1509
2013-06-19 15:14:10 -07:00
Brian Behlendorf
044baf009a
Use taskq for dump_bytes()
...
The vn_rdwr() function performs I/O by calling the vfs_write() or
vfs_read() functions. These functions reside just below the system
call layer and the expectation is they have almost the entire 8k of
stack space to work with. In fact, certain layered configurations
such as ext+lvm+md+multipath require the majority of this stack to
avoid stack overflows.
To avoid this posibility the vn_rdwr() call in dump_bytes() has been
moved to the ZIO_TYPE_FREE, taskq. This ensures that all I/O will be
performed with the majority of the stack space available. This ends
up being very similiar to as if the I/O were issued via sys_write()
or sys_read().
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #1399
Closes #1423
2013-05-06 14:05:42 -07:00
Brian Behlendorf
dd26aa535b
Cast 'zfs bad bloc' to ULL for x86
...
Explicitly case this value to an unsigned long long for 32-bit
systems to inform the compiler that a long type should not be
used. Otherwise we get the following compiler error:
dmu_send.c:376: error: integer constant is too large for
‘long’ type
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2013-02-04 16:39:08 -08:00
Matthew Ahrens
29809a6cba
Illumos #3086 : unnecessarily setting DS_FLAG_INCONSISTENT on async
...
3086 unnecessarily setting DS_FLAG_INCONSISTENT on async
destroyed datasets
Reviewed by: Christopher Siden <chris.siden@delphix.com >
Approved by: Eric Schrock <Eric.Schrock@delphix.com >
References:
illumos/illumos-gate@ce636f8b38
illumos changeset: 13776:cd512c80fd75
https://www.illumos.org/issues/3086
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov >
2013-01-08 10:35:43 -08:00
Christopher Siden
9ae529ec5d
Illumos #2619 and #2747
...
2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags
Reviewed by: Matt Ahrens <mahrens@delphix.com >
Reviewed by: George Wilson <gwilson@delphix.com >
Reviewed by: Richard Lowe <richlowe@richlowe.net >
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com >
Approved by: Eric Schrock <Eric.Schrock@delphix.com >
References:
illumos/illumos-gate@53089ab7c8
illumos/illumos-gate@ad135b5d64
illumos changeset: 13700:2889e2596bd6
https://www.illumos.org/issues/2619
https://www.illumos.org/issues/2747
NOTE: The grub specific changes were not ported. This change
must be made to the Linux grub packages.
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov >
2013-01-08 10:35:35 -08:00
Bill Pijewski
37abac6d55
Illumos #2703 : add mechanism to report ZFS send progress
...
Reviewed by: Matt Ahrens <matt@delphix.com >
Reviewed by: Robert Mustacchi <rm@joyent.com >
Reviewed by: Richard Lowe <richlowe@richlowe.net >
Approved by: Eric Schrock <Eric.Schrock@delphix.com >
References:
https://www.illumos.org/issues/2703
Ported by: Martin Matuska <martin@matuska.org >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2012-09-19 13:39:06 -07:00
Simon Klinkert
c578f007ff
Illumos #2901 : zfs receive fails for exabyte sparse files
...
Reviewed by: Matthew Ahrens <mahrens@delphix.com >
Approved by: Dan McDonald <danmcd@nexenta.com >
References:
https://www.illumos.org/issues/2901
Ported by: Martin Matuska <martin@matuska.org >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2012-08-25 12:28:29 -07:00
Matthew Ahrens
330d06f90d
Illumos #1644 , #1645 , #1646 , #1647 , #1708
...
1644 add ZFS "clones" property
1645 add ZFS "written" and "written@..." properties
1646 "zfs send" should estimate size of stream
1647 "zfs destroy" should determine space reclaimed by
destroying multiple snapshots
1708 adjust size of zpool history data
References:
https://www.illumos.org/issues/1644
https://www.illumos.org/issues/1645
https://www.illumos.org/issues/1646
https://www.illumos.org/issues/1647
https://www.illumos.org/issues/1708
This commit modifies the user to kernel space ioctl ABI. Extra
care should be taken when updating to ensure both the kernel
modules and utilities are updated. This change has reordered
all of the new ioctl()s to the end of the list. This should
help minimize this issue in the future.
Reviewed by: Richard Lowe <richlowe@richlowe.net >
Reviewed by: George Wilson <gwilson@zfsmail.com >
Reviewed by: Albert Lee <trisk@opensolaris.org >
Approved by: Garrett D'Amore <garret@nexenta.com >
Ported by: Martin Matuska <martin@matuska.org >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #826
Closes #664
2012-07-31 09:25:30 -07:00
Alexander Stetsenko
8d35c1499d
Illumos #755 : dmu_recv_stream builds incomplete guid_to_ds_map
...
An incomplete guid_to_ds_map would cause restore_write_byref() to fail
while receiving a de-duplicated backup stream.
Reviewed by: Matthew Ahrens <mahrens@delphix.com >
Reviewed by: Garrett D`Amore <garrett@nexenta.com >
Reviewed by: Gordon Ross <gwr@nexenta.com >
Approved by: Gordon Ross <gwr@nexenta.com >
References to Illumos issue and patch:
- https://www.illumos.org/issues/755
- https://github.com/illumos/illumos-gate/commit/ec5cf9d53a
Signed-off-by: Gunnar Beutner <gunnar@beutner.name >
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #372
2011-10-18 11:18:14 -07:00
Brian Behlendorf
00b46022c6
Add linux kernel memory support
...
Required kmem/vmem changes
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2010-08-31 13:41:57 -07:00
Brian Behlendorf
60948de1ef
Fix stack noinline
...
Certain function must never be automatically inlined by gcc because
they are stack heavy or called recursively. This patch flags all
such functions I've found as 'noinline' to prevent gcc from making
the optimization.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2010-08-31 08:38:49 -07:00
Brian Behlendorf
c65aa5b2b9
Fix gcc missing parenthesis warnings
...
Gcc -Wall warn: 'missing parenthesis'
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2010-08-31 08:38:35 -07:00
Brian Behlendorf
e75c13c353
Fix gcc missing case warnings
...
Gcc ASSERT() missing cases are impossible
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
2010-08-27 15:34:03 -07:00
Brian Behlendorf
572e285762
Update to onnv_147
...
This is the last official OpenSolaris tag before the public
development tree was closed.
2010-08-26 14:24:34 -07:00
Brian Behlendorf
428870ff73
Update core ZFS code from build 121 to build 141.
2010-05-28 13:45:14 -07:00
Brian Behlendorf
45d1cae3b8
Rebase master to b121
2009-08-18 11:43:27 -07:00
Brian Behlendorf
9babb37438
Rebase master to b117
2009-07-02 15:44:48 -07:00
Brian Behlendorf
d164b20935
Rebase master to b108
2009-02-18 12:51:31 -08:00
Brian Behlendorf
172bb4bd5e
Move the world out of /zfs/ and seperate out module build tree
2008-12-11 11:08:09 -08:00