Commit Graph

131770 Commits

Author SHA1 Message Date
cperciva
296f9755ef Clean up error handling in archive_append to match how errors are
handled in write_hierarchy.

Approved by:	kientzle
2007-04-09 08:22:34 +00:00
scottl
1212cb7f95 Make use of M_ZERO in various malloc calls. 2007-04-09 05:47:32 +00:00
scottl
5b70942275 Fix a logic bug that slipped in at the last minute and apparently escaped
testing.
2007-04-09 05:43:02 +00:00
grog
5218e59269 Add -A flag to adjust existing time stamps.
Print name by which program was started in usage() message.

MFC after:  2 weeks
2007-04-09 02:19:37 +00:00
gshapiro
dd66975643 sendmail upgraded to 8.14.1 2007-04-09 01:47:58 +00:00
gshapiro
b49f89fed1 Update for sendmail 8.14.1 2007-04-09 01:46:43 +00:00
gshapiro
330262c3e1 This FFR is no longer needed in sendmail 8.14 2007-04-09 01:45:52 +00:00
gshapiro
9fd55a85a1 New files in sendmail 8.14.1 2007-04-09 01:45:30 +00:00
gshapiro
84a4aaabc6 Resolve conflicts from sendmail 8.14.1 import 2007-04-09 01:44:16 +00:00
gshapiro
97853bac96 This commit was generated by cvs2svn to compensate for changes in r168515,
which included commits to RCS files with non-trunk default branches.
2007-04-09 01:38:51 +00:00
gshapiro
14e22b52d4 Import sendmail 8.14.1 2007-04-09 01:38:51 +00:00
pjd
a26ee9422b Instead of detecting if lock is already initialized based on standard 1 bit
check, use more accurate 13 bits check. We had too many false-positives with
the standard check.

Reported by:	mlaier
2007-04-09 01:05:31 +00:00
pjd
48bdec8a69 Always try to load zpool.cache instead of trying to find good place to
document it. When there is no such file, it's invisible for the user.
2007-04-09 00:04:54 +00:00
pjd
1d4ef1883e We don't have to wait for the root file system to be mounted anymore, now that
kobj KPI supports operating on files loaded by the loader.
2007-04-09 00:03:45 +00:00
pjd
00da9008fd Drop the Giant lock before calling zfs_domount(), which is held when
mounting root file system.
2007-04-09 00:02:11 +00:00
pjd
afcf861a95 Move zpool.cache from /etc/zfs/ to /boot/zfs/, so we can keep it on
dedicated /boot/ file system and use ZFS for the root file system.
2007-04-08 23:59:39 +00:00
pjd
e47fb9eabd Extend kobj compatibility KPI to support operating on files before and
after the root file system is mounted.
This is one of the changes that will allow to put root file system on ZFS.
2007-04-08 23:57:08 +00:00
pjd
f0a2e6d38c Use root_mounted(). 2007-04-08 23:54:23 +00:00
pjd
6f7c2e9be3 Add root_mounted() function that returns true if the root file system is
already mounted.
2007-04-08 23:54:01 +00:00
kmacy
47ca069c43 Add missing paren 2007-04-08 22:56:18 +00:00
delphij
1ebd1ed435 Bump __FreeBSDversion for CAM sg addition.
Requested by:	bsam
2007-04-08 22:45:20 +00:00
sos
331106ea12 OK, this is not my day, fix the former fix :/ 2007-04-08 21:53:52 +00:00
sam
61e8c2791d Due to the recent "aircrack-ptw" WEP cracking discovery, I thought
that it might be worth fixing a couple of bugs in wesside and making
it use the new cracking technique.  I think this enhancement makes
the tool quite usable.  It is possible to recover keys in only a
couple of minutes.

* Fix ACKs.  Firmware will ACK data [just set the MAC addr correctly].
* Fix RX routines.  Process all packets read().
* Use aircrack-ptw [built-in] rather than external aircrack.
* Log data in pcap format so that it may be used by others [e.g. aircrack-ng].

