Commit Graph

11870 Commits

Author SHA1 Message Date
Brian Behlendorf d24418af38 Merge commit 'refs/top-bases/linux-docs' into linux-docs 2009-03-19 15:29:44 -07:00
Brian Behlendorf 7e8fa40f4d Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-19 15:29:38 -07:00
Brian Behlendorf aa729c745c Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-19 15:29:36 -07:00
Brian Behlendorf db3436fafe Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-19 15:29:35 -07:00
Brian Behlendorf 2518c98d9e Merge branch 'fix-branch' into refs/top-bases/zfs-branch 2009-03-19 15:29:34 -07:00
Brian Behlendorf 97d74db433 Merge commit 'refs/top-bases/fix-branch' into fix-branch 2009-03-19 15:29:33 -07:00
Brian Behlendorf c8c4948d00 Merge branch 'fix-dnode-cons' into refs/top-bases/fix-branch 2009-03-19 15:29:33 -07:00
Brian Behlendorf 60d25f4b93 The patch resolves the extra call to dnode_cons() in dnode_create().
The extra call to the constructor was there to reinitialize the non-
trivial primatives in the dnode (lists, mutexs, condvars, avl tree, etc).
This was safe, although not exactly clean, on Solaris because none of
the primitives allocate memory.  In the Linux port this is not true.
To keep stack usage to a minimum several of the primatives dynamically
allocate memory thus initializing them twice results in a memory leak.

This patch resolves this problem for Solaris and Linux by ensuring all
*_inits are called in the constructor, and all *_destroys are called
in the destructor.  Additionally we ensure that all dnode objects are
properly deconstructed before being freed to the slab, and when the
objects are allocated from the slab all required data members are
explicity initialized to correct values.
2009-03-19 15:22:48 -07:00
Brian Behlendorf 3a7ec5bb09 Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:56 -07:00
Brian Behlendorf 3b401aa3a9 Merge commit 'refs/top-bases/linux-ztest' into linux-ztest 2009-03-19 15:09:55 -07:00
Brian Behlendorf 220b5df696 Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:49 -07:00
Brian Behlendorf 70c010a7ac Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-03-19 15:09:47 -07:00
Brian Behlendorf 2f2919f3ee Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:41 -07:00
Brian Behlendorf 5c6cac69eb Merge commit 'refs/top-bases/linux-unused' into linux-unused 2009-03-19 15:09:39 -07:00
Brian Behlendorf 86b68e6901 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:34 -07:00
Brian Behlendorf 851d80b5ed Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-19 15:09:32 -07:00
Brian Behlendorf 8e814443d1 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:26 -07:00
Brian Behlendorf c495a4bd1f Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-19 15:09:24 -07:00
Brian Behlendorf 2e1abda44d Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:18 -07:00
Brian Behlendorf 74798214dc Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2009-03-19 15:09:17 -07:00
Brian Behlendorf 65454d6dfd Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:10 -07:00
Brian Behlendorf d9fc3ce99d Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions 2009-03-19 15:09:09 -07:00
Brian Behlendorf e357e11dc8 Merge branch 'linux-legacy' into refs/top-bases/linux-zfs-branch 2009-03-19 15:09:03 -07:00
Brian Behlendorf 1cfb1afcfa Merge commit 'refs/top-bases/linux-legacy' into linux-legacy 2009-03-19 15:09:01 -07:00
Brian Behlendorf 043cabf06b Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch 2009-03-19 15:08:55 -07:00
Brian Behlendorf 2a5c75d514 Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem 2009-03-19 15:08:54 -07:00
Brian Behlendorf 7429a45ee0 Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2009-03-19 15:08:48 -07:00
Brian Behlendorf 8b0f4fa45c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-19 15:08:46 -07:00
Brian Behlendorf 258c81e70b Merge branch 'linux-have-zvol' into refs/top-bases/linux-zfs-branch 2009-03-19 15:08:40 -07:00
Brian Behlendorf b313904c89 Merge commit 'refs/top-bases/linux-have-zvol' into linux-have-zvol 2009-03-19 15:08:39 -07:00
Brian Behlendorf d530de790b Merge branch 'linux-have-uio-rw' into refs/top-bases/linux-zfs-branch 2009-03-19 15:08:33 -07:00
Brian Behlendorf f36defdaa7 Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw 2009-03-19 15:08:31 -07:00
Brian Behlendorf 0b74b5ae59 Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy 2009-03-19 15:08:30 -07:00
Brian Behlendorf b1e8b58f3c Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch 2009-03-19 15:08:20 -07:00
Brian Behlendorf 099dd7e175 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-19 15:08:18 -07:00
Brian Behlendorf fd3db92fe7 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-19 15:08:17 -07:00
Brian Behlendorf df492b9293 Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch 2009-03-19 15:08:07 -07:00
Brian Behlendorf 86cb6f2030 Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug 2009-03-19 15:08:05 -07:00
Brian Behlendorf 47b7817a26 Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2009-03-19 15:07:59 -07:00
Brian Behlendorf 6e889437ce Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2009-03-19 15:07:57 -07:00
Brian Behlendorf 52c2ee3910 Merge branch 'linux-have-libefi' into refs/top-bases/linux-zfs-branch 2009-03-19 15:07:52 -07:00
Brian Behlendorf e7d57f2fc0 Merge commit 'refs/top-bases/linux-have-libefi' into linux-have-libefi 2009-03-19 15:07:50 -07:00
Brian Behlendorf a3d8f8756f Merge branch 'linux-have-libdiskmgt' into refs/top-bases/linux-zfs-branch 2009-03-19 15:07:44 -07:00
Brian Behlendorf 63882ec646 Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt 2009-03-19 15:07:42 -07:00
Brian Behlendorf c86d4f0a6e Merge branch 'linux-have-fm' into refs/top-bases/linux-zfs-branch 2009-03-19 15:07:36 -07:00
Brian Behlendorf 5a85b97928 Merge commit 'refs/top-bases/linux-have-fm' into linux-have-fm 2009-03-19 15:07:35 -07:00
Brian Behlendorf 2049b544f1 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-03-19 15:07:29 -07:00
Brian Behlendorf b054f9ca10 Merge commit 'refs/top-bases/linux-docs' into linux-docs 2009-03-19 15:07:27 -07:00
Brian Behlendorf 8cdd340206 Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch 2009-03-19 15:07:21 -07:00
Brian Behlendorf fac4873ad7 Merge commit 'refs/top-bases/linux-arc' into linux-arc 2009-03-19 15:07:19 -07:00