Commit Graph

252 Commits

Author SHA1 Message Date
pooka 95a13440ba use rump_pub interface name 2009-10-20 02:14:54 +00:00
pooka 9d203cca46 g/c unused variable 2009-10-20 02:14:12 +00:00
pooka a4001afaf1 remove abort trap leftover from my testing 2009-10-18 19:58:04 +00:00
pooka c5e347e2a8 Use new p2k interfaces and make it possible to detach rump_smbfs 2009-10-18 19:38:35 +00:00
pooka 8209f3a11a adapt to new p2k interfaces 2009-10-18 19:37:25 +00:00
pooka a64df16285 Remove threading ifdefs. It was never easy to run the nfs client
without threads, but now it's even more difficult due to sillyrename
using workqueue, so whoever wants to do it will have to take to
manual fiddling.
2009-10-18 16:02:15 +00:00
pooka 2d07f409b9 Use write through cache here too. Doesn't make the same kind of
difference as with smbfs since nfs is "stateless", but better to
have the data on the server ASAP in case some other nods wants to
use it.
2009-10-18 15:57:15 +00:00
pooka 8a8f57910d Use PUFFS_KFLAG_WTCACHE since it's sensible for a distributed file
server (plus it makes write work in the first place since the
descriptors don't get closed before the cache is flushed).
2009-10-18 15:14:13 +00:00
pooka bf3992af18 Adjust names of external rump control interfaces to match the
new rump_pub namespace.
2009-10-14 18:22:50 +00:00
pooka 68c5575108 Start cleaner without the sleep(1) hack now that it's possible. 2009-10-09 16:38:21 +00:00
pooka d07d1f307a Support disklabels. 2009-10-07 20:59:09 +00:00
pooka 018821014f No need to ukfs_modload() ext2fs anymore. 2009-10-07 20:11:05 +00:00
skrll 52749c1bca Rely on the new and "just as awful as the old" hack in the battle of rump
vs link sets.
2009-09-14 17:24:20 +00:00
skrll b7d7171c7c Allow this to build while link sets and rump are broken. 2009-09-11 06:48:50 +00:00
pooka f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +00:00
pooka b0d965c6f5 Add rump_smbfs. It's innards are different from most file systems
in two respects:
    * in addition to vfs (and networking), it depends on kernel
      device code to provide /dev/nsmb
    * mounting involves having lengthy chats with the kernel smb
      device instead of the typical "parse args and mount(2) away".

Seems to be pretty stable, at least data seems to flow over it
faster than over in-kernel nfs.
2009-09-06 20:26:47 +00:00
skrll 7842ef85bb No-one wins in rump vs link sets.
XXX Someone(tm) needs to fix this properly.
2009-08-21 14:41:22 +00:00
pooka ceedea85d6 run lfs cleaner 2009-08-06 01:00:04 +00:00
pooka 3e3523f9c8 add commented-out rump_fdesc along with an explanation 2009-07-31 19:21:55 +00:00
pooka ad25a49dbe rump_fdesc. it works, but it's actually not very sexy out of
developer clothes, since the server cannot fetch the fd information
from the kernel.  Therefore, don't build it by default.
2009-07-31 19:18:46 +00:00
pooka 92eb973615 don't need absolute paths for fs component names 2009-07-21 00:40:44 +00:00
pooka d6d0aeb45d Make rump_lfs work again: load fs components dynamically instead
of trying to link them in on the command line and get pounded by
link set failage.
2009-07-21 00:37:25 +00:00
pooka 540fcdb7ef +pseudo-device putter 2009-06-09 14:27:17 +00:00
njoly 4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
pooka d6c25c2b9b wait() for dead ssh processes (but don't block, so we might have
one teeny zmobie in the system).
2009-05-20 15:04:36 +00:00
pooka b5cb6a6ca0 Fix SNAFU in previous: connection handshake is already handled by
the connect routine now, so we're not required/allowed to do it twice.
Makes reconnect on dead link work again.
2009-05-20 14:39:42 +00:00
pooka dac06153a9 Copyright year management. no functional change (unless sarah disagrees) 2009-05-20 14:08:21 +00:00
pooka 8ff915319e Introduce -c [12], which can be used to open 1 or 2 ssh connections
to the server.  If "2" is specified, a separate connection is used
for data and directory operations.  Using two connections can
significantly increase directory operation performance on a saturated
link, at least up to 30x faster.
2009-05-20 13:56:36 +00:00
pooka 45ef580f17 Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module.  librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
lukem d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
pooka 73871be1ed fix WARNS=4, recipe from lukem 2009-04-15 08:36:21 +00:00
pooka d3739e6172 Save errno before descending to cleanup gehennom. 2009-03-29 16:06:53 +00:00
pooka 61260da885 In case the portal provider fails, do not try to pass an
uninitialized fd value.  Also, propagate errno to the caller.
2009-03-18 09:10:16 +00:00
wiz 2dba01f8d6 Make "sftp" a link. 2009-02-26 07:14:36 +00:00
pooka 928c35bfce add caveat about info displayed by df(1) 2009-02-25 18:05:32 +00:00
pooka 72d8b8b617 Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.
2009-02-23 18:43:46 +00:00
pooka 501138e80e regen: putter in synopsis and note about experimental status 2009-02-15 18:01:26 +00:00
pooka 0838b02036 * include "pseudo-device putter" in synopsis as requested by hubertf
* note that rump p2k utilities are currently experimental (noted
  already on the rump manpages, but better note it here also)
2009-02-15 18:00:16 +00:00
pooka 1ca3ac22a3 regen: note that vnconfig not required 2009-02-10 15:08:40 +00:00
pooka 108fcd8ae3 Note that the rump file servers do not require use of vnconfig when
mounting images.  Suggested by apb
2009-02-10 15:04:35 +00:00
he fddc3457b2 Change the use of formally undocumented features, which have now been
made to fail.  Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
lukem 3cafe960ea fix -Wsign-compare issues 2009-01-18 10:10:47 +00:00
pooka f604838fff Remove -I${NETBSDSRCDIR}/sys. I have no idea why it was there, but
it sure creates some interesting side-effects.
2009-01-12 20:43:29 +00:00
wiz 140f24c96f regen. 2009-01-11 22:03:15 +00:00
wiz 9492e5b9bf Make ready for HTML output, add comma. 2009-01-11 22:03:10 +00:00
wiz eaae165147 Mark up arguments with Ar and drop trailing whitespace. 2009-01-11 22:02:38 +00:00
pooka 317dcf1496 regen: mount -o rump 2009-01-11 21:15:31 +00:00
pooka 4c643b2022 Note mount -o rump support. 2009-01-11 21:15:07 +00:00
pooka bbf08a8acb Default to threading, non-threaded debug mode can be compiled separately.
Useful if running this from fstab.
2009-01-11 20:31:03 +00:00
pooka 29d7878897 Don't compile diagnostic code which accesses kernel symbols directly.
Will fail now since not all archs have the same symbol names.
2009-01-10 20:21:15 +00:00