Submitted by:	Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2007-04-08 21:18:15 +00:00
sos
5b98ea3bb8 Hopefully unbreak the 64bit DMA support this time. 2007-04-08 19:18:51 +00:00
kmacy
04099f707e remove stale variable reference 2007-04-08 18:02:37 +00:00
pjd
2b260dcd5e MFp4: Synchronize with recent OpenSolaris changes. 2007-04-08 16:29:25 +00:00
pjd
4b06e89211 There can be many reasons of VDEV failures, so log type as well. 2007-04-08 16:05:23 +00:00
kmacy
9d80aa5292 add busdma function for mapping mbuf iovecs
change m_collapse to return an error code
2007-04-08 15:59:07 +00:00
pjd
d5cb13779a Provide sample entries to handle ZFS problem reports.
It'd be nice to send them via e-mail...
2007-04-08 15:56:49 +00:00
pjd
12036d2691 - Use 'name=value' so it can be properly recognized by devd(8).
- Use only subclass as devd's type.
2007-04-08 15:55:48 +00:00
sos
e8b0a99e57 Dont zero out 64BIT flag on DMA ops. 2007-04-08 15:31:39 +00:00
kmacy
bc44c7c360 hook uipc_mvec.c into build 2007-04-08 15:18:03 +00:00
kmacy
89cfec3b05 Convert driver RX path over to using mbuf iovec 2007-04-08 15:04:19 +00:00
kmacy
c2173d9689 Add driver private mbuf iovec support routines 2007-04-08 14:56:16 +00:00
pjd
7e25d4e142 prison_free() can be called with a mutex held. This wasn't a problem until
I converted allprison_mtx mutex to allprison_lock sx lock. To fix this LOR,
move prison removal to prison_complete() entirely. To ensure that noone
will reference this prison before it's beeing removed from the list skip
prisons with 'pr_ref == 0' in prison_find() and assert that pr_ref has to
greater than 0 in prison_hold().

Reported by:	kris
OK'ed by:	rwatson
2007-04-08 10:46:23 +00:00
pjd
dae6c83594 Take vnode pointer and hold it under znode lock, so we won't race with
zfs_reclaim(). This may or may not fix problem reported by kris, but it's
definiatelly better that way.
2007-04-08 10:29:14 +00:00
pjd
313c37aa50 Only use prison mutex to protect the fields that need to be protected by it. 2007-04-08 10:21:38 +00:00
ariff
eeb7dfece2 Disable cmi_midiattach(). The implementation is incomplete, and causing
various interesting memory leak issues.
2007-04-08 07:52:27 +00:00
pjd
f04caa18dd If we cannot open /dev/zfs try to load zfs.ko automatically and reopen. 2007-04-08 03:02:08 +00:00
pjd
314f7e9104 pr_list is protected by the allprison_lock. 2007-04-08 02:13:32 +00:00
pjd
65ca3ed324 Move atomic.S files to directories that better fit OpenSolaris directory
layout.
2007-04-07 23:54:54 +00:00
pjd
836b7049f4 Fix libzpool compilation.
Reported by:	des
2007-04-07 23:47:14 +00:00
kan
639e7fc27d Remove reference to FBSDprivate version. We do not use it in this
module yet.
2007-04-07 23:23:10 +00:00
kan
0c81bcae73 Catch up on rtld's special status. Since it does not appear on
main object list, its versioning information needs to be examined
separately.

This hopefully fixes problems that people running with SYMVER_ENABLED
are experiencing.
2007-04-07 23:17:00 +00:00
pjd
786ba2b377 Limit the number of system taskq threads to the number of CPUs.
They are only used when there is a need for reducing namecache.

Observed by:	kris, csjp
2007-04-07 21:41:11 +00:00
scottl
1320f9f144 Add the CAM 'SG' peripheral device. This device implements a subset of the
Linux SCSI SG passthrough device API.  The intention is to allow for both
running of Linux apps that want to talk to /dev/sg* nodes, and to facilitate
porting of apps from Linux to FreeBSD.  As such, both native and linuxolator
entry points and definitions are provided.

Caveats:
 - This does not support the procfs and sysfs nodes that the Linux SG
   driver provides.  Some Linux apps may rely on these for operation,
   others may only use them for informational purposes.
 - More ioctls need to be implemented.
 - Linux uses a naming scheme of "sg[a-z]" for devices, while FreeBSD uses a
   scheme of "sg[0-9]".  Devfs aliasis (symlinks) are automatically created
   to link the two together.  However, tools like camcontrol only see the
   native names.
 - Some operations were originally designed to return byte counts or other
   data directly as the syscall return value.  The linuxolator doesn't appear
   to support this well, so this driver just punts for these cases.

Now that the driver is in place, others are welcome to add missing
functionality.  Thanks to Roman Divacky for pushing this work along.
2007-04-07 19:40:58 +00:00
kientzle
9a4581bab3 Fix build on Solaris. 2007-04-07 19:35:02 +00:00
des
fa363796e1 Build ZFS on amd64 and pc98.
Approved by:	pjd@
2007-04-07 19:12:10 +00:00
des
494d7fa591 Fix some type mismatches.
Reviewed by:	pjd@
2007-04-07 19:11:41 +00:00
pjd
2b4a45b0fc Allow to tune maximum and minimum memory used by ARC. 2007-04-07 19:10:50 +00:00