christos
dd89f66f56
make this compile again. VOP_CLOSE is really vn_close() through macros.
2011-11-21 17:51:03 +00:00
christos
bde7230620
correct declaration of vn_close()
...
XXX: Should all those dup declarations be here?
2011-11-21 05:50:11 +00:00
christos
6a2b307489
close file in a way that it does not trigger an assertion :-)
...
now zpool create works again.
2011-11-21 00:24:24 +00:00
christos
eb50a1b80e
enough with the compile time warnings.
2011-11-20 02:54:25 +00:00
yamt
fb69e65229
make aggregate work for > 1 cpus
2011-10-19 11:03:52 +00:00
yamt
f34e2253c6
because our xcall stuff can't be used in softint, use kernel threads
...
for cleaner/deadman low-level cyclic replacement. PR/44905
2011-10-19 11:02:08 +00:00
yamt
ad773a12d3
fbt_provide_module_cb: exclude some functions known unsafe to probe
2011-10-19 10:55:50 +00:00
hannken
34f54c83be
As vnalloc() always allocates with PR_WAITOK there is no longer the need
...
to test its result for NULL.
2011-10-07 09:35:04 +00:00
christos
b6f6e1bfbd
fix a shadow variable warning.
2011-09-09 17:48:39 +00:00
christos
a222eb155b
catch up with vmem_alloc signature change.
2011-09-07 21:32:07 +00:00
christos
4aa752a401
fix shadow warnings.
...
XXX: might be a good idea to kill global 'cpu' and 'version' variables.
2011-08-31 21:57:16 +00:00
uebayasi
eab2487254
Fix a local var name.
2011-07-30 10:12:14 +00:00
uebayasi
6ed9c23d3b
KNF.
2011-07-29 13:10:23 +00:00
yamt
e3bb2d6eba
mark this driver D_MPSAFE
2011-07-26 12:54:28 +00:00
yamt
afe833af51
fix a merge botch in rev.1.7
2011-07-26 12:33:23 +00:00
yamt
696f2a9301
remove debug printfs
2011-07-26 12:28:39 +00:00
yamt
7695ef3cd1
remove a debug printf
2011-07-26 12:28:01 +00:00
yamt
223b285dcf
fix a kmem_alloc/free size mismatch
2011-07-26 12:26:33 +00:00
tron
71477abcdc
Fix uninitialized variables reported by GCC 4.5.
2011-07-20 19:51:57 +00:00
christos
9b1cdf6a14
better fix for gcc uninitialized.
2011-07-18 02:47:52 +00:00
christos
6e03a05a94
fix gcc uninitialized warnings
2011-07-18 00:43:35 +00:00
christos
6c10492aaa
fix uninitialized gcc variables
2011-07-18 00:42:40 +00:00
joerg
3eb244d801
Retire varargs.h support. Move machine/stdarg.h logic into MI
...
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
rmind
1ab522108e
Fix ZFS build.
2011-06-12 14:47:20 +00:00
mrg
b156c02e66
v_interlock is now a pointer to kmutex_t, use it as one.
...
fixes many of the 5.99.53 build issues in zfs, but not all of them.
2011-06-12 04:43:11 +00:00
christos
4e14e91053
fix missing prototypes.
2011-05-15 18:33:33 +00:00
rmind
756122ce22
Remove unused M_MOUNT.
2011-04-02 04:57:35 +00:00
joerg
e2e40b270e
Don't define acl_alloc and acl_free during kernel builds.
...
Fixes module build with clang.
2011-03-15 00:48:04 +00:00
pooka
eb63257707
adjust some pretty likely broken assertion (stksize is hardcoded
...
from caller, but not used here). now zpool doesn't cause a
kernel crash anymore.
2011-03-10 19:35:24 +00:00
pooka
3140523bc0
pass in correct variable, the old code can't possibly be correct.
2011-03-10 19:32:39 +00:00
riz
3406e189a5
#include <sys/debug.h> (from the ZFS sources) so that ASSERT() is
...
defined, and we don't get problems like kern/44430. This is
more a workaround than a fix, but at least I can load zfs now.
ok haad@
2011-03-09 23:55:46 +00:00
riz
c29d7160e5
If the config is zero size, don't try to read it.
...
OK haad@
2011-03-09 23:49:06 +00:00
pooka
1c44cbfd96
Don't allow module to init if root is not mounted since the modcmd
...
wants to traverse the file system. This *might* fix statically
linking zfs support into the kernel (at least it fixes rump kernel
bootstrap).
2011-01-21 13:08:42 +00:00
pooka
51f08b56c8
fix kobj_open_file_vnode()
...
patch from haad
2011-01-21 12:24:24 +00:00
haad
c7287ec04b
Fix zfs Makefiles + debug, don't add -g by default only when MKDEBUG is
...
enabled. Fix header assert conflicts + bump WARNS for some libs.
2011-01-13 23:18:23 +00:00
dholland
42bae07fce
Remove references to SAVESTART in zfs.
2011-01-02 05:12:03 +00:00
haad
bec5c61e50
Define vn_getattr in zfs_context.h.
2010-12-28 16:44:45 +00:00
haad
bca088ab45
Fix problem where vnode vp_size was not updated when vndoe was already allocated,
...
for vdev. This makes ztest survive ztest_vdev_LUN_growth test. Replace dummy
VOP_GETATTR with vn_getattr routine which reset vp_size and vattr_size accordingly
to reality.
2010-12-28 13:36:09 +00:00
haad
8f7b707f59
libzfs_fru_clear was not ported to NetBSD disable it foor now.
2010-12-24 16:13:58 +00:00
haad
363aa1ba89
Whitespace police.
2010-12-15 22:49:42 +00:00
haad
59385470cf
Only KM_SLEEP | KM_NOSLEEP can be passed down to kmem layer, clean up
...
tqflags from internal taskq flags (TQ_FRONT) before calling kmem_alloc.
2010-12-15 22:09:14 +00:00
haad
591e382e8c
Revert last commit it's not needed anymore.
2010-12-15 00:58:58 +00:00
haad
3bd4964ac1
Do not built 64b atomic ops to libzpool they are in libc again.
2010-12-14 23:39:11 +00:00
tron
4dd88e84a3
Get DTrace to build again.
2010-12-14 14:08:42 +00:00
haad
4d468780ce
Use only cas versions of 64 bit atomic ops.
2010-12-14 09:19:14 +00:00
haad
7527c22f7f
Add NetBSD version of zfs snapshot management code. IT needs testing it
...
was only compile tested for now, but I would like to have some code in to be
sure that it will not be lost.
2010-12-14 01:28:18 +00:00
haad
732f954b5c
Define mutex_owned.
2010-12-14 01:25:37 +00:00
haad
f60c1b8f4b
Remove now unneeded print_timestamp.
2010-12-14 01:23:43 +00:00
haad
9e62f6ad09
Fix amd64 build where sysinfo was not defined, disable libshare for now.
2010-12-14 01:22:24 +00:00
haad
b407fc2e79
Do not include debug.h
2010-12-14 01:21:25 +00:00