122287 Commits

Author SHA1 Message Date
daichi
8c9762ee1d MFC:
Added whiteout behavior option. ``-o whiteout=always'' is default mode
(it is established practice) and ``-o whiteout=whenneeded'' is less
disk-space using mode especially for resource restricted environments
like embedded environments. (Contributed by Ed Schouten. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:37:10 +00:00
daichi
f57250af76 MFC:
Fixed un-vrele issue of upper layer root vnode of  unionfs.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:34:58 +00:00
daichi
0fb12d7a9a MFC:
Added NULL check code pointed out by Coverity. (via Stanislav
Sedov. Thanks)

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:33:43 +00:00
daichi
c4a793469a MFC:
- It has been become MPSAFE.
  - Fixed lock panic issue under MPSAFE.
  - Fixed panic issue whenever it locks vnode with reclaim.
  - Fixed lock implementations not conforming to vnode_if.src style.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:32:17 +00:00
daichi
2dcb77bc65 MFC:
Fixed vnode unlock/vrele untreated issues whenever errors have
occurred during some treatments.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:30:13 +00:00
daichi
0fc7d44766 MFC:
- Added support for vfs_cache on unionfs. As a result, you can use
    applications that use procfs on unionfs.
  - Removed unionfs internal cache mechanism because it has
    vfs_cache support instead. As a result, it just simplified code of
    unionfs.
  - Fixed kern/111262 issue.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:28:22 +00:00
daichi
10c0c20643 MFC:
Added treatments to prevent readdir infinity loop using with Linux binary
compatibility feature.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:26:37 +00:00
daichi
87857aa796 MFC:
Changed it frees unneeded memory ASAP.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:24:37 +00:00
daichi
6995b1a323 MFC:
Improved access permission check treatments.

Submitted by:   Masanori Ozawa <ozawa@ongs.co.jp> (unionfs developer)
Reviewed by:    jeff, kensmith
Approved by:    re (kensmith)
2007-10-23 03:22:48 +00:00
julian
38803a46dd holy shit! that was checked out in RELENG_6.. back it out and put it in the right branch! 2007-10-21 04:22:46 +00:00
julian
b2067b7072 Note the renaming of kthread_xxx to kproc_xxx in 800002 2007-10-21 04:17:29 +00:00
obrien
e5c45d1b20 MFC: Remove sparc64 & PowerPC MD 'reboot' and 'halt' commands and make them
MI.  'reboot' is an alias for 'reset'.
2007-10-19 16:48:43 +00:00
mtm
91bbf45176 MFC:
rmuser.8 rev. 1.24,1.24 : Typo fixes.

  adduser.8 rev. 1.57-1.59: Typo and markup fixes
            rev. 1.56:
            Add adding_user.8 to SEE ALSO, note that usernames may
            contain any character but not being with a hyphen,
            similar to adding_user.8.

            PR:     35732
2007-10-19 08:16:30 +00:00
mtm
93dac539c3 MFC:
rev. 1.10
	The POP daemon's temporary mail file has a leading dot ('.').
	This was lost in the shell script rewrite of the rmuser command.
2007-10-19 07:55:52 +00:00
kientzle
04748f6a7c MFC: archive_write_set_format_cpio.c 1.12
MFC: archive_write_set_format_cpio_newc.c 1.2

Non-regular files should have zero-length bodies.  libarchive
flags this to clients by updating the entry description when
it writes the header.
2007-10-19 03:50:48 +00:00
jhb
bea8fbc3a5 MFC: Allow recursion on the 'zones' internal UMA zone. 2007-10-18 18:45:53 +00:00
edwin
859d90bad0 MFC of src/share/zoneinfo
MFV: tzdata2007h
2007-10-18 13:05:49 +00:00
kientzle
984f128033 MFC 1.15: Return EOF immediately for non-regular files, don't
return an empty block first.  In particular, this fixes a bogus
warning from bsdtar when restoring directories from ZIP archives.

Also, correct the return values at EOF to include the correct
offset.
2007-10-18 05:19:44 +00:00
cognet
1367de3db3 MFC:
arm/xscale/i80321/i80321_timer.c 1.8
arm/xscale/i80321/std.iq31244 rev 1.3
conf/options.arm rev 1.6
The IQ80321 clock is 200MHz, but the IQ31244 is 198MHz, so add a kernel option
to override the frequency
2007-10-17 23:29:02 +00:00
jhb
15a7b85980 MFC: Fix for a race where out of order loading of NFS attrs into the
nfsnode could lead to attrs being stale.
2007-10-17 16:07:10 +00:00
cognet
62c34d6b2a Oops. Remove a debug printf.
Spotted out by:	delphij
2007-10-16 21:32:19 +00:00
cognet
a84343f0d6 MFC the reimplementation of ARM_USE_SMALL_ALLOC. 2007-10-16 21:24:44 +00:00
cognet
667ea2c135 MFC rev 1.33/
date: 2007/06/10 12:33:01;  author: cognet;  state: Exp;  lines: +2 -1
Initialize the dma tag's bounce_zone to NULL if we didn't allocate it.
2007-10-16 21:13:59 +00:00
cognet
82ceddb921 Use 16 - 1 instead of 16 as the align argument of uma_zcreate(), as it's
what is expected.
2007-10-16 21:10:26 +00:00
cognet
5ed5293aba MFC rev 1.32:
date: 2007/06/07 21:51:09;  author: cognet;  state: Exp;  lines: +3 -4
There's no nobounce_dmamap on arm.
2007-10-16 19:59:50 +00:00
cognet
314e9f787e Make td_sqqueue explicitely signed, as we compare it with >= 0. On arm,
char defaults to unsigned.
2007-10-16 19:57:36 +00:00
cognet
39d6ab9801 MFC rev 1.78:
revision 1.78
date: 2007/02/05 10:33:39;  author: kevlo;  state: Exp;  lines: +0 -1
<sys/sx.h> is unneeded.
2007-10-16 19:52:11 +00:00
delphij
e54765369e MFC: less v409 2007-10-15 17:01:30 +00:00
sepotvin
b37e731666 MFC:
- Fix a small bit slip in PCIM_PCAP_D[0-2]PME defines.
- Add the definitions for D3PME_COLD and D3PME_HOT capabilities.

Approved by:	njl (mentor)
2007-10-15 02:43:39 +00:00
maxim
08383c0d27 MFC rev.1.108: fix the issue when "ipfw(8) show" produces "not" twice. 2007-10-14 08:58:01 +00:00
jhb
bab546c630 MFC: Use the correct pid when checking to see whether or not the
/proc/<pid> directory is visible to the current thread.
2007-10-12 19:38:39 +00:00
kib
97f3ce4e2c MFC rev. 1.35:
Deny attempt to malloc unbounded amount of the memory.
Convert malloc()/bzero() to malloc(M_ZERO).
2007-10-12 10:24:21 +00:00
jfv
f464b3caaa Fix the duplicate include stanza.
PR: 117125
2007-10-12 07:49:33 +00:00
mav
3750cc7cc3 MFC rev. 1.18-1.21
- Fix thread safety.
 - Make some optimizations.
2007-10-12 05:09:13 +00:00
jkim
be00572ccd Fix SUBDIR expansion and reduce diff from HEAD. 2007-10-11 23:47:28 +00:00
thompsa
f3e06bc436 Sync to HEAD. 2007-10-11 20:29:41 +00:00
thompsa
7d4e7d98da MFC if_bridge.c r1.103, if_bridge.4 r1.29
Allow additional packet filtering on the physical interface for locally
  destined packets, disabled by default.

PR:             kern/116051
Submitted by:   Eygene Ryabinkin
2007-10-11 20:28:53 +00:00
thompsa
0f871a6acb MFC r1.17
Use the -n flag on ifconfig so that dhclient does not cause the kernel module
  to be reloaded when the interface is torn down.
2007-10-11 20:23:33 +00:00
thompsa
b0693660ac MFC ifconfig.8 r1.138, ifconfig.c r1.131
Add the -n flag for disabling automatic module loading
2007-10-11 20:20:39 +00:00
delphij
c30c88743a Note less v408 MFC. 2007-10-11 18:54:35 +00:00
delphij
289322e6a4 MFC: less v408. 2007-10-11 18:51:44 +00:00
jfv
cc2e44be9f Small change, this will allow this driver version to be used
on 6.2 RELEASE, you simply won't get MSI/X support.
2007-10-11 17:58:28 +00:00
ticso
287974ed2d MFC: rev 1.6
declare struct tftphdr and embedded union as beeing packed, which is
required for arm.
2007-10-11 17:32:20 +00:00
obrien
518dde115f MFC: bwk's 01-May-2007 release 2007-10-10 00:22:15 +00:00
edwin
1ea17145e8 Whitespace chase after bad copy+paste.
Noticed by: John Baldwin
2007-10-10 00:09:08 +00:00
obrien
a5ff6b804a Stop applying patches at build time - instead apply directly to the files.
I've seen this practice cause issues for vendors using our sources...
2007-10-09 15:28:15 +00:00
edwin
540559667f MFC:
Describe the process of importing new zoneinfo data and updating
it into CVS.

PR:             conf/116901
2007-10-09 02:37:21 +00:00
jhb
b320baddf7 MFC some fixes to IPI_PREEMPT:
- Use the proper bitmask tests for an IPI in the bitmap handler on amd64
  and i386.
- Don't test against idle priority, just the idle thread in the IPI_PREEMPT
  handlers.
2007-10-08 21:51:01 +00:00
jfv
b3c5567cb5 Last delta confused shared code API in the fix, this
corrects it.
2007-10-07 03:11:31 +00:00
marius
3f097d4adb MFC: 1.15; 1.16
- Remove unused softc.
- Use the actual clock frequency of the PCI bus instead of assuming
  33MHz for calculating the latency timer values for its children.
  Inspired by NetBSD doing the same and Linux as well as OpenSolaris
  using a similar approach.
  While at it rename a variable and change its type to be more
  appropriate fuer values of PCI properties so the variable can be
  more easily reused.
- Initialize the cache line size register of PCI devices to a
  legal value; the cache line size is limited to 64 bytes by the
  Fireplane/Safari, JBus and UPA interconnection busses. Setting
  it to an unsupported value caused bad performance at least with
  GEM as it causes them to not do cache line bursts and to not
  issue cache line commands on the PCI bus.
2007-10-06 20:50:18 +00:00