Brian Behlendorf
e63baa3490
Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch
2009-07-21 11:36:33 -07:00
Brian Behlendorf
41c17d43e3
Update to spl device interfaces for portability.
...
- Linux specific character device registration calls replaced with
the spl version for maximum portability between linux kernels.
- Added ZPIOS_NAME macro.
2009-07-21 11:26:53 -07:00
Brian Behlendorf
6af0c921a6
Merge branch 'linux-zpios' into refs/top-bases/linux-zfs-branch
2009-07-21 10:35:24 -07:00
Brian Behlendorf
43ad6bb2ad
Register compat ioctl handlers for zpios + 32-bit safe timespec.
...
A compat ioctl handler for zpios was added which simply passes the
ioctl on to the usual handler. The IOWR macro's correctly handle
this. Additionally replace the use of 'struct timespec' which uses
longs internally and is therefore different sizes on 32-bit vs 64-bit
objects with 'struct zpios_timespec_t'. This custom structure uses
uint32_t types internally and is safe to pass through an ioctl. The
helper functions for this new type were also moved to a common place
so they may be used safely by the user or kernel code.
2009-07-21 10:22:47 -07:00
Brian Behlendorf
24f65b670e
Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
2009-07-14 14:38:54 -07:00
Brian Behlendorf
8121895a61
Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch
2009-07-14 14:34:44 -07:00
Brian Behlendorf
1abe2b0b12
Merge commit 'refs/top-bases/linux-arc' into linux-arc
2009-07-14 14:34:40 -07:00
Brian Behlendorf
fef9a2c571
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-14 14:34:39 -07:00
Brian Behlendorf
9b9f17a585
Merge branch 'feature-branch' into refs/top-bases/zfs-branch
2009-07-14 14:34:37 -07:00
Brian Behlendorf
605a501311
Merge branch 'feature-pthreads' into refs/top-bases/feature-branch
2009-07-14 14:34:35 -07:00
Brian Behlendorf
864e44e7e0
Provide correct kthread API semantics using pthreads.
...
The intent here is to fully remove the previous Solaris thread
implementation so we don't need to simulate both Solaris kernel
and user space thread APIs. The few user space consumers of the
thread API have been updated to use the kthread API. In order
to support this we needed to more fully support the kthread API
and that means not doing crazy things like casting a thread id
to a pointer and using that as was done before. This first
implementation is not effecient but it does provide all the
corrent semantics. If/when performance becomes and issue we
can and should just natively adopt pthreads which is portable.
Let me finish by saying I'm not proud of any of this and I would
love to see it improved. However, this slow implementation does
at least provide all the correct kthread API semantics whereas
the previous method of casting the thread ID to a pointer was
dodgy at best.
2009-07-14 14:16:26 -07:00
Brian Behlendorf
62806e60d6
Merge branch 'linux-have-uio-rw' into refs/top-bases/linux-zfs-branch
2009-07-10 11:51:14 -07:00
Brian Behlendorf
91fcf9d661
Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw
2009-07-10 11:51:11 -07:00
Brian Behlendorf
9ffbe8f428
Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy
2009-07-10 11:51:09 -07:00
Brian Behlendorf
d3cb195b31
Merge branch 'linux-have-sysevent' into refs/top-bases/linux-zfs-branch
2009-07-10 11:50:50 -07:00
Brian Behlendorf
b46157da8c
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2009-07-10 11:50:46 -07:00
Brian Behlendorf
8a5b47ebb5
Add dmu_write_impl() prototype needed by zpios until a clean
...
zerocopy interface is available.
2009-07-10 11:39:37 -07:00
Brian Behlendorf
8bb9b8305a
Export new quota related symbols.
2009-07-10 11:38:53 -07:00
Brian Behlendorf
33eec3513e
Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch
2009-07-10 10:55:07 -07:00
Brian Behlendorf
452ebd84b7
Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl
2009-07-10 10:55:04 -07:00
Brian Behlendorf
0d4deb4760
Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
2009-07-10 10:54:18 -07:00
Brian Behlendorf
925fa57107
Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw
2009-07-10 10:52:37 -07:00
Brian Behlendorf
df59544928
Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy
2009-07-10 10:52:36 -07:00
Brian Behlendorf
e5d6b866f7
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2009-07-10 10:52:13 -07:00
Brian Behlendorf
ca2e8a0a7f
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2009-07-10 10:52:11 -07:00
Brian Behlendorf
37e6d3e769
Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch
2009-07-10 10:50:18 -07:00
Brian Behlendorf
b4a5983ebf
Merge commit 'refs/top-bases/linux-arc' into linux-arc
2009-07-10 10:50:15 -07:00
Brian Behlendorf
4baa59ce44
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-10 10:50:13 -07:00
Brian Behlendorf
cfec48619c
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2009-07-10 10:50:12 -07:00
Brian Behlendorf
84b52133f3
Merge branch 'gcc-unused' into refs/top-bases/gcc-branch
2009-07-10 10:50:10 -07:00
Brian Behlendorf
f3c55459b0
Pull ; in to macro to ensure it get's entirely removed, C90 issue.
2009-07-10 10:40:55 -07:00
Brian Behlendorf
ec3045dcf2
Refine HAVE_ZPL checks after b117 update.
2009-07-10 10:39:44 -07:00
Brian Behlendorf
0c390c6de4
Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl
2009-07-09 15:12:29 -07:00
Brian Behlendorf
0539df32a1
Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
2009-07-09 15:11:47 -07:00
Brian Behlendorf
bfcab44eb7
Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw
2009-07-09 15:10:14 -07:00
Brian Behlendorf
2ec527b793
Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy
2009-07-09 15:10:12 -07:00
Brian Behlendorf
ac47fd1d1f
Merge commit 'refs/top-bases/linux-have-sysevent' into linux-have-sysevent
2009-07-09 15:09:51 -07:00
Brian Behlendorf
f8938a398f
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-module
2009-07-09 15:09:50 -07:00
Brian Behlendorf
791241dfb0
Merge branch 'linux-arc' into refs/top-bases/linux-zfs-branch
2009-07-09 15:08:11 -07:00
Brian Behlendorf
7211f81057
Merge commit 'refs/top-bases/linux-arc' into linux-arc
2009-07-09 15:08:07 -07:00
Brian Behlendorf
24662d61d9
Merge commit 'refs/top-bases/zfs-branch' into zfs-branch
2009-07-09 15:08:06 -07:00
Brian Behlendorf
2f4e745a09
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
2009-07-09 15:08:04 -07:00
Brian Behlendorf
bed14af385
Merge branch 'gcc-no-parenthesis' into refs/top-bases/gcc-branch
2009-07-09 15:08:03 -07:00
Brian Behlendorf
ae132945b4
Add suggested paranthesis.
2009-07-09 14:59:10 -07:00
Brian Behlendorf
f13edd3084
Merge branch 'linux-have-zpl' into refs/top-bases/linux-zfs-branch
2009-07-09 14:20:38 -07:00
Brian Behlendorf
8a849a66fe
Wrap all the ACL interfaces for now with HAVE_ZPL. They are integrated
...
with the vfs layer which is not at all supported yet.
2009-07-09 14:11:13 -07:00
Brian Behlendorf
99880c2dc1
Merge commit 'refs/top-bases/linux-have-zpl' into linux-have-zpl
2009-07-09 13:22:09 -07:00
Brian Behlendorf
a3a9c56aa1
Merge commit 'refs/top-bases/linux-zpios' into linux-zpios
2009-07-09 13:21:25 -07:00
Brian Behlendorf
f99ad7f4c3
Merge commit 'refs/top-bases/linux-have-uio-rw' into linux-have-uio-rw
2009-07-09 13:19:41 -07:00
Brian Behlendorf
ebb013f2dd
Merge commit 'refs/top-bases/linux-debug-zerocopy' into linux-debug-zerocopy
2009-07-09 13:19:39 -07:00