#
4f23c764 |
| 08-Jul-2016 |
Arne Jansen <jansen@webgods.de> |
This commit fixes https://www.illumos.org/issues/6779.
Chronology of the events:
1. we have an empty directory 2. the filesystem is nearly out of quota 3. a snapshot prevents any space from being f
This commit fixes https://www.illumos.org/issues/6779.
Chronology of the events:
1. we have an empty directory 2. the filesystem is nearly out of quota 3. a snapshot prevents any space from being freed 4. a remote clients calls opendir via nfs4 5. the same client removes the directory 6. the client proceeds with readdir --> boom.
During 4, the client obtains a FH for the directory. During 5, the directory entry gets removed, the inode is added to the unlinked set and z_unlinked is set. Then the inode contents is deleted (dmu_free_long_range). Deletion of the inode itself fails because the fs ran out of space exactly at this moment. The inode is left in the unlinked set, the znode is freed. During 6, the readdir of the client instantiates a new znode for the (empty) inode, this time with z_unlinked unset. During zap read, the contents of the empty file is interpreted as a fatzap, which leads to the crash.
This patch addresses the problem twofold: 1. when instantiating a znode, set z_unlinked when z_links == 0 2. mark the deletion of the inode as netfree (in zfs_rmnode).
refs #3026
(cherry picked from commit 67738a4fd5331c5c62b9fead7a7739afa2476cf9)
show more ...
|
#
79ab756a |
| 08-Jun-2016 |
Simon Klinkert <klinkert@webgods.de> |
zev: truncate offset fix
We range-lock the file now in zfs_freesp() until we've called the zev callback to get rid of problems with inconsistent checksums due to races between truncates.
(cherry pi
zev: truncate offset fix
We range-lock the file now in zfs_freesp() until we've called the zev callback to get rid of problems with inconsistent checksums due to races between truncates.
(cherry picked from commit cab5130f69652564b7b94593617eb27f02e7c3c0)
show more ...
|
#
7d7f3499 |
| 23-Jun-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: some zev code wrapped in _KERNEL ifdef so libzpool will compile.
(cherry picked from commit 1982bded778e89167a56b4cd673a668767f72ab4)
|
#
c080fd8c |
| 19-Jun-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: fix include path for libzpool
(cherry picked from commit 95f8256988695affb5482cf895f73a6f443332e5)
|
#
12119a7e |
| 03-Jun-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: add txg to applicable event type records
(cherry picked from commit be5f9b3c721e52d475c3d7009982992c01c9140e)
|
#
205ed6bf |
| 08-May-2014 |
Andreas Jaekel <jaekel@strato-rz.de> |
zev: calculate beaver-compatible checksums of changes
Ranges required to calculate the checksums will be range locked before the zev callbacks are called. Checksums are calculated in the zev module
zev: calculate beaver-compatible checksums of changes
Ranges required to calculate the checksums will be range locked before the zev callbacks are called. Checksums are calculated in the zev module and reported to userland. Checksums of all-zeroes blocks are omitted. Userland is expected to infer that the block must have bee all-zeroes.
An internal cache is implemented to avoid re-reading the same data over and over again.
(cherry picked from commit d8e62bab61474da73f26dc58b26d937c9cc17397)
show more ...
|
#
37c9dfdc |
| 24-Jun-2013 |
Andreas Jaekel <jaekel@strato-rz.de> |
zfs write event hooks and ioctl()s
(cherry picked from commit aa07598031147c52f81912f0df6e0a894197013a)
|
#
c701fde6 |
| 27-May-2015 |
Gleb Smirnoff <glebius@freebsd.org> |
5961 Fix stack overflow in zfs_create_fs Reviewed by: George Wilson <george@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com>
|
#
b5152584 |
| 07-Nov-2014 |
Matthew Ahrens <matt@mahrens.org> |
5027 zfs large block support Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Review
5027 zfs large block support Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Dan McDonald <danmcd@omniti.com>
show more ...
|
#
c9030f6c |
| 18-Jul-2014 |
Alexander Motin <mav@freebsd.org> |
5008 lock contention (rrw_exit) while running a read only load Reviewed by: Matthew Ahrens <matthew.ahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Alex Reece
5008 lock contention (rrw_exit) while running a read only load Reviewed by: Matthew Ahrens <matthew.ahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Alex Reece <alex.reece@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Richard Yao <ryao@gentoo.org> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Approved by: Garrett D'Amore <garrett@damore.org>
show more ...
|
#
4bb73804 |
| 07-Jul-2014 |
Matthew Ahrens <mahrens@delphix.com> |
4950 files sometimes can't be removed from a full filesystem Reviewed by: Adam Leventhal <adam.leventhal@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Sebastien Roy
4950 files sometimes can't be removed from a full filesystem Reviewed by: Adam Leventhal <adam.leventhal@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Boris Protopopov <bprotopopov@hotmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
show more ...
|
#
43466aae |
| 09-Dec-2013 |
Max Grossman <max.grossman@delphix.com> |
4370 avoid transmitting holes during zfs send 4371 DMU code clean up Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher
4370 avoid transmitting holes during zfs send 4371 DMU code clean up Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Garrett D'Amore <garrett@damore.org>
show more ...
|
#
e722410c |
| 26-Nov-2013 |
Matthew Ahrens <mahrens@delphix.com> |
4347 ZPL can use dmu_tx_assign(TXG_WAIT) Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed b
4347 ZPL can use dmu_tx_assign(TXG_WAIT) Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Boris Protopopov <boris.protopopov@nexenta.com> Approved by: Dan McDonald <danmcd@nexenta.com>
show more ...
|
#
f7170741 |
| 11-Jun-2013 |
Will Andrews <will@firepipe.net> |
3742 zfs comments need cleaner, more consistent style Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Eric Schrock <eric.schrock@
3742 zfs comments need cleaner, more consistent style Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Christopher Siden <christopher.siden@delphix.com>
show more ...
|
#
be6fd75a |
| 08-Mar-2013 |
Matthew Ahrens <mahrens@delphix.com> |
3598 want to dtrace when errors are generated in zfs Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Christopher Siden <christopher.siden@d
3598 want to dtrace when errors are generated in zfs Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
show more ...
|
#
1ce39b5f |
| 20-Sep-2012 |
Jeremy Jones <jeremy@delphix.com> |
3139 zdb dies when it tries to determine path of unlinked file Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Reviewed by: Eric Schrock
3139 zdb dies when it tries to determine path of unlinked file Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Dan McDonald <danmcd@nexenta.com>
show more ...
|
#
fb09f5aa |
| 07-Sep-2012 |
Madhav Suresh <madhav.suresh@delphix.com> |
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
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>
show more ...
|
#
b420f3ad |
| 01-Aug-2012 |
Richard Lowe <richlowe@richlowe.net> |
backout 3006: causes 3046 (panics after mounting root)
|
#
9fa718d2 |
| 31-Jul-2012 |
Madhav Suresh <madhav.suresh@delphix.com> |
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 b
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: Garrett D'Amore <garrett@damore.org>
show more ...
|
#
803376f0 |
| 09-Sep-2010 |
Richard Lowe <richlowe@richlowe.net> |
sync with onnv-gate 13149:b23a4dab3d50 Reviewed by: garrett@nexenta.com, gwr@nexenta.com Approved by: garrett@nexenta.com
|
#
6a634c9d |
| 19-Aug-2010 |
Richard Lowe <richlowe@richlowe.net> |
merge with onnv_147 Reviewed by: garrett@nexenta.com Approved by: garrett@nexenta.com
|
#
163eb7ff |
| 18-Aug-2010 |
Tim Haley <Tim.Haley@Sun.COM> |
6977470 zdb -vvv broken after zfs diff integration
|
#
fd9ee8b5 |
| 12-Aug-2010 |
joyce mcintosh <Joyce.McIntosh@Sun.COM> |
6972305 Preferred DC not selected after setting pdc via sharectl 6971047 smbd hang during FVT regression test 6711195 Sparc:Get error "Windows Explorer has stopped working" once click on Details fr P
6972305 Preferred DC not selected after setting pdc via sharectl 6971047 smbd hang during FVT regression test 6711195 Sparc:Get error "Windows Explorer has stopped working" once click on Details fr Properties on Vista PSARC/2009/464 Offline attribute 6972515 Offline attribute - PSARC 2009/464 PSARC/2010/037 Windows Sparse Attribute 6972519 Windows Sparse Attribute - PSARC 2010/037 6719444 [CLI] - idmap help's output is not consistent with man pages's 6975449 idmap test suite needs idmap_cache_get_data() from libidmap 6974351 OpenSSL still taking smbd down
--HG-- rename : usr/src/lib/libidmap/common/idmap_priv.h => usr/src/cmd/idmap/idmap/namemaps.h
show more ...
|
#
f1696b23 |
| 11-Aug-2010 |
Mark Shellenbaum <Mark.Shellenbaum@Oracle.COM> |
6971929 Unable to add/remove ACE after doing idmap flush -a
|
#
99d5e173 |
| 08-Aug-2010 |
Tim Haley <Tim.Haley@Sun.COM> |
PSARC 2010/105 zfs diff 6425091 want 'zfs diff' to list files that have changed between snapshots
|