| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This fixes 'zdb <poolname>' crash.
Reported by: avg
Approved by: re (kib)
|
|
|
|
|
|
| |
Thanks to IBM char's are unsigned on arm/powerpc.
Approved by: gnn (mentor)
|
|
|
|
|
|
| |
the lockstat provider, and the ksyms(4) pseudo driver kernel modules.
Approved by: gnn (mentor)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Tested by: make universe
Tested by: ports exp build (done by pav)
Reviewed by: ru
Reviewed by: silence on arch
Approved by: ed (mentor)
|
|
|
|
|
|
|
|
| |
'lib32' for 32-bit binaries on amd64 and 'lib' for 64-bit binaries.
Remove an #ifdef __i386__ that defined use32 to the wrong value on
i386 to workaround the bug in the terenary operator.
MFC after: 1 month
|
|
|
|
|
|
| |
include of param.h can be removed from audit.h.
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
| |
up for components by reading metadata. This might be slower when there are big
number of disks in the system, but is definiately more reliable.
|
|
|
|
|
|
|
|
| |
unsigned long:
WARNING pid 12888 (zfs/zpool): ioctl sign-extension ioctl ffffffffcc285aXX
Reported by: kris
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This bring huge amount of changes, I'll enumerate only user-visible changes:
- Delegated Administration
Allows regular users to perform ZFS operations, like file system
creation, snapshot creation, etc.
- L2ARC
Level 2 cache for ZFS - allows to use additional disks for cache.
Huge performance improvements mostly for random read of mostly
static content.
- slog
Allow to use additional disks for ZFS Intent Log to speed up
operations like fsync(2).
- vfs.zfs.super_owner
Allows regular users to perform privileged operations on files stored
on ZFS file systems owned by him. Very careful with this one.
- chflags(2)
Not all the flags are supported. This still needs work.
- ZFSBoot
Support to boot off of ZFS pool. Not finished, AFAIK.
Submitted by: dfr
- Snapshot properties
- New failure modes
Before if write requested failed, system paniced. Now one
can select from one of three failure modes:
- panic - panic on write error
- wait - wait for disk to reappear
- continue - serve read requests if possible, block write requests
- Refquota, refreservation properties
Just quota and reservation properties, but don't count space consumed
by children file systems, clones and snapshots.
- Sparse volumes
ZVOLs that don't reserve space in the pool.
- External attributes
Compatible with extattr(2).
- NFSv4-ACLs
Not sure about the status, might not be complete yet.
Submitted by: trasz
- Creation-time properties
- Regression tests for zpool(8) command.
Obtained from: OpenSolaris
|
|
|
|
| |
Approved by: jb
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| |
| |
| |
| | |
FreeBSD headers.
|
| |
| |
| |
| | |
* Add a couple of FreeBSD action extensions.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* Add stubs for the other FreeBSD arches.
* Make the file compile cleanly.
|
| |
| |
| |
| | |
* Add FreeBSD constructor/destructor definitions.
|
| |
| |
| |
| |
| |
| |
| | |
* Get the kernel module file name rather than hard-coding it like on Solaris.
* Use FreeBSD's process library API.
* Handle FreeBSD's different lock types.
* Get the list of loaded providers via a syscall.
|
| |
| |
| |
| | |
* Make this file compile cleanly.
|
| |
| |
| |
| |
| |
| |
| | |
for userland tracing.
For now we need the basic functions to be in place so that DTrace can
be used for kernel tracing.
|
| | |
|
| |
| |
| |
| | |
in on the vendor branch.
|
| |
| |
| |
| |
| |
| |
| | |
* There are a few placeholders in here for which there isn't libproc
support code yet. This is relevent to userland tracing. This set of
commits is designed to get kernel tracing up and running, with the
userland stuff to follow later.
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Handle the different ioctl design.
* Add support for the get and set error location.
* Add support for freopen().
|
| |
| |
| |
| | |
* Make the file compile cleanly.
|
| |
| |
| |
| |
| |
| |
| |
| | |
error is returned all the way back to the dtrace app, it's hard to
figure out where that error came from.
Add a couple of functions to get and set the error location which can
be optionally compiled into the library.
|
| | |
|
| |
| |
| |
| |
| | |
* Use FreeBSD's kld syscalls to get kernel module information instead
of using an object file system like Solaris uses.
|
| |
| |
| |
| |
| | |
* Use FreeBSD's process library API.
* Make the file compile cleanly.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Handle the different ioctl design.
* Support the freopen() changes.
* Use functions in FreeBSD's process library rather than the CDDL
library that Solaris has which sits on top of their process file
system and is therefore unsuitable for use on FreeBSD. The libproc
API for FreeBSD is deliberately different to that on Solaris because
Sun wouldn't release the libproc.h header under a BSD license.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* On FreeBSD define both LITTLE_ENDIAN and BIG_ENDIAN and then set the
BYTE_ORDER to the one we are using. On Solaris they define one or
the other but not both. For us to keep using FreeBSD header files,
we need to use endian definitions the same way we do in pure BSD
code.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
* Handle the different ioctl format.
|
| |
| |
| |
| |
| | |
* Allow for the different level of indirection between SYSV's ioctl and BSD's.
* Map a couple of sysconf definitions to one that FreeBSD has.
|
| |
| |
| |
| | |
that Solaris has. We may need to revisit this issue later.
|