pooka
0fca7fa92c
minor nit: fix header #ifndef namespacing
2008-08-08 13:57:59 +00:00
pooka
a1e2d21c3e
pg->flags &= PG_CLEAN --> &= ~PG_CLEAN;
...
Fixes at least writing to the fs for msdosfs.
2008-08-07 21:02:29 +00:00
pooka
3d8b145f98
some more todo points
2008-08-07 11:15:20 +00:00
pooka
7b679f625d
Maintain consistency of naming between the rumpfs library name and
...
the MOUNT_FOOFS name. Don't bother polluting the obsolete lists
with the original names since they were in only for a few days.
2008-08-05 14:42:03 +00:00
simonb
159018ab5b
Enable "options APPLE_UFS". OK pooka@.
2008-08-05 13:16:27 +00:00
pooka
919218a908
Honor PG_RELEASED when unbusying a page.
...
Fixes ufs file system full problem discovered by Simon Burge.
2008-08-05 13:06:35 +00:00
pooka
27f3f4f004
Add support for using real kmem/vmem. Don't enable it by default,
...
though, since it a) is a lot of unnecessary indirection in rump
b) requires callouts which are so far unimplemented.
2008-08-04 15:02:16 +00:00
pooka
8f1eb24c9f
libs don't need NOMAN
2008-08-04 14:35:24 +00:00
simonb
b92eb9eaa1
sort sys/kern SRCS alphabetically.
2008-08-02 15:31:14 +00:00
pooka
0b5af21c5a
support real sysctls
2008-08-01 19:34:51 +00:00
pooka
fb5f9816d8
regen: sys___sysctl
2008-08-01 19:33:02 +00:00
pooka
c19f1a2afd
Support ukfs_modload(), which dlopens and vfs_attaches rump file
...
system modules for use. Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot". But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.
tested by Arnaud Ysmal
2008-08-01 14:47:28 +00:00
simonb
36d65f1138
Merge the simonb-wapbl branch. From the original branch commit:
...
Add Wasabi System's WAPBL (Write Ahead Physical Block Logging)
journaling code. Originally written by Darrin B. Jewell while
at Wasabi and updated to -current by Antti Kantee, Andy Doran,
Greg Oster and Simon Burge.
OK'd by core@, releng@.
2008-07-31 05:38:04 +00:00
oster
55a54b5762
Fix race during creation of rumpdefs.h, rumpvnode_if.h, and rumpvnode_if.c.
...
Patch from pooka@ with tweak from me.
Approved by: pooka
2008-07-30 01:32:47 +00:00
pooka
4b68af9947
Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
...
This allows to compile rump libraries as shared libraries also on mad64.
Problem spotted by Greg Oster. I guess his build broke or something ...
2008-07-29 20:18:25 +00:00
pooka
eef3b7a974
* remove unnecessary .PATH
...
* wrap malloc
2008-07-29 14:01:25 +00:00
pooka
9dbcf29c49
NOMAN
2008-07-29 14:00:01 +00:00
pooka
cd56ab5fbf
Accidentally left behind: these live in src/lib now.
2008-07-29 13:50:24 +00:00
pooka
bdf6e0b034
Install rump libraries and utilities to the base system and remove the
...
private non-installed build infrastructure from sys/rump.
breakdown of commit:
* install relevant headers into /usr/include/rump
* build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
from src/lib and install as librumpuser and librump, respectively
+ this retains the ability to test a librump build with just the
kernel sources at hand
* move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
for general consumption, they are not kernel-space dwellers anyway
* build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
* add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
* build and install userspace kernel file system daemons if MKPUFFS=yes
is spexified
* retire fsconsole for now, it will make a comeback with an actually
implemented version shortly
2008-07-29 13:17:40 +00:00
pooka
b6138e3eb7
Backup some manual page sketches lest I delete the wrong source tree.
2008-07-28 18:34:31 +00:00
pooka
b00e8162a5
Give rump a faux vmparam.h to work around problematic ports (hooray
...
for evbppc). Obligatory inlined rant: it would be really nice if
we didn't have weird ports like that which sport totally incompatible
code for different kernels.
2008-07-28 18:12:15 +00:00
pooka
2ba62ba2c7
Not everyone is building from my yet uncommitted trees, so catchup
...
here also.
tip-of-the-hat to simonb
2008-07-28 16:27:29 +00:00
pooka
e575982be5
blkset.S is needed on vax by some macros, so include it in the build.
2008-07-28 13:56:59 +00:00
pooka
c8ccd39051
UKFS_UIOINIT() functionality has been provided for ages by rump
...
function interfaces, so remove the macro.
2008-07-27 16:12:23 +00:00
pooka
2d86f776af
Make the previously library-internal "builddirs" an external interface:
...
ukfs_util_builddirs()
patch from Arnaud Ysmal
2008-07-22 20:02:16 +00:00
pooka
348d0d344d
Have a COW with fscow_run(). Fixes problem of allocating files
...
on ffs with indirect blocks.
found by simonb
2008-07-21 10:51:03 +00:00
pooka
4a0d2098e7
Repeat after me: do not pollute sys with #ifdef _RUMPKERNEL
2008-07-21 10:40:37 +00:00
pooka
cb5ae8f020
Call mountpoint VFS_FSYNC() from specfs fsync.
...
Makes rump kern/38057-happy.
2008-07-21 00:08:30 +00:00
pooka
655d81c21a
Make the user-namespaced rumpuser_cv_has_waiters() of type int
...
instead of bool to avoid unnecessary problems in trying to provide
the bool type.
2008-07-20 19:03:04 +00:00
pooka
83548151e2
assert -> KASSERT
2008-07-20 16:18:13 +00:00
pooka
0217e22507
You must untypo what you have typoed: rumpnode_if.h -> rumpvnode_if.h
2008-07-20 16:14:22 +00:00
he
6512b04025
The build options for the library parts are mostly located in this
...
file. So, in order to better support UPDATE builds, add a dependency
on this file for object files in subdirectories using this file.
2008-07-20 15:56:44 +00:00
pooka
1d89d2370c
enable DIAGNOSTIC
2008-07-18 16:20:03 +00:00
pooka
28fdf2df68
support cv_has_waiters()
2008-07-18 16:19:12 +00:00
pooka
00e37d073d
emulate vlog()
2008-07-18 16:18:04 +00:00
pooka
6fed9eb99d
Don't biohazardwait B_ASYNC buffers.
2008-07-18 16:15:56 +00:00
pooka
3e3b9ce9de
Deregister fakeblock path immediately after mount to get it
...
deregistered also in the case of an error.
2008-07-17 11:25:07 +00:00
pooka
cc7d901591
vfs_subr2 has lost its will to live. vfs_subr was originally split
...
into two parts so that some of the routines could be used by rump.
Now that rump uses both vfs_subr and vfs_subr2 and there is no
reason to keep two files lying around, re-unite them.
2008-07-16 20:06:19 +00:00
pooka
2707ee274f
bring todo list upper-to-dater
2008-07-16 15:54:24 +00:00
pooka
76ee3b3a51
Sync data to baking storage in ukfs_write()
2008-07-16 15:44:11 +00:00
pooka
514afdda21
regen: fsync
2008-07-16 15:43:30 +00:00
pooka
aa652b7453
Nuke the "-p" argument to ukfs_mkdir(). It's not a particularly
...
brilliant idea to provide that functionality at this level.
2008-07-15 16:21:19 +00:00
pooka
e6891fd321
Honor PGO_FREE in putpages.
...
Fixes cp-then-rm ukfs panic reported by Arnaud Ysmal.
2008-07-15 15:04:42 +00:00
pooka
37d1079aad
add ukfs_utimes() and ukfs_lutimes()
...
from Arnaud Ysmal
2008-07-07 09:07:18 +00:00
pooka
1a7f1d4a4e
regen: u times, lu times, you know i had my share
2008-07-07 09:04:08 +00:00
he
3cb806e403
Add dependencies on the input files + Makefile for the auto-generated
...
files rumpdefs.h, rumpnode_if.h, and rumpvnode_if.c. This is so that
an UPDATE build has a chance of succeeding.
Discussed with pooka@, and he wasn't totally against adding this...
2008-07-02 23:03:35 +00:00
he
b6ffc4250b
Don't rely on <sys/mutex.h> being implicitly included, because on
...
some ports (mvme68k for example) that's not happening.
2008-07-02 21:18:14 +00:00
pooka
371212ff48
Add missing calls for attribute management (e.g. chown, stat).
...
[Incidentally, stat() won't work on non-NetBSD because of struct stat
binary layout difference and needs to be fixed some day]
from Arnaud Ysmal
2008-07-01 13:09:44 +00:00
pooka
e940fdb5d3
regen
2008-07-01 13:03:56 +00:00
pooka
d2e855d5a6
Fixes to build rump utilities as host binaries on Linux by removing
...
sys namespace pollution which has crept in.
Submitted in private mail by takemura, domain ca2.so-net.ne.jp
2008-07-01 12:33:32 +00:00