Brian Behlendorf
06b5dc883f
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-06-14 15:51:52 -07:00
Brian Behlendorf
953aa00176
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2010-06-14 15:51:51 -07:00
Brian Behlendorf
5fa2cb516b
Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
2010-06-14 15:51:50 -07:00
Brian Behlendorf
91cc4e35bb
Updates to linux-libspl
...
Added print_timestamp() compatibility function, this will be needed
long term but it's a simply enough addition.
Added Solaris style label functions. This was done simply to aid in
the initial update to onnv_141. I'm hopeful that after more careful
inspection all of this can be removed and we can integrate with a
more Linux friendly Solution without breaking any compatibility.
Added several missing headers which are required by the updated
version of ZFS. As usual I just add empty headers if needed because
it's easier than tracking the change against the core ZFS code.
Added SEC, MILLISEC, MICROSEC defines if unavailable.
Added missing xuio structure and typedefs. I'm hopeful these can
be removed as well once we crack the zero-copy nut under Linux.
2010-06-14 15:47:54 -07:00
Brian Behlendorf
c430e23552
Update zfs-branch with build system updates
...
Required Makefile modifications for updated ZFS code.
2010-06-14 15:46:11 -07:00
Brian Behlendorf
696ec7fb61
Update gcc-missing-braces based on structure changes
...
Almost exclusively this patch handled the addition of another char
array to the zfs_cmd_t structure. Unfortunately c90 doesn't allow
zero filling the entire struct with the '= { 0 };' shorthand.
2010-06-14 15:44:06 -07:00
Brian Behlendorf
909f2326b5
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-06-14 15:39:21 -07:00
Brian Behlendorf
c52a71873a
Merge commit 'refs/top-bases/linux-events' into linux-events
2010-06-14 15:38:51 -07:00
Brian Behlendorf
a43ad49f64
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-06-14 15:38:09 -07:00
Brian Behlendorf
d860bca64c
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-06-14 15:37:52 -07:00
Brian Behlendorf
ec5ef84e8a
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-06-14 15:37:35 -07:00
Brian Behlendorf
e796e2a03e
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
2010-06-14 15:37:10 -07:00
Brian Behlendorf
efdca3b5bc
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-06-14 15:37:07 -07:00
Brian Behlendorf
7eadc495c6
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-06-14 15:37:05 -07:00
Brian Behlendorf
b5ba75f385
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2010-06-14 15:37:03 -07:00
Brian Behlendorf
c8d75a1c9d
Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch
2010-06-14 15:37:00 -07:00
Brian Behlendorf
1893aa76ec
Update gcc-no-parenthesis
...
Fix new locations of missing parenthesis according to gcc.
2010-06-14 15:16:41 -07:00
Brian Behlendorf
112c20eb8b
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-06-14 14:44:57 -07:00
Brian Behlendorf
6b17084f5f
Merge commit 'refs/top-bases/linux-events' into linux-events
2010-06-14 14:44:31 -07:00
Brian Behlendorf
d701c42ed6
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-06-14 14:43:54 -07:00
Brian Behlendorf
47e0108ff6
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-06-14 14:43:39 -07:00
Brian Behlendorf
e35eb21d6a
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-06-14 14:43:24 -07:00
Brian Behlendorf
4152507366
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
2010-06-14 14:43:02 -07:00
Brian Behlendorf
f1b9fa56b3
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-06-14 14:43:00 -07:00
Brian Behlendorf
bdf5763c0a
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-06-14 14:42:58 -07:00
Brian Behlendorf
9f9a451561
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2010-06-14 14:42:57 -07:00
Brian Behlendorf
fc490c18b6
Merge branch 'gcc-cast' into refs/top-bases/gcc-branch
2010-06-14 14:42:56 -07:00
Brian Behlendorf
dd8f6da3da
Update gcc-cast
...
Fix new instances of missing casts or assumed types.
2010-06-14 14:40:10 -07:00
Brian Behlendorf
98c6ae53c8
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-28 22:25:41 -07:00
Brian Behlendorf
61f5fa262e
Merge branch 'linux-unused' into refs/top-bases/linux-zfs-branch
...
Conflicts:
lib/libzpool/include/sys/zfs_context.h
2010-05-28 22:21:07 -07:00
Brian Behlendorf
b41143632b
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
...
Conflicts:
cmd/zpool/zpool_main.c
cmd/zpool/zpool_vdev.c
cmd/ztest/ztest.c
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_import.c
lib/libzfs/libzfs_mount.c
lib/libzfs/libzfs_pool.c
lib/libzfs/libzfs_sendrecv.c
lib/libzpool/include/sys/zfs_context.h
module/zcommon/include/sys/fs/zfs.h
module/zcommon/zfs_comutil.c
module/zfs/arc.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dmu_send.c
module/zfs/dmu_tx.c
module/zfs/dsl_dataset.c
module/zfs/dsl_dir.c
module/zfs/dsl_scrub.c
module/zfs/fm.c
module/zfs/include/sys/dmu.h
module/zfs/include/sys/fm/fs/zfs.h
module/zfs/include/sys/fm/protocol.h
module/zfs/include/sys/spa.h
module/zfs/include/sys/zfs_context.h
module/zfs/include/sys/zfs_ioctl.h
module/zfs/include/sys/zvol.h
module/zfs/spa.c
module/zfs/spa_boot.c
module/zfs/spa_history.c
module/zfs/spa_misc.c
module/zfs/txg.c
module/zfs/vdev.c
module/zfs/zfs_fm.c
module/zfs/zfs_ioctl.c
module/zfs/zfs_replay.c
module/zfs/zfs_znode.c
module/zfs/zil.c
module/zfs/zio.c
2010-05-28 22:14:39 -07:00
Brian Behlendorf
8c67d72771
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
...
Conflicts:
cmd/zpool/zpool_main.c
cmd/zpool/zpool_vdev.c
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_import.c
lib/libzfs/libzfs_mount.c
lib/libzfs/libzfs_pool.c
2010-05-28 21:41:17 -07:00
Brian Behlendorf
e776fc7fa7
Merge commit 'refs/top-bases/linux-unused' into linux-unused
...
Conflicts:
lib/libzpool/include/sys/zfs_context.h
2010-05-28 21:33:46 -07:00
Brian Behlendorf
3211073f1f
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-05-28 21:32:23 -07:00
Brian Behlendorf
5e8f78191e
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
...
Conflicts:
module/zfs/dmu_send.c
module/zfs/spa_history.c
module/zfs/txg.c
module/zfs/zfs_ioctl.c
2010-05-28 21:31:31 -07:00
Brian Behlendorf
7008960b9e
Merge commit 'refs/top-bases/linux-events' into linux-events
...
Conflicts:
lib/libzpool/include/sys/zfs_context.h
module/zcommon/include/sys/fs/zfs.h
module/zfs/dsl_scrub.c
module/zfs/fm.c
module/zfs/include/sys/fm/fs/zfs.h
module/zfs/include/sys/fm/protocol.h
module/zfs/include/sys/spa.h
module/zfs/include/sys/zfs_context.h
module/zfs/spa.c
module/zfs/spa_misc.c
module/zfs/vdev.c
module/zfs/zfs_fm.c
2010-05-28 16:42:29 -07:00
Brian Behlendorf
e2ca9a51c0
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-05-28 15:46:16 -07:00
Brian Behlendorf
812761eac5
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
...
Conflicts:
cmd/ztest/ztest.c
2010-05-28 15:46:10 -07:00
Brian Behlendorf
e27754d9e8
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
...
Conflicts:
cmd/ztest/ztest.c
lib/libzfs/libzfs_sendrecv.c
module/zfs/dmu_objset.c
module/zfs/dnode.c
module/zfs/dnode_sync.c
module/zfs/dsl_dataset.c
module/zfs/include/sys/dmu_tx.h
module/zfs/include/sys/txg.h
module/zfs/spa_history.c
2010-05-28 15:45:38 -07:00
Brian Behlendorf
06ba6dc528
Merge branch 'gcc-missing-braces' into refs/top-bases/gcc-branch
...
Conflicts:
lib/libzfs/libzfs_pool.c
2010-05-28 15:39:07 -07:00
Brian Behlendorf
3e2be634a5
Merge branch 'gcc-c90' into refs/top-bases/gcc-branch
...
Conflicts:
cmd/zdb/zdb.c
cmd/zdb/zdb_il.c
cmd/zfs/zfs_main.c
cmd/zfs/zfs_util.h
cmd/zinject/zinject.h
cmd/zpool/zpool_main.c
cmd/zpool/zpool_util.c
cmd/ztest/ztest.c
lib/libnvpair/include/libnvpair.h
lib/libnvpair/libnvpair.c
lib/libzfs/libzfs_changelist.c
lib/libzfs/libzfs_config.c
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_import.c
lib/libzfs/libzfs_mount.c
lib/libzfs/libzfs_pool.c
lib/libzfs/libzfs_sendrecv.c
module/avl/avl.c
module/avl/include/sys/avl.h
module/nvpair/include/sys/nvpair.h
module/nvpair/nvpair.c
module/zcommon/include/zfs_comutil.h
module/zcommon/include/zfs_prop.h
module/zcommon/zfs_comutil.c
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dmu_zfetch.c
module/zfs/dnode_sync.c
module/zfs/dsl_dataset.c
module/zfs/dsl_pool.c
module/zfs/dsl_prop.c
module/zfs/dsl_synctask.c
module/zfs/include/sys/dmu_tx.h
module/zfs/include/sys/dmu_zfetch.h
module/zfs/include/sys/dsl_synctask.h
module/zfs/include/sys/refcount.h
module/zfs/include/sys/txg.h
module/zfs/include/sys/uberblock.h
module/zfs/include/sys/zap_leaf.h
module/zfs/include/sys/zfs_debug.h
module/zfs/include/sys/zfs_znode.h
module/zfs/include/sys/zio_compress.h
module/zfs/include/sys/zvol.h
module/zfs/lzjb.c
module/zfs/metaslab.c
module/zfs/refcount.c
module/zfs/sha256.c
module/zfs/spa.c
module/zfs/spa_boot.c
module/zfs/uberblock.c
module/zfs/vdev.c
module/zfs/zap_micro.c
module/zfs/zfs_ioctl.c
module/zfs/zfs_replay.c
module/zfs/zio.c
module/zfs/zio_compress.c
2010-05-28 15:34:57 -07:00
Brian Behlendorf
28e07224db
Merge commit 'refs/top-bases/gcc-no-parenthesis' into gcc-no-parenthesis
...
Conflicts:
lib/libzfs/libzfs_dataset.c
module/zfs/dmu_objset.c
module/zfs/dsl_dataset.c
module/zfs/dsl_pool.c
module/zfs/spa.c
module/zfs/zfs_ioctl.c
module/zfs/zio.c
2010-05-28 14:54:33 -07:00
Brian Behlendorf
3571832262
Merge commit 'refs/top-bases/gcc-missing-braces' into gcc-missing-braces
...
Conflicts:
cmd/zdb/zdb.c
cmd/ztest/ztest.c
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_pool.c
lib/libzfs/libzfs_sendrecv.c
2010-05-28 14:46:39 -07:00
Brian Behlendorf
475bf41d1c
Merge commit 'refs/top-bases/gcc-cast' into gcc-cast
...
Conflicts:
cmd/zfs/zfs_main.c
cmd/zpool/zpool_main.c
cmd/ztest/ztest.c
2010-05-28 14:36:18 -07:00
Brian Behlendorf
957b7b41d4
Merge commit 'refs/top-bases/gcc-c90' into gcc-c90
...
Conflicts:
cmd/zdb/zdb.c
cmd/ztest/ztest.c
module/zfs/dbuf.c
module/zfs/dsl_dataset.c
module/zfs/dsl_scrub.c
module/zfs/spa.c
module/zfs/vdev.c
module/zfs/zio.c
2010-05-28 14:19:22 -07:00
Brian Behlendorf
89089d1e4b
Merge commit 'refs/top-bases/fix-stack' into fix-stack
...
Conflicts:
module/zfs/dmu_objset.c
module/zfs/spa_history.c
2010-05-28 13:54:08 -07:00
Brian Behlendorf
31630287ca
Merge branch 'fix-dbuf_dirty_record_t' into refs/top-bases/fix-branch
...
Conflicts:
lib/libzfs/libzfs_sendrecv.c
module/zfs/dmu_objset.c
module/zfs/dnode.c
module/zfs/dsl_dataset.c
module/zfs/spa_history.c
2010-05-28 13:51:29 -07:00
Brian Behlendorf
428870ff73
Update core ZFS code from build 121 to build 141.
2010-05-28 13:45:14 -07:00
Brian Behlendorf
0ca44b6f4b
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-28 12:43:05 -07:00
Brian Behlendorf
885089decd
Merge commit 'refs/top-bases/linux-events' into linux-events
2010-05-28 12:42:57 -07:00
Brian Behlendorf
175e34e7e5
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-05-28 12:42:49 -07:00
Brian Behlendorf
975c590689
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-05-28 12:42:46 -07:00
Brian Behlendorf
f86bf1dc03
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-05-28 12:42:42 -07:00
Brian Behlendorf
0e19c10052
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-05-28 12:42:37 -07:00
Brian Behlendorf
002809a885
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
2010-05-28 12:42:31 -07:00
Brian Behlendorf
2c62b4294e
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-05-28 12:42:30 -07:00
Brian Behlendorf
06da6ccf97
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-05-28 12:42:30 -07:00
Brian Behlendorf
818eafca5b
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2010-05-28 12:42:30 -07:00
Brian Behlendorf
c91169c7c5
Merge branch 'gcc-shadow' into refs/top-bases/gcc-branch
...
Conflicts:
lib/libzfs/libzfs_util.c
2010-05-28 12:42:27 -07:00
Brian Behlendorf
fb72c6ef81
Revert gcc-shadow using -Wno-shadow I can live with
...
While I would rather fix all the instances where something is shadowed
it complicates tracking the OpenSolaris code where they either don't
seem to care or have different conflicts. Anyway, this ends up being
more simply gratutous change than I care for.
2010-05-28 12:34:45 -07:00
Brian Behlendorf
53cd315c2a
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-28 12:21:05 -07:00
Brian Behlendorf
518ac2b604
Merge commit 'refs/top-bases/linux-events' into linux-events
2010-05-28 12:20:58 -07:00
Brian Behlendorf
b4fae13090
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-05-28 12:20:49 -07:00
Brian Behlendorf
e8b45e9146
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-05-28 12:20:47 -07:00
Brian Behlendorf
013e3d3913
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-05-28 12:20:42 -07:00
Brian Behlendorf
9ecb475647
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-05-28 12:20:38 -07:00
Brian Behlendorf
c7c0e673a3
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-05-28 12:20:31 -07:00
Brian Behlendorf
01123eabf6
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-05-28 12:20:31 -07:00
Brian Behlendorf
7bf93b95ff
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
2010-05-28 12:20:31 -07:00
Brian Behlendorf
fcfae8fbee
Merge branch 'fix-get-configs' into refs/top-bases/fix-branch
2010-05-28 12:20:30 -07:00
Brian Behlendorf
8390fe4b4b
Merge branch 'fix-branch' into refs/top-bases/zfs-branch
2010-05-28 12:20:30 -07:00
Brian Behlendorf
c37d6443a4
Revert fix-get-configs should no longer be needed
2010-05-28 12:18:45 -07:00
Brian Behlendorf
37ecc84897
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-27 16:24:01 -07:00
Brian Behlendorf
4c03b2d914
Merge commit 'refs/top-bases/linux-events' into linux-events
2010-05-27 16:23:26 -07:00
Brian Behlendorf
bc51c21ff9
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-05-27 16:22:44 -07:00
Brian Behlendorf
9a0a10e569
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-05-27 16:22:34 -07:00
Brian Behlendorf
b23468df87
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-05-27 16:22:13 -07:00
Brian Behlendorf
88f2b26c8f
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-05-27 16:21:51 -07:00
Brian Behlendorf
a08f4edee7
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
2010-05-27 16:21:20 -07:00
Brian Behlendorf
98e40dfce7
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-05-27 16:21:19 -07:00
Brian Behlendorf
ea431b4dc6
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-05-27 16:14:04 -07:00
Brian Behlendorf
319f69734b
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
...
Conflicts:
cmd/ztest/ztest.c
2010-05-27 16:13:19 -07:00
Brian Behlendorf
390995db28
Revert all remaining changes.
2010-05-27 14:25:06 -07:00
Brian Behlendorf
4b3317d13f
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-27 13:37:44 -07:00
Brian Behlendorf
48ef5ee10e
Merge commit 'refs/top-bases/linux-events' into linux-events
2010-05-27 13:37:35 -07:00
Brian Behlendorf
87875a5eb3
Merge commit 'refs/top-bases/linux-unused' into linux-unused
...
Conflicts:
lib/libzpool/include/sys/zfs_context.h
2010-05-27 13:37:20 -07:00
Brian Behlendorf
c5f0856203
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-05-27 13:36:29 -07:00
Brian Behlendorf
9f83c4b546
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
...
Conflicts:
lib/libzpool/kernel.c
2010-05-27 13:36:18 -07:00
Brian Behlendorf
9d688fef79
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-05-27 13:35:51 -07:00
Brian Behlendorf
95885a2f68
Merge branch 'linux-have-mntent' into refs/top-bases/linux-zfs-branch
...
Conflicts:
lib/libzpool/include/sys/zfs_context.h
lib/libzpool/kernel.c
2010-05-27 13:35:09 -07:00
Brian Behlendorf
c17d3e05eb
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
2010-05-27 13:32:58 -07:00
Brian Behlendorf
06cd2491e5
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-05-27 13:32:58 -07:00
Brian Behlendorf
51536ea5f4
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-05-27 13:32:58 -07:00
Brian Behlendorf
a082023842
Merge commit 'refs/top-bases/feature-branch' into feature-branch
...
Conflicts:
cmd/ztest/ztest.c
lib/libzpool/include/sys/zfs_context.h
lib/libzpool/kernel.c
lib/libzpool/taskq.c
2010-05-27 13:30:48 -07:00
Brian Behlendorf
099e8e493a
Remove feature-pthreads prior to b141 update.
...
The pthreads change will need to be reworked and reapplied.
This will be easier to do from scratch rather than sort out
the merge.
2010-05-27 13:23:58 -07:00
Brian Behlendorf
39593d4e42
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-23 09:45:44 -07:00
Brian Behlendorf
4eb91f73a1
Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch
2010-05-23 09:45:42 -07:00
Brian Behlendorf
f36da16d36
Skip /dev/watchdog when scanning /dev/ for import.
...
Do not open /dev/watchdog to stat it because it requires a special
close or the watchdog with be triggered and the system reset.
2010-05-23 09:38:29 -07:00
Brian Behlendorf
343bcf823f
Refresh autogen products with automake 1.11.1
2010-05-21 16:04:53 -07:00
Brian Behlendorf
3193647679
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-21 10:51:52 -07:00
Brian Behlendorf
14152c7b2c
Merge branch 'linux-user-util' into refs/top-bases/linux-zfs-branch
2010-05-21 10:49:47 -07:00
Brian Behlendorf
868e5de066
Add linux-user-util topic branch.
...
This topic branch contains required changes to the user space
utilities to allow them to integrate cleanly with Linux.
2010-05-21 10:47:59 -07:00
Brian Behlendorf
13ed2ef931
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-21 10:44:31 -07:00
Brian Behlendorf
3b79eba6d7
Merge branch 'linux-debug-zerocopy' into refs/top-bases/linux-zfs-branch
2010-05-21 10:44:28 -07:00
Brian Behlendorf
a876892309
Revert user space changes from linux-kernel-module topic branch.
...
These changes do not belong on linux-kernel-module since they
are tweaks to user space utilities. I'm reverting them from
this topic branch and will be moving them to a new topic branch
which can be used for just this sort of thing.
2010-05-21 10:40:09 -07:00
Brian Behlendorf
e0309d9f3c
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-20 14:51:16 -07:00
Brian Behlendorf
c8d574777d
Merge branch 'linux-kernel-mem' into refs/top-bases/linux-zfs-branch
2010-05-20 14:51:13 -07:00
Brian Behlendorf
fe3cca82ae
Support KM_NODEBUG kmem flag.
...
It turns out the zil allocates quite large buffers. This isn't
all the surprising but we need to suppress the warnings until
it's clear what to do about it.
2010-05-20 14:35:02 -07:00
Brian Behlendorf
89375ef80b
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-20 10:29:55 -07:00
Brian Behlendorf
19035d1734
Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch
2010-05-20 10:26:10 -07:00
Brian Behlendorf
b50494ba2d
Add missing header observed after linux-legacy was reverted.
...
Interestingly this has only been a problem on a clean RHEL6
install so I suspect the include was removed from one of the
standard system include headers. We should be including it
explicitly anyway since it's used in both of these .c files.
2010-05-20 10:04:10 -07:00
Brian Behlendorf
233c86a30a
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-18 16:24:57 -07:00
Brian Behlendorf
d0fb672d5b
Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch
2010-05-18 16:23:33 -07:00
Brian Behlendorf
e19dec32a7
Minor fix from linux-legacy branch.
...
Fold in a minor fix from the removed linux-legacy branch to skip checking
character devices in /dev/ during import. Under Linux pread() may simply
block when reading from these devices causing the import to hang.
2010-05-18 16:13:10 -07:00
Brian Behlendorf
a0d5b22e98
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-18 13:42:36 -07:00
Brian Behlendorf
ae9ef8987f
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2010-05-18 13:42:34 -07:00
Brian Behlendorf
c98946e318
Add missing CDDL headers.
2010-05-18 13:38:06 -07:00
Brian Behlendorf
b1be987202
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-18 12:53:06 -07:00
Brian Behlendorf
c5004e8fb1
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2010-05-18 12:53:04 -07:00
Brian Behlendorf
2a80af91ed
Remove nvpair_alloc_system.c change in libspl topic branch.
...
A change to the nvpair implementation should not have been made in
the libspl-topic branch. This patch fixes that accident by reverting
the change and providing the missing libspl header to allow the
proper building of nvpair_alloc_system.c without the need to modify it.
2010-05-18 12:47:08 -07:00
Brian Behlendorf
caef19af88
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-18 12:17:20 -07:00
Brian Behlendorf
9c65da32f1
Merge branch 'linux-legacy' into refs/top-bases/linux-zfs-branch
2010-05-18 12:17:18 -07:00
Brian Behlendorf
a056f3de6d
Revert linux-legacy topic branch.
...
These changes were made when some development was still occuring
under RHEL4. Since then the needed fopendir() and atopen() APIs
have become commonly available under Linux. Since I have no
intention of supporting systems as old as RHEL4 we can safely
drop the topic branch.
2010-05-18 12:10:13 -07:00
Brian Behlendorf
6e06d537fe
Refresh autogen products
2010-05-14 13:36:31 -07:00
Brian Behlendorf
d6f1f21cae
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2010-05-14 13:31:27 -07:00
Brian Behlendorf
66c45ef1f4
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-14 12:59:08 -07:00
Brian Behlendorf
feb723fa7d
Merge branch 'linux-events' into refs/top-bases/linux-zfs-branch
2010-05-14 12:55:10 -07:00
Brian Behlendorf
97d19a5e45
Add linux-events topic branch for zevent handling.
...
This topic branch leverages the Solaris style FMA call points
in ZFS to create a user space visible event notification system
under Linux. This new system is called zevent and it unifies
all previous Solaris style ereports and sysevent notifications.
Under this Linux specific scheme when a sysevent or ereport event
occurs an nvlist describing the event is created which looks almost
exactly like a Solaris ereport. These events are queued up in the
kernel when they occur and conditionally logged to the console.
It is then up to a user space application to consume the events
and do whatever it likes with them.
To make this possible the existing /dev/zfs ABI has been extended
with two new ioctls which behave as follows.
* ZFS_IOC_EVENTS_NEXT
Get the next pending event. The kernel will keep track of the last
event consumed by the file descriptor and provide the next one if
available. If no new events are available the ioctl() will block
waiting for the next event. This ioctl may also be called in a
non-blocking mode by setting zc.zc_guid = ZEVENT_NONBLOCK. In the
non-blocking case if no events are available ENOENT will be returned.
It is possible that ESHUTDOWN will be returned if the ioctl() is
called while module unloading is in progress. And finally ENOMEM
may occur if the provided nvlist buffer is not large enough to
contain the entire event.
* ZFS_IOC_EVENTS_CLEAR
Clear are events queued by the kernel. The kernel will keep a fairly
large number of recent events queued, use this ioctl to clear the
in kernel list. This will effect all user space processes consuming
events.
The zpool command has been extended to use this events ABI with the
'events' subcommand. You may run 'zpool events -v' to output a
verbose log of all recent events. This is very similar to the
Solaris 'fmdump -ev' command with the key difference being it also
includes what would be considered sysevents under Solaris. You
may also run in follow mode with the '-f' option. To clear the
in kernel event queue use the '-c' option.
$ sudo cmd/zpool/zpool events -fv
TIME CLASS
May 13 2010 16:31:15.777711000 ereport.fs.zfs.config.sync
class = "ereport.fs.zfs.config.sync"
ena = 0x40982b7897700001
detector = (embedded nvlist)
version = 0x0
scheme = "zfs"
pool = 0xed976600de75dfa6
(end detector)
time = 0x4bec8bc3 0x2e5aed98
pool = "zpios"
pool_guid = 0xed976600de75dfa6
pool_context = 0x0
While the 'zpool events' command is handy for interactive debugging
it is not expected to be the primary consumer of zevents. This ABI
was primarily added to facilitate the addition of a user space
monitoring daemon. This daemon would consume all events posted by
the kernel and based on the type of event perform an action. For
most events simply forwarding them on to syslog is likely enough.
But this interface also cleanly allows for more sophisticated
actions to be taken such as generating an email for a failed drive
2010-05-14 12:40:44 -07:00
Brian Behlendorf
500e506883
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-14 11:01:48 -07:00
Brian Behlendorf
6079f61615
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-05-14 11:01:26 -07:00
Brian Behlendorf
821a652a56
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-05-14 11:01:17 -07:00
Brian Behlendorf
0f536cc091
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-05-14 11:00:59 -07:00
Brian Behlendorf
7088870ae6
Merge commit 'refs/top-bases/linux-legacy' into linux-legacy
2010-05-14 11:00:41 -07:00
Brian Behlendorf
e64cab1869
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-05-14 11:00:32 -07:00
Brian Behlendorf
c9eeeb7cbc
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-05-14 11:00:04 -07:00
Brian Behlendorf
6ae8aa39ab
Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
2010-05-14 10:59:57 -07:00
Brian Behlendorf
20ee89f0f2
Add nvpair_alloc_fixed.c in to libnvpair build.
2010-05-14 10:55:02 -07:00
Brian Behlendorf
e55a65895a
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-05-14 10:44:14 -07:00
Brian Behlendorf
3809bc6ac5
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2010-05-14 10:44:12 -07:00
Brian Behlendorf
9b8aa5f57e
Extend libspl as required for linux FMA integration.
...
These changes lay some of the ground work for supporting something
similar to FMA event under Solaris. In particular these changes
add or modify the following areas.
First off an implementation of the gethrestime() function is added
to libspl. Secondly, the missing type processorid_t has been added.
And finally the lib/libspl/include/sys/fm/{protocol.h|util.h} stub
headers have been removed in favor of updating the full versions
in module/zfs/include/sys/fm/{protocol.h|util.h} to work cleanly
in both user and kernel space.
2010-05-14 10:33:00 -07:00
Brian Behlendorf
02ddf26563
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-04-29 13:15:33 -07:00
Brian Behlendorf
8e870b63d0
Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch
2010-04-29 13:15:30 -07:00
Brian Behlendorf
d6f1146154
Remove changes from linux-have-sysevent to prepare for topic branch removal.
2010-04-29 13:12:25 -07:00
Brian Behlendorf
824c6c437b
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-04-29 12:34:06 -07:00
Brian Behlendorf
35afc56620
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2010-04-29 12:33:39 -07:00
Brian Behlendorf
c14cca5c07
Add fm_init/fm_fini stubs for user space FMA update.
2010-04-29 12:25:18 -07:00
Brian Behlendorf
486ef8b62c
Refresh autogen products
2010-04-29 11:03:52 -07:00
Brian Behlendorf
beb7a03515
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-04-29 11:02:45 -07:00
Brian Behlendorf
c63aca4333
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-04-29 11:02:25 -07:00
Brian Behlendorf
0ff721ce5d
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-04-29 11:02:17 -07:00
Brian Behlendorf
02daa2aa9f
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-04-29 11:02:02 -07:00
Brian Behlendorf
0461f831ed
Merge commit 'refs/top-bases/linux-legacy' into linux-legacy
2010-04-29 11:01:47 -07:00
Brian Behlendorf
bf68847fd6
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-04-29 11:01:39 -07:00
Brian Behlendorf
208e42ffe6
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2010-04-29 11:01:23 -07:00
Brian Behlendorf
ea12ca13bf
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2010-04-29 11:01:22 -07:00
Brian Behlendorf
cb5d1808d5
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-04-29 11:01:02 -07:00
Brian Behlendorf
76d877a211
Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
2010-04-29 11:00:49 -07:00
Brian Behlendorf
4d5d0f9ef5
Include FMA source and headers in build system
2010-04-29 10:55:27 -07:00
Brian Behlendorf
34edbcd956
Refresh autogen products
2010-03-26 15:57:19 -07:00
Brian Behlendorf
a235e4b8b9
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-03-23 14:58:29 -07:00
Brian Behlendorf
fb427cf371
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2010-03-23 14:58:27 -07:00
Brian Behlendorf
ee2a998f37
Move zfs_config.h include to command line -include
...
Remove the few places in the code where zfs_config.h is included.
It is now added to the gcc compile line to ensure the config results
2010-03-23 14:54:00 -07:00
Brian Behlendorf
ddb2e7a5c5
Refresh autogen products
2010-03-22 17:01:13 -07:00
Brian Behlendorf
03f51d86b2
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-03-10 12:09:35 -08:00
Brian Behlendorf
20894b4487
Merge branch 'linux-libspl' into refs/top-bases/linux-zfs-branch
2010-03-10 12:09:33 -08:00
Brian Behlendorf
c7c19c1259
Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch
2010-03-10 12:09:32 -08:00
Ricardo M. Correia
2c79a2fa6a
Fix a few zdb bugs when trying to open a pool
...
Specifically, the following bugs are fixed in this patch:
1) zdb wasn't getting the correct device size when the vdev is a
block device. In Solaris, fstat64() returns the device size but
in Linux an ioctl() is needed.
2) We were opening block devices with O_DIRECT, which caused pread64()
to fail with EINVAL due to memory alignment issues. This was fixed by
the previous umem cache alignment fix in stub implementation to align
objects correctly. But we still needed to add a check for the error here.
3) We also make sure that we don't try to open a block device in write
mode in userspace. This shouldn't happen, because zdb opens devices
in read-only mode, and ztest only uses files.
2010-03-10 12:03:48 -08:00
Ricardo M. Correia
c557557e4a
Add umem_alloc_aligned() and honor cache_align field for umem caches
...
Under linux we open block devices with O_DIRECT which means we must
provide aligned memory buffers. This patch adds the needed umem
interfaces or in the case of caches simply honors alignment provided
at cache creation time.
2010-03-10 11:51:43 -08:00
Brian Behlendorf
6663e28c0b
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-03-10 09:59:54 -08:00
Brian Behlendorf
b47f6b7691
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-03-10 09:59:35 -08:00
Brian Behlendorf
3670186d0a
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-03-10 09:59:28 -08:00
Brian Behlendorf
1186ea3781
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-03-10 09:59:14 -08:00
Brian Behlendorf
211edca1cc
Merge commit 'refs/top-bases/linux-legacy' into linux-legacy
2010-03-10 09:59:00 -08:00
Brian Behlendorf
eb99e5706b
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-03-10 09:58:52 -08:00
Brian Behlendorf
724a450233
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2010-03-10 09:58:38 -08:00
Brian Behlendorf
c1c14c18c8
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2010-03-10 09:58:37 -08:00
Brian Behlendorf
9cbaecdd01
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-03-10 09:58:19 -08:00
Brian Behlendorf
a97cedc2df
Merge branch 'linux-docs' into refs/top-bases/linux-zfs-branch
2010-03-10 09:58:07 -08:00
Brian Behlendorf
7223b8df33
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-03-10 09:58:04 -08:00
Brian Behlendorf
54cf7ab2bc
Merge branch 'fix-branch' into refs/top-bases/zfs-branch
2010-03-10 09:58:03 -08:00
Brian Behlendorf
166355dcf0
Merge branch 'fix-error-handling' into refs/top-bases/fix-branch
2010-03-10 09:54:43 -08:00
Ricardo M. Correia
62a0ac8f22
Fix some incorrect error handling.
...
In vn_open(), if fstat64() returned an error, the real errno
was being obscured by calling close().
Add error handling for both pwrite64() calls in vn_rdwr().
2010-03-10 09:53:53 -08:00
Brian Behlendorf
f0977a90e1
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-03-09 13:43:32 -08:00
Brian Behlendorf
6521b99461
Merge branch 'linux-user-disk' into refs/top-bases/linux-zfs-branch
2010-03-09 13:43:29 -08:00
Ricardo M. Correia
f1c8b3a435
Fix duplicate uuid_t typedef.
...
This typedef is being done in both lib/libefi/include/sys/uuid.h and
/usr/include/uuid/uuid.h, both of which are included in lib/libefi/rdwr_efi.c.
This leads to the following error:
In file included from ../../lib/libefi/include/sys/efi_partition.h:29,
from ../../lib/libefi/rdwr_efi.c:41:
../../lib/libefi/include/sys/uuid.h:81: error: redefinition of typedef 'uuid_t'
/usr/include/uuid/uuid.h:19: note: previous declaration of 'uuid_t' was here
The reason that we didn't see this before, is because of a strange feature in
gcc where some types of warnings/errors are silently ignored if they come from
system headers. But depending on the order of how system headers end up
included, libefi's uuid.h may actually be included after uuid/uuid.h, which
leads to the error above.
It is safe to remove this duplicate typedef because we are already
dependent on the linux uuid.h header and it's exceptionally unlikely
they will ever change the size.
2010-03-09 13:38:55 -08:00
Brian Behlendorf
c3240ea0d8
Merge commit 'refs/top-bases/linux-configure-branch' into linux-configure-branch
2010-03-09 12:31:56 -08:00
Brian Behlendorf
ceba75045d
Merge commit 'refs/top-bases/linux-unused' into linux-unused
2010-03-09 12:31:39 -08:00
Brian Behlendorf
fdab6de381
Merge commit 'refs/top-bases/linux-libspl' into linux-libspl
2010-03-09 12:31:32 -08:00
Brian Behlendorf
4b2b113239
Merge commit 'refs/top-bases/linux-user-disk' into linux-user-disk
2010-03-09 12:31:18 -08:00
Brian Behlendorf
d9f3a394cb
Merge commit 'refs/top-bases/linux-legacy' into linux-legacy
2010-03-09 12:31:04 -08:00
Brian Behlendorf
eda82c813d
Merge commit 'refs/top-bases/linux-kernel-mem' into linux-kernel-mem
2010-03-09 12:30:57 -08:00
Brian Behlendorf
feac56bf5a
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2010-03-09 12:30:44 -08:00
Brian Behlendorf
17a96f44f3
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2010-03-09 12:30:43 -08:00
Brian Behlendorf
30668cb769
Merge commit 'refs/top-bases/linux-have-mntent' into linux-have-mntent
2010-03-09 12:30:26 -08:00
Brian Behlendorf
573328741b
Merge branch 'linux-have-fm' into refs/top-bases/linux-zfs-branch
2010-03-09 12:30:21 -08:00
Brian Behlendorf
8f63d438cd
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2010-03-09 12:30:18 -08:00
Brian Behlendorf
48e74ed68b
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
...
Conflicts:
cmd/ztest/ztest.c
2010-03-09 12:30:03 -08:00
Brian Behlendorf
9a3d5378c6
Clean up emulation of kernel threads in userspace.
...
Updated to use pthread thread specific data rather than keeping
a global list. This also fixes at least one easily reproducible
crash in ztest
2010-03-09 12:25:28 -08:00
Brian Behlendorf
02d15b4e4f
Refresh autogen products
2010-03-08 10:57:16 -08:00
Brian Behlendorf
9b473082fa
Refresh autogen products
2009-12-23 14:53:51 -08:00