Commit Graph

13003 Commits

Author SHA1 Message Date
Brian Behlendorf 161966d8f1 Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-03-19 15:31:41 -07:00
Brian Behlendorf 52f95e1679 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-03-19 15:31:39 -07:00
Brian Behlendorf 5f93916e5a Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-03-19 15:31:34 -07:00
Brian Behlendorf d7243f7729 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-19 15:31:32 -07:00
Brian Behlendorf 7afaaf216e Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2009-03-19 15:31:27 -07:00
Brian Behlendorf f2e6a1bed7 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2009-03-19 15:31:25 -07:00
Brian Behlendorf 3f1d1b65e3 Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch 2009-03-19 15:31:20 -07:00
Brian Behlendorf cd670610b9 Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions 2009-03-19 15:31:18 -07:00
Brian Behlendorf 4a2b038f3d Merge branch 'linux-legacy' into refs/top-bases/linux-zfs-branch 2009-03-19 15:31:13 -07:00
Brian Behlendorf 20ed3226a1 Merge commit 'refs/top-bases/linux-legacy' into linux-legacy 2009-03-19 15:31:11 -07:00
Brian Behlendorf 9794515347 Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch 2009-03-19 15:31:06 -07:00
Brian Behlendorf d751357f54 Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem 2009-03-19 15:31:04 -07:00
Brian Behlendorf e1d0bb1fb2 Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:59 -07:00
Brian Behlendorf 7c39f7c920 Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-03-19 15:30:57 -07:00
Brian Behlendorf 465a55d8fc Merge branch 'linux-have-zvol' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:52 -07:00
Brian Behlendorf a2a33f17e4 Merge commit 'refs/top-bases/linux-have-zvol' into linux-have-zvol 2009-03-19 15:30:50 -07:00
Brian Behlendorf 5c1b8e69eb Merge branch 'linux-have-uio-rw' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:45 -07:00
Brian Behlendorf 852952d742 Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw 2009-03-19 15:30:44 -07:00
Brian Behlendorf 146fb170ef Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy 2009-03-19 15:30:43 -07:00
Brian Behlendorf 7451631ea8 Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:34 -07:00
Brian Behlendorf 86681399b8 Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-03-19 15:30:33 -07:00
Brian Behlendorf e1540e9cbb Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-03-19 15:30:32 -07:00
Brian Behlendorf 0edd5ada89 Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:23 -07:00
Brian Behlendorf e4b719f8f4 Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug 2009-03-19 15:30:21 -07:00
Brian Behlendorf b8ffc2c4e8 Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:16 -07:00
Brian Behlendorf 4f382dd2da Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2009-03-19 15:30:14 -07:00
Brian Behlendorf f01836763b Merge branch 'linux-have-libefi' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:09 -07:00
Brian Behlendorf bdbc546e98 Merge commit 'refs/top-bases/linux-have-libefi' into linux-have-libefi 2009-03-19 15:30:07 -07:00
Brian Behlendorf 1bda6b9b05 Merge branch 'linux-have-libdiskmgt' into refs/top-bases/linux-zfs-branch 2009-03-19 15:30:01 -07:00
Brian Behlendorf 76dfb1d1c3 Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt 2009-03-19 15:29:59 -07:00
Brian Behlendorf d060bcd14b Merge branch 'linux-have-fm' into refs/top-bases/linux-zfs-branch 2009-03-19 15:29:53 -07:00
Brian Behlendorf e75034b8e9 Merge commit 'refs/top-bases/linux-have-fm' into linux-have-fm 2009-03-19 15:29:52 -07:00
Brian Behlendorf e1f087185d Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-03-19 15:29:45 -07:00
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 c8c4948d00 Merge branch 'fix-dnode-cons' into refs/top-bases/fix-branch 2009-03-19 15:29:33 -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 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