summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs
AgeCommit message (Collapse)AuthorFilesLines
2019-02-1110330 merge recent ZoL vdev and metaslab changesSerapheim Dimitropoulos5-87/+106
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Don Brady <don.brady@delphix.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2019-01-3110300 fem: cast between incompatible function typesToomas Soome1-104/+108
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2019-01-2310230 zfs mishandles partial writesJerry Jelinek1-3/+8
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1710189 fdbuffer: cast between incompatible function typesToomas Soome1-2/+3
Reviewed by: Andy Fiddaman <af@citrus-it.net> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1710165 libzpool: passing argument 1 to restrict-qualified parameter aliases ↵Toomas Soome1-4/+5
with argument 4 Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1710211 UFS freebehind can induce hat_pageunload()/htable_purge_hat() raceBryan Cantrill2-154/+1
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: John Levon <john.levon@joyent.com>
2019-01-1710084 fop_open() doesn't need to check for a NULL vnodeJohn Levon1-2/+2
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1710083 smatch fixes for common/fs/vfs.cJohn Levon1-5/+4
Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1410081 smatch indenting fixes for usr/src/utsJohn Levon2-4/+8
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
2019-01-0410154 zfs: cast between incompatible function typesToomas Soome2-4/+6
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-12-219689 zfs range lock code should not be zpl-specificMatthew Ahrens7-400/+432
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-12-175882 Temporary pool namesAndriy Gapon3-6/+53
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-12-139683 Allow bypassing devid in vdev_disk_open()Pavel Zakharov1-1/+46
Reviewed by: Sara Hartse <sara.hartse@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-12-139847 leaking dd_clones (DMU_OT_DSL_CLONES) objectsMatthew Ahrens2-1/+2
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-12-079630 add lzc_rename and lzc_destroy to libzfs_coreAndriy Gapon1-5/+21
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-11-309962 zil_commit should omit cache thrashPrakash Surya5-73/+202
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-11-279963 Seperate tunable for disabling ZIL vdev flushPrakash Surya2-6/+14
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-11-259993 zil writes can get delayed in zio pipelineGeorge Wilson1-1/+2
Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-11-119851 add sys/containerof.h and implement __containerofToomas Soome1-1/+1
Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Andy Fiddaman <omnios@citrus-it.net> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-10-249917 cleanup stale function set_rdattr_params() in nfs4_srv.cVitaliy Gusev1-75/+0
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-198158 Want named threads APIJohn Levon2-14/+105
9857 proc manpages should have LIBRARY section Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-167782 nfs: READDIR for referrals should conform to RFC 7530Vitaliy Gusev1-139/+130
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gerg^V?~E^V?~Q Doma <domag02@gmail.com> Approved by: Garrett D'Amore <garrett@damore.org>
2018-10-149472 Add smbutil discon commandGordon Ross1-12/+0
Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Ken Mays <kmays2000@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-049738 9112 broke third block copy allocations within one metaslab groupAlexander Motin1-7/+5
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-10-049690 metaslab of vdev with no space maps was flushed during removalSerapheim Dimitropoulos1-12/+10
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-10-049688 aggsum_fini leaks memoryPaul Dagnelie2-2/+16
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@joyent.com>
2018-10-049681 ztest failure in spa_history_log_internal due to spa_rename()Matthew Ahrens2-54/+0
Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-10-049682 page fault in dsl_async_clone_destroy() while opening poolSerapheim Dimitropoulos1-4/+9
Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Sara Hartse <sara.hartse@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-10-049862 fix typo in comment in vdev_impl.hAllan Jude1-1/+1
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-201700 Add SCSI UNMAP supportSaso Kiselkov1-29/+53
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-19Backout: 9680 dsl_dataset_hold_obj can leak bookmarks (breaks build)Dan McDonald1-1/+0
This reverts commit 1946268f4b5e55d1de5a354a87463d24be6991ca.
2018-09-189617 too-frequent TXG sync causes excessive write inflationMatthew Ahrens3-5/+11
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-188601 memory leak in get_special_prop()John Gallagher1-6/+11
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Sara Hartse <sara.hartse@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-189680 dsl_dataset_hold_obj can leak bookmarksGeorge Wilson1-0/+1
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-189677 panic from zio_write_gang_block() when creating dump device on ↵Brad Lewis1-6/+14
fragmented rpool Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-189837 nfs_dlinet: allow nfs:// urlsToomas Soome1-6/+33
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Robert Mustacchi <rm@joyent.com>
2018-08-309700 ZFS resilvered mirror does not balance readsJerry Jelinek1-1/+4
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2018-08-19711 smb_rename has its bitwise ops muddledAram Hăvărneanu1-1/+1
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Ken Mays <kmays2000@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-08-139626 move 'static xuio_stats_t xuio_stats' to file where it useIgor Kozhukhov2-16/+20
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-08-069669 Extra zeros sent by sendfile()Marcel Telka1-32/+21
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-08-069063 improve procfs exit handlingJerry Jelinek1-1/+1
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-07-249672 Reserve a ZFS replication stream feature flag for ZSTD compressionAllan Jude1-0/+2
Reviewed by: Matt Ahrens <matt@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-07-239465 ARC check for 'anon_size > arc_c/2' can stall the systemDon Brady6-17/+46
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-07-199055 panic in prgetattrJerry Jelinek1-1/+12
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-07-199641 want stack-clash mitigationPatrick Mooney3-2/+61
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-07-199577 remove zfs_dbuf_evict_key tsdMatthew Ahrens5-55/+46
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-07-199591 ms_shift can be incorrectly changed in MOS config for indirect vdevs ↵Serapheim Dimitropoulos2-3/+15
that have been historically expanded Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <gwilson@zfsmail.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Reviewed by: Tim Chase <tim@chase2k.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-07-189447 NFS unmount is slowMarcel Telka7-139/+254
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Arne Jansen <arne@die-jansens.de> Reviewed by: Ken Mays <kmays2000@gmail.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-06-259267 ufs: this statement may fall throughToomas Soome1-14/+13
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-06-199338 moved dnode has incorrect dn_next_typeMatthew Ahrens1-0/+2
Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>