Commit Graph

16093 Commits

Author SHA1 Message Date
Brian Behlendorf c39498254d Extra reference required for dio struct in __vdev_disk_physio.
Exposed by the fc11 debug kernel we need to hold a reference over all
calls to submit_bio().  Otherwise it is possible all the completion
callbacks run before we exit __vdev_disk_physio(), and we end up with
a GPF.  This was quickly exposed when slab poisoning was enabled.  I
have added helper functions to cleanly track the reference counts.  In
addition dr->dr_ref was converted from an integer to an atomic type
which removes the need for the spinlock.  As a nice side effect of
these changes the code is now slightly cleaner and clearer.
2009-09-02 15:08:40 -07:00
Brian Behlendorf 3bf69e0905 Refresh autogen products 2009-08-18 14:59:40 -07:00
Brian Behlendorf 639e2364bf Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 14:55:22 -07:00
Brian Behlendorf 12909502d2 Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch 2009-08-18 14:55:20 -07:00
Brian Behlendorf c80d8efea2 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-08-18 14:55:19 -07:00
Brian Behlendorf af90397fbc Move ZPIOS chunk to linux-zpios topic branch 2009-08-18 14:48:25 -07:00
Brian Behlendorf aeef1cf6e9 Refresh autogen products 2009-08-18 14:45:04 -07:00
Brian Behlendorf 92bb246ab4 Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch 2009-08-18 14:22:55 -07:00
Brian Behlendorf 970f2d9de7 Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch 2009-08-18 14:22:52 -07:00
Brian Behlendorf 89941e9170 Merge branch 'linux-have-idmap' into refs/top-bases/linux-zfs-branch 2009-08-18 14:22:50 -07:00
Brian Behlendorf 30218c428f Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap 2009-08-18 14:22:48 -07:00
Brian Behlendorf 6d85208db4 Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch 2009-08-18 14:22:39 -07:00
Brian Behlendorf b6443b0f26 Merge commit 'refs/top-bases/linux-ztest' into linux-ztest 2009-08-18 14:22:36 -07:00
Brian Behlendorf 07dd64facf Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch 2009-08-18 14:22:27 -07:00
Brian Behlendorf 1365576b3e Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl 2009-08-18 14:22:24 -07:00
Brian Behlendorf 2158fbf9bc Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch 2009-08-18 14:22:14 -07:00
Brian Behlendorf 5784c67072 Merge commit 'refs/top-bases/linux-unused' into linux-unused 2009-08-18 14:22:11 -07:00
Brian Behlendorf 0a04b4bebb Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch 2009-08-18 14:22:02 -07:00
Brian Behlendorf 547471e842 Merge commit 'refs/top-bases/linux-libspl' into linux-libspl 2009-08-18 14:22:00 -07:00
Brian Behlendorf 7511ee93b8 Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch 2009-08-18 14:21:50 -07:00
Brian Behlendorf cd710627dd Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-08-18 14:21:47 -07:00
Brian Behlendorf 7c2fdfbc49 Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch 2009-08-18 14:21:38 -07:00
Brian Behlendorf 060284b353 Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk 2009-08-18 14:21:35 -07:00
Brian Behlendorf ed5db69c5d Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch 2009-08-18 14:21:26 -07:00
Brian Behlendorf 0076202c0f Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions 2009-08-18 14:21:23 -07:00
Brian Behlendorf a92654d324 Merge branch 'linux-legacy' into refs/top-bases/linux-zfs-branch 2009-08-18 14:21:13 -07:00
Brian Behlendorf a8b8cc4801 Merge commit 'refs/top-bases/linux-legacy' into linux-legacy 2009-08-18 14:21:10 -07:00
Brian Behlendorf 15ccc2b9a4 Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch 2009-08-18 14:21:01 -07:00
Brian Behlendorf 1c5a67a320 Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem 2009-08-18 14:20:58 -07:00
Brian Behlendorf 2203d54992 Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch 2009-08-18 14:20:49 -07:00
Brian Behlendorf f3f51aee8c Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk 2009-08-18 14:20:46 -07:00
Brian Behlendorf 1d5a7b235b Merge branch 'linux-have-zvol' into refs/top-bases/linux-zfs-branch 2009-08-18 14:20:37 -07:00
Brian Behlendorf bc611acf53 Merge commit 'refs/top-bases/linux-have-zvol' into linux-have-zvol 2009-08-18 14:20:35 -07:00
Brian Behlendorf 1f9ee8f414 Merge branch 'linux-have-uio-rw' into refs/top-bases/linux-zfs-branch 2009-08-18 14:20:25 -07:00
Brian Behlendorf d2450a3d32 Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw 2009-08-18 14:20:23 -07:00
Brian Behlendorf 431189f377 Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy 2009-08-18 14:20:21 -07:00
Brian Behlendorf 623479aa05 Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch 2009-08-18 14:20:01 -07:00
Brian Behlendorf 5edf1e174e Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent 2009-08-18 14:19:58 -07:00
Brian Behlendorf ad97c53c74 Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module 2009-08-18 14:19:57 -07:00
Brian Behlendorf f4299088a8 Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch 2009-08-18 14:19:40 -07:00
Brian Behlendorf ca2e28b8eb Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug 2009-08-18 14:19:37 -07:00
Brian Behlendorf 3a1480dc57 Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch 2009-08-18 14:19:27 -07:00
Brian Behlendorf 2d5d5fbc92 Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent 2009-08-18 14:19:25 -07:00
Brian Behlendorf 9a43a2047f Merge branch 'linux-have-libefi' into refs/top-bases/linux-zfs-branch 2009-08-18 14:19:16 -07:00
Brian Behlendorf 87bdf80fb7 Merge commit 'refs/top-bases/linux-have-libefi' into linux-have-libefi 2009-08-18 14:19:13 -07:00
Brian Behlendorf 4e57444943 Merge branch 'linux-have-libdiskmgt' into refs/top-bases/linux-zfs-branch 2009-08-18 14:19:04 -07:00
Brian Behlendorf 63bb0f5fab Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt 2009-08-18 14:19:01 -07:00
Brian Behlendorf 90cd4a6425 Merge branch 'linux-have-fm' into refs/top-bases/linux-zfs-branch 2009-08-18 14:18:52 -07:00
Brian Behlendorf 90f5488896 Merge commit 'refs/top-bases/linux-have-fm' into linux-have-fm 2009-08-18 14:18:49 -07:00
Brian Behlendorf 147adbe815 Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch 2009-08-18 14:18:40 -07:00