Brian Behlendorf
2be0ef1280
Merge commit 'refs/top-bases/top' into top
2009-07-29 17:57:24 -07:00
Brian Behlendorf
535dab57d2
Refresh autogen products.
2009-07-29 17:54:49 -07:00
Brian Behlendorf
a1681e617a
Merge commit 'refs/top-bases/top' into top
2009-07-29 17:53:24 -07:00
Brian Behlendorf
c3fb5766d2
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2009-07-29 17:53:21 -07:00
Brian Behlendorf
04da8a9177
Merge commit 'refs/top-bases/linux-zfs-branch' into linux-zfs-branch
2009-07-29 17:53:18 -07:00
Brian Behlendorf
95198f4d9b
Merge branch 'linux-have-idmap' into refs/top-bases/linux-zfs-branch
2009-07-29 17:53:17 -07:00
Brian Behlendorf
7a6f771733
Merge commit 'refs/top-bases/linux-have-idmap' into linux-have-idmap
2009-07-29 17:53:15 -07:00
Brian Behlendorf
3390b80591
Merge branch 'linux-ztest' into refs/top-bases/linux-zfs-branch
2009-07-29 17:53:04 -07:00
Brian Behlendorf
87ea315f36
Merge commit 'refs/top-bases/linux-ztest' into linux-ztest
2009-07-29 17:53:02 -07:00
Brian Behlendorf
20c80549a3
Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch
2009-07-29 17:52:54 -07:00
Brian Behlendorf
0d3803f3bb
Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl
2009-07-29 17:52:52 -07:00
Brian Behlendorf
05b2809ae0
Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch
2009-07-29 17:52:44 -07:00
Brian Behlendorf
82a0d925f1
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2009-07-29 17:52:42 -07:00
Brian Behlendorf
84866fd8f4
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2009-07-29 17:52:35 -07:00
Brian Behlendorf
5e58344c4e
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2009-07-29 17:52:33 -07:00
Brian Behlendorf
a5ea239513
Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch
2009-07-29 17:52:22 -07:00
Brian Behlendorf
286b499035
Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
2009-07-29 17:52:20 -07:00
Brian Behlendorf
9aa2272eff
Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch
2009-07-29 17:52:12 -07:00
Brian Behlendorf
1691aecc76
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2009-07-29 17:52:10 -07:00
Brian Behlendorf
d84b66de50
Merge branch 'linux-symbol-collisions' into refs/top-bases/linux-zfs-branch
2009-07-29 17:52:03 -07:00
Brian Behlendorf
b42bf549e7
Merge commit 'refs/top-bases/linux-symbol-collisions' into linux-symbol-collisions
2009-07-29 17:52:01 -07:00
Brian Behlendorf
43405895d4
Merge branch 'linux-legacy' into refs/top-bases/linux-zfs-branch
2009-07-29 17:51:53 -07:00
Brian Behlendorf
120d4ab264
Merge commit 'refs/top-bases/linux-legacy' into linux-legacy
2009-07-29 17:51:50 -07:00
Brian Behlendorf
0eabdd4918
Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch
2009-07-29 17:51:43 -07:00
Brian Behlendorf
de1fd8a096
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2009-07-29 17:51:41 -07:00
Brian Behlendorf
2b54211968
Merge branch 'linux-kernel-disk' into refs/top-bases/linux-zfs-branch
2009-07-29 17:51:33 -07:00
Brian Behlendorf
ed7ca273df
Merge commit 'refs/top-bases/linux-kernel-disk' into linux-kernel-disk
2009-07-29 17:51:31 -07:00
Brian Behlendorf
b5d433aaff
Merge branch 'linux-have-zvol' into refs/top-bases/linux-zfs-branch
2009-07-29 17:51:23 -07:00
Brian Behlendorf
e6e7449ff1
Merge commit 'refs/top-bases/linux-have-zvol' into linux-have-zvol
2009-07-29 17:51:20 -07:00
Brian Behlendorf
77c8dbf960
Merge branch 'linux-have-uio-rw' into refs/top-bases/linux-zfs-branch
2009-07-29 17:51:12 -07:00
Brian Behlendorf
642da38081
Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw
2009-07-29 17:51:09 -07:00
Brian Behlendorf
563526307c
Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy
2009-07-29 17:51:07 -07:00
Brian Behlendorf
5fb5183c73
Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch
2009-07-29 17:50:52 -07:00
Brian Behlendorf
00103d7ce4
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2009-07-29 17:50:50 -07:00
Brian Behlendorf
e50caae469
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2009-07-29 17:50:49 -07:00
Brian Behlendorf
721d8ccc36
Merge branch 'linux-have-spl-debug' into refs/top-bases/linux-zfs-branch
2009-07-29 17:50:31 -07:00
Brian Behlendorf
ad554ba8d9
Merge commit 'refs/top-bases/linux-have-spl-debug' into linux-have-spl-debug
2009-07-29 17:50:29 -07:00
Brian Behlendorf
279b0fdced
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
2009-07-29 17:50:21 -07:00
Brian Behlendorf
368e965fef
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2009-07-29 17:50:19 -07:00
Brian Behlendorf
3a701e0feb
Merge branch 'linux-have-libefi' into refs/top-bases/linux-zfs-branch
2009-07-29 17:50:10 -07:00
Brian Behlendorf
bb9e89091c
Merge commit 'refs/top-bases/linux-have-libefi' into linux-have-libefi
2009-07-29 17:50:07 -07:00
Brian Behlendorf
b041856eef
Merge branch 'linux-have-libdiskmgt' into refs/top-bases/linux-zfs-branch
2009-07-29 17:49:59 -07:00
Brian Behlendorf
5f665fd329
Merge commit 'refs/top-bases/linux-have-libdiskmgt' into linux-have-libdiskmgt
2009-07-29 17:49:57 -07:00
Brian Behlendorf
e1ea9bb67b
Merge branch 'linux-have-fm' into refs/top-bases/linux-zfs-branch
2009-07-29 17:49:47 -07:00
Brian Behlendorf
2156ba969d
Merge commit 'refs/top-bases/linux-have-fm' into linux-have-fm
2009-07-29 17:49:45 -07:00
Brian Behlendorf
7db01ef098
Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
2009-07-29 17:49:36 -07:00
Brian Behlendorf
e69b7dbaf7
Merge commit 'refs/top-bases/linux-docs' into linux-docs
2009-07-29 17:49:34 -07:00
Brian Behlendorf
e925f6cc86
Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch
2009-07-29 17:49:26 -07:00
Brian Behlendorf
aa3525d376
Merge commit 'refs/top-bases/linux-arc' into linux-arc
2009-07-29 17:49:24 -07:00
Brian Behlendorf
4014bd401f
Major vdev_disk feature and API (thru 2.6.30) update.
...
Tested under CHAOS4.2, RHEL5, SLES11, and FC11 (all x86_64)
Features:
Honor spa_mode() when opening the block device. Previously this
was ignored and devices were always opened read/write.
Integrated DKIOCFLUSHWRITECACHE zio operation with linux WRITE_BARRIER
for kernels post 2.6.24 where empty bio requests are supported. For
earlier kernels ENOTSUP is returned and no barriers are performed. If
RHEL5 based kernels are intended to be supported long term we may need
make use of the old akward API.
With the addition of WRITE_BARRIER support all writes which were
WRITE_SYNC can now be safely made WRITE bios. They will now take
advantage of aggregation in the elevator and improved write performance
is likely.
Notice the ZIO_FLAG_SPECULATIVE flag and pass along the hint to the
elevator by using READA instead of READ. This provides the elevator
the ability to prioritize the real READs ahead of the speculative IO
if needed.
Implement an initial version of vdev_disk_io_done() which in the case
of an EIO error triggers a media change check. If it determines a
media change has occured we fail the device and remove it from the
config. This logic I'm sure can be improved further but for now it
is an improvement over the VERIFY() that no error will ever happen.
APIs:
2.6.22 API change
Unused destroy_dirty_buffers arg removed from prototype.
2.6.24 API change
Empty write barriers are now supported and we should use them.
2.6.24 API change
Size argument dropped from bio_endio and bi_end_io, because the
bi_end_io is only called once now when the request is complete.
There is no longer any need for a size argument. This also means
that partial IO's are no longer possibe and the end_io callback
should not check bi->bi_size. Finally, the return type was updated
to void.
2.6.28 API change
open/close_bdev_excl() renamed to open/close_bdev_exclusive().
2.6.29 API change
BIO_RW_SYNC renamed to BIO_RW_SYNCIO.
2009-07-29 17:24:08 -07:00