Commit Graph

84 Commits

Author SHA1 Message Date
haad
a83da6a90d Enable taskq which was disabled during testing. 2009-08-10 22:55:08 +00:00
haad
614ae6725c Remove strange looking -I entries. 2009-08-10 22:38:59 +00:00
haad
4837c664b3 Add raidframe module dir. Rf needs some fixes before it can be used as a
kernel module.
2009-08-10 07:19:11 +00:00
haad
58d687496c Add solaris and zfs kernel modules build directories. These modules will
not be built during release build until we import other kernel patches needed.
2009-08-10 07:16:06 +00:00
rmind
7512d1e720 Make POSIX message queues a kernel module. 2009-07-19 02:50:44 +00:00
reinoud
69a586f230 Import read-only part of the NiLFS (v2) implementation for NetBSD. It has been
tested with a DEBUG+DIAGNOSTIC+LOCKDEBUG kernel. To summerise NiLFS, i'll
repeat my posting to tech-kern here:

NiLFS stands for New implementation of Logging File System; LFS done
right they claim :) It is at version 2 now and is being developed by NTT, the
Japanese telecom company and recently put into the linux source tree. See
http://www.nilfs.org. The on-disc format is not completely frozen and i expect
at least one minor revision to come in time.

The benefits of NiLFS are build-in fine-grained checkpointing, persistent
snapshots, multiple mounts and very large file and media support. Every
checkpoint can be transformed into a snapshot and v.v. It is said to perform
very well on flash media since it is not overwriting pieces apart from a
incidental update of the superblock, but that might change. It is accompanied
by a cleaner to clean up the segments and recover lost space.

My work is not a port of the linux code; its a new implementation. Porting the
code would be more work since its very linux oriented and never written to be
ported outside linux. The goal is to be fully interchangable. The code is non
intrusive to other parts of the kernel. It is also very light-weight.

The current state of the code is read-only access to both clean and dirty
NiLFS partitions. On mounting a dirty partition it rolls forward the log to
the last checkpoint. Full read-write support is however planned!

Just as the linux code, mount_nilfs allows for the `head' to be mounted
read/write and allows multiple read-only snapshots/checkpoint mounts next to
it.

By allowing the RW mount at a different snapshot for read-write it should be
possible eventually to revert back to a previous state; i.e. try to upgrade a
system and being able to revert to the exact state prior to the upgrade.

Compared to other FS's its pretty light-weight, suitable for embedded use and
on flash media. The read-only code is currently 17kb object code on
NetBSD/i386. I doubt the read-write code will surpass the 50 or 60. Compared
this to FFS being 156kb, UDF being 84 kb and NFS being 130kb. Run-time memory
usage is most likely not very different from other uses though maybe a bit
higher than FFS.
2009-07-18 16:31:41 +00:00
mrg
de36815874 add a couple of missing files. pointed out by tron. 2009-06-22 15:34:53 +00:00
tron
45353de023 Fix modules build after update of drm(4). 2009-06-22 13:13:08 +00:00
haad
7147ed320b Add work in support for compiling ccd and cgd drivers as a modules. I forgot
to committ when I have written device module autoloading stuff.
2009-06-05 19:21:02 +00:00
dyoung
d0947ed2de Also look for sources in sys/arch/x86/x86/ if MACHINE_ARCH is i386 or
x86_64.
2009-03-31 18:41:40 +00:00
yamt
625056c471 enable tprof modules. 2009-03-10 14:56:30 +00:00
yamt
324183902f add makefiles for tprof drivers. 2009-03-10 14:49:49 +00:00
yamt
1c655cd541 whitespace 2009-03-05 01:29:32 +00:00
he
e075a1d038 Follow up the removal of linux_support.S for amd64 and i386. 2009-02-24 12:17:51 +00:00
ad
59fcf21389 PR kern/26878 FFSv2 + softdep = livelock (no free ram)
PR kern/16942 panic with softdep and quotas
PR kern/19565 panic: softdep_write_inodeblock: indirect pointer #1 mismatch
PR kern/26274 softdep panic: allocdirect_merge: ...
PR kern/26374 Long delay before non-root users can write to softdep partitions
PR kern/28621 1.6.x "vp != NULL" panic in ffs_softdep.c:4653 while unmounting a softdep (+quota) filesystem
PR kern/29513 FFS+Softdep panic with unfsck-able file-corruption
PR kern/31544 The ffs softdep code appears to fail to write dirty bits to disk
PR kern/31981 stopping scsi disk can cause panic (softdep)
PR kern/32116 kernel panic in softdep (assertion failure)
PR kern/32532 softdep_trackbufs deadlock
PR kern/37191 softdep: locking against myself
PR kern/40474 Kernel panic after remounting raid root with softdep

Retire softdep, pass 2. As discussed and later formally announced on the
mailing lists.
2009-02-22 20:28:05 +00:00
abs
515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
haad
a257a2bccf Revert previously changes. There is no cgd and ccd directory until I properly
test ccd.kmod and cgd.kmod.
2009-02-05 21:07:19 +00:00
haad
7aa7bdd03c Add support for the MODULAR framework to the vnd driver. Enable building of
vnd.kmod by default.
2009-02-05 17:32:10 +00:00
jmcneill
894890c301 kmod reachover glue 2009-02-03 13:32:30 +00:00
christos
143e6033a9 Provide compatibility for pre-christos-time_t sysv sysctls. 2009-01-19 19:39:41 +00:00
haad
4768b70dfe Add comment about adding module dependiences to MODULE macro. 2009-01-14 00:53:44 +00:00
christos
461a86f9bd merge christos-time_t 2009-01-11 02:45:45 +00:00
pooka
b235dbfce2 sysvbfs module 2009-01-05 15:36:51 +00:00
haad
894d2ad3b7 Add stubs for mirror target, too. This target does nothing for now, but lvm
tools support mirror target and trying to create LV with mirrorred backend
caused panic in dm_table_load_ioctl.
2009-01-02 11:03:24 +00:00
haad
18bcf672b4 Remove unneeded targets from dm driver and build them as separate modules.
The zero, error and snapshot targets are build as modules and can be loaded
to dm driver with modload. I do not build/install these drivers by default.

The linear and stripe targets are needed for LVM so I keep them compiled in
dm.
2009-01-02 01:06:16 +00:00
agc
287120139a Might as well install the dm devmapper module when we install the
other parts of the LVM tools - use the same MKLVM switch, though.
2008-12-31 21:22:02 +00:00
haad
210ce8a464 Add makefile for building device-mapper kernel module. 2008-12-19 15:36:58 +00:00
njoly
84ab0cee9a s/SYSVIPC/SYSVMSG/, for message queues support. 2008-12-08 12:56:00 +00:00
ad
49e50a21d6 PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there)
Add a layerfs module.
2008-12-05 13:05:37 +00:00
ad
dc5f414733 PR port-amd64/40091 compat_linux32 module loading = panic due to missing syms 2008-12-03 12:51:11 +00:00
tsutsui
7828361bcf - don't build compat_linux on alpha until sys/modules/compat_linux/Makefile
handles required MD files under sys/compat/linux/arch/alpha
- build exec_elf64 for all 64 bit arch
- use MACHINE_ARCH!="alpha" instead of MACHINE!="alpha" for exec_elf32 check

XXX we have many histrical inconsistent use of amd64 vs x86_64.
2008-11-29 18:41:06 +00:00
he
f4b2fe2c8d Build compat_linux and exec_elf64 for alpha. 2008-11-28 21:17:08 +00:00
cube
78c770f784 Descend into the new modules during the build. 2008-11-25 12:50:03 +00:00
cube
1ff44d9310 Build and install the PPP compressors modules deflate and bsdcomp. 2008-11-25 02:42:35 +00:00
ad
22a5f6ab5a Rename some modules to match their vfs name. 2008-11-24 11:26:49 +00:00
martin
840e410768 exec_elf32 makes no sense on alpha 2008-11-23 15:29:42 +00:00
ad
d9d57112d9 PR port-amd64/39990 modules/compat_linux32: build fix 2008-11-21 10:04:58 +00:00
ad
5b4bafc85a typo 2008-11-20 11:01:54 +00:00
ad
96c1610fd0 exec_aout module:
- compat_exec.c belongs here, not in compat.
- Make COMPAT_NOMID work in here.
2008-11-20 10:54:38 +00:00
ad
226bc85b61 Rename the accept filter modules to make module name match filter name. 2008-11-20 09:58:45 +00:00
ad
1ab7ca8fdc PR port-amd64/39964 modules/compat_linux: missing symbols on amd64 2008-11-20 09:26:06 +00:00
ad
11c98a4abf PR port-amd64 modules/compat missing symbols on amd64
Also, test for compat_??_machdep.c so we don't have to grow more ifdefs
in the makefile.
2008-11-20 09:22:57 +00:00
ad
92ce8c6a3d Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
2008-11-19 18:35:57 +00:00
ad
974cf03d8d Fail to load if there is no embedded file system image. 2008-11-16 15:47:35 +00:00
ad
15fabc9984 Return EOPNOTSUPP for unload. 2008-11-16 15:46:10 +00:00
ad
c94326aee4 +lfs_itimes.c 2008-11-16 15:39:19 +00:00
ad
e6a3385171 Make POSIX AIO loadable as a module. 2008-11-14 23:33:45 +00:00
ad
f34e8d4f6b ndis module. Deliberately not enabled as part of the build. 2008-11-13 12:11:54 +00:00
ad
05844d020c PR kern/39263 $ufs kernel module dependency problems
Pull in the ufs stuff and enable features to make this module useful.
2008-11-13 10:50:26 +00:00
ad
03dacfd7f4 +compat_ossaudio 2008-11-13 10:15:52 +00:00