summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs
AgeCommit message (Collapse)AuthorFilesLines
2018-03-068984 fix for 6764 breaks ACL inheritanceDominik Hassler1-11/+29
Reviewed by: Sam Zaydel <szaydel@racktopsystems.com> Reviewed by: Paul B. Henson <henson@acm.org> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2018-03-032552 smbfs: add support for NFS-like removejilinxpd4-205/+315
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-03-031586 mount_smbfs doesn't document noaclGordon Ross1-3/+19
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-219084 spa_*_ashift must ignore spare devicesPrakash Surya1-8/+0
Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-208484 Implement aggregate sum and use for arc countersPaul Dagnelie8-65/+541
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-149016 Default timeout for NFSv4 ephemeral mounts is wrongMarcel Telka1-1/+1
Reviewed by: Yuri Pankov <yuripv@gmx.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-138857 zio_remove_child() panic due to already destroyed parent zioGeorge Wilson2-20/+40
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andriy Gapon <avg@FreeBSD.org> Reviewed by: Youzhong Yang <youzhong@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2018-02-139074 domount() interprets ZFS filesystem names as relative pathsSebastien Roy5-19/+24
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-02-139080 recursive enter of vdev_indirect_rwlock from vdev_indirect_remap()Serapheim Dimitropoulos1-18/+90
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-02-139079 race condition in starting and ending condesing thread for indirect vdevsSerapheim Dimitropoulos6-66/+452
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-02-139075 Improve ZFS pool import/load process and corrupted pool recoveryPavel Zakharov12-534/+1049
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-02-078942 zfs promote .../%recv should be an errorloli10K1-2/+10
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-078520 lzc_rollback_to should support rolling back to originAndriy Gapon2-10/+50
7198 libzfs should gracefully handle EINVAL from lzc_rollback Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-078477 Assertion failed in vdev_state_dirty(): spa_writeable(spa)loli10K1-1/+1
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-078408 dsl_props_set_sync_impl() does not handle nested nvlists correctlyloli10K1-5/+9
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-079036 zfs: duplicate 'const' declaration specifierToomas Soome1-2/+2
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-079035 zfs: this statement may fall throughToomas Soome4-2/+4
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-068962 zdb should work on non-idle poolsPavel Zakharov1-2/+18
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-068961 SPA load/import should tell us why it failedPavel Zakharov7-80/+288
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-067638 Refactor spa_load_impl into several functionsPavel Zakharov1-172/+479
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-068966 Source file zfs_acl.c, function zfs_aclset_common contains a use after ↵WHR1-1/+1
end of the lifetime of a local variable Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Andriy Gapon <avg@FreeBSD.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-059018 Replace kmem_cache_reap_now() with kmem_cache_reap_soon()Tim Kordas1-11/+36
Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net>
2018-01-308809 libzpool should leverage work done in libfakekernelAndrew Stormont1-1/+8
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-01-308969 Cannot boot from RAIDZ with parity > 1Andy Fiddaman1-0/+4
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andriy Gapon <avg@FreeBSD.org> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
2018-01-268997 ztest assertion failure in zil_lwb_write_issuePrakash Surya5-60/+58
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Andriy Gapon <avg@FreeBSD.org> Approved by: Robert Mustacchi <rm@joyent.com>
2018-01-248731 ASSERT3U(nui64s, <=, UINT16_MAX) fails for large blocksAndriy Gapon1-6/+6
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-01-248805 xattr_dir_lookup() can leak a vnode holdVitaliy Gusev1-7/+3
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-01-188835 Speculative prefetch in ZFS not working for misaligned readsAlexander Motin1-5/+19
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Allan Jude <allanjude@freebsd.org> Approved by: Gordon Ross <gwr@nexenta.com>
2018-01-188652 Tautological comparisons with ZPROP_INVALAlan Somers1-4/+4
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Gordon Ross <gwr@nexenta.com>
2018-01-168959 Add notifications when a scrub is paused or resumedSean Eric Fagan1-1/+5
Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2018-01-168856 arc_cksum_is_equal() doesn't take into account ABD-logicRoman Strashkin1-5/+6
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2018-01-168806 xattr_dir_inactive() releases used vnode with kernel panicVitaliy Gusev1-15/+8
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-01-107614 zfs device evacuation/removalPrashanth Sreenivasa66-736/+6610
Reviewed by: Alex Reece <alex@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Richard Laager <rlaager@wiktel.com> Reviewed by: Tim Chase <tim@chase2k.com> Approved by: Garrett D'Amore <garrett@damore.org>
2017-12-228935 SMB ioctl fixes incompleteDan McDonald2-0/+32
Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Rui Loura <rui.loura@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Dominik Hassler <hasslerd@gmx.li> Approved by: Garrett D'Amore <garrett@damore.org>
2017-12-208930 zfs_zinactive: do not remove the node if the filesystem is readonlyAndriy Gapon1-7/+26
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2017-12-158909 8585 can cause a use-after-free kernel panicPrakash Surya5-74/+130
Reviewed by: John Kennedy <jwk404@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-11-298603 rename zilog's "zl_writer_lock" to "zl_issuer_lock"Prakash Surya2-27/+27
Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-11-178677 Open-Context Channel ProgramsSerapheim Dimitropoulos5-67/+153
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-11-097531 Assign correct flags to prefetched buffersbenrubson2-0/+18
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-11-038607 zfs: variable set but not usedToomas Soome2-13/+11
Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-10-188634 epoll fails to wake on certain edge-triggered conditionsPatrick Mooney2-102/+85
8635 epoll should not emit POLLNVAL 8636 recursive epoll should emit EPOLLRDNORM Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2017-09-288663 SMB client assumes serialized ioctlsGordon Ross2-4/+21
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Albert Lee <trisk@forkgnu.org>
2017-09-288662 SMB server ioctls should be appropriately sized.Gordon Ross1-9/+32
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Albert Lee <trisk@forkgnu.org>
2017-09-258081 Compiler warnings in zdbAlan Somers10-29/+60
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-09-218648 Fix range locking in ZIL commit codepathLOLi2-4/+13
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Andriy Gapon <avg@FreeBSD.org> Reviewed by: Alexander Motin <mav@FreeBSD.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-09-218661 remove "zil-cw2" dtrace probePrakash Surya1-1/+0
Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-09-218600 ZFS channel programs - snapshotChris Williamson7-27/+88
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-09-218592 ZFS channel programs - rollbackBrad Lewis3-12/+47
Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-09-158604 Avoid unnecessary work search in VFS when unmounting snapshotsSerapheim Dimitropoulos3-54/+36
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-09-158605 zfs channel programs: zfs.exists undocumented and non-workingChris Williamson1-1/+1
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>