Commit Graph

151184 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
2b98f8400d MFC r204076,r204077,r204083,r205279:
r204076:

Please welcome HAST - Highly Avalable Storage.

HAST allows to transparently store data on two physically separated machines
connected over the TCP/IP network. HAST works in Primary-Secondary
(Master-Backup, Master-Slave) configuration, which means that only one of the
cluster nodes can be active at any given time. Only Primary node is able to
handle I/O requests to HAST-managed devices. Currently HAST is limited to two
cluster nodes in total.

HAST operates on block level - it provides disk-like devices in /dev/hast/
directory for use by file systems and/or applications. Working on block level
makes it transparent for file systems and applications. There in no difference
between using HAST-provided device and raw disk, partition, etc. All of them
are just regular GEOM providers in FreeBSD.

For more information please consult hastd(8), hastctl(8) and hast.conf(5)
manual pages, as well as http://wiki.FreeBSD.org/HAST.

Sponsored by:	FreeBSD Foundation
Sponsored by:	OMCnet Internet Service GmbH
Sponsored by:	TransIP BV

r204077:

Remove some lines left over by accident.

r204083:

Add missing KEYWORD line.

Pointed out by:	dougb

r205279 sys:

Simplify loops.
2010-04-18 21:14:49 +00:00
Edward Tomasz Napierala
93df368f6c MFC r202934:
Move out code that does POSIX.1e ACL inheritance into separate routines.

Reviewed by:	rwatson
2010-04-18 20:34:46 +00:00
Pawel Jakub Dawidek
1d908ad75f MFC r204075:
Style nits.
2010-04-18 20:23:08 +00:00
Edward Tomasz Napierala
a515de671b MFC r206160 by jh@:
Add missing MNT_NFS4ACLS.
2010-04-18 19:51:46 +00:00
Edward Tomasz Napierala
8fce74fce5 MFC r200829:
Cosmetic fixes.
2010-04-18 19:44:54 +00:00
Edward Tomasz Napierala
e7e223603d MFC r200811:
Add regression test for NFSv4 ACLs on UFS.
2010-04-18 19:40:52 +00:00
Edward Tomasz Napierala
0718d64da3 MFC r200796:
Implement NFSv4 ACL support for UFS.

Reviewed by:	rwatson
2010-04-18 19:21:08 +00:00
Edward Tomasz Napierala
bfc6b188ec MFC r197867:
Properly mark ZFS properties which are not changeable under FreeBSD.

Reviewed by:	pjd
2010-04-18 16:37:38 +00:00
Edward Tomasz Napierala
ff6dfec6de MFC r197859:
'aclmode' and 'aclinherit' properties should work as advertised; don't
refuse to set them.
2010-04-18 16:36:38 +00:00
Edward Tomasz Napierala
1bd4d5ddec MFC r201118:
Bump manual page dates.
2010-04-18 10:42:42 +00:00
Edward Tomasz Napierala
875d570a91 MFC r201114:
Add references to termios-related stuff.
2010-04-18 10:38:17 +00:00
Edward Tomasz Napierala
cbd7ba79f0 MFC r201115:
Line discipline support is gone; update tty(4) manual page to reflect this.

Reviewed by:	ed
2010-04-18 10:36:49 +00:00
Edward Tomasz Napierala
5675cbea97 MFC r205846:
Fix references.
2010-04-18 10:29:26 +00:00
Konstantin Belousov
c9975476bf MFC r206671:
Fix typo.
2010-04-18 04:35:16 +00:00
Hajimu UMEMOTO
81a33b9c2c MFC r206156, r206159, r206163: services_mkdb; generate db file
from services(5) to increase speed of getserv*()
2010-04-18 04:15:21 +00:00
Hajimu UMEMOTO
4deeadcb9b MFC r206155, r206267: Add capability to use a db version of
services.  It is enabled by specifying `db' as source of
services in /etc/nsswitch.conf.
2010-04-18 04:07:32 +00:00
Hajimu UMEMOTO
b7a43116e9 MFC ir206152, r206153, r206154:
- Stop adding trailing '\n'.  The servent_unpack() doesn't expect
  lines terminated with '\n'.
- Treat '+' as special only when in compat mode, and simplify
  the logic bit.
- Reduce duplicate code.
2010-04-18 03:52:41 +00:00
Warner Losh
11b893bdc5 Remap COMPAT_IA32 to COMPAT_FREEBSD32 to ease the transition of this
option and not break 8.0 config files later in the 8.x branch.

# Yes, this is a direct commit, since this is not relevant to head.
2010-04-18 01:15:47 +00:00
Warner Losh
7a1b7e33b4 MFC r206664:
Allow option aliasing.  Lines of the form:

  OLD_OPT = NEW_OPT

  in options* files will now map OLD_OPT to NEW_OPT with a friendly
  message.  This is indented for situations where we need to preserve an
  interface in the config file in an upwards compatible fashion on a
  stable branch.

  Reviewed by:	nwhitehorn@
  MFC after:	3 days
2010-04-18 00:57:30 +00:00
Weongyo Jeong
88a85a4c47 MFC r205140:
fixes a broken software beacon miss handler.  There is a race to check
  vap->iv_bmiss_count == 0 in ieee80211_swbmiss because iv_swbmiss_task
  is enqueued by taskqueue.

  Reviewed by:  rpaulo
2010-04-17 23:48:07 +00:00
Weongyo Jeong
6fa37bd64a MFC r202610:
adds a hardware specific configuration file for uath(4).

  Pointed by:   sam
  Reviewed by:  imp, thompsa
2010-04-17 23:14:06 +00:00
Weongyo Jeong
52c92a07d0 MFC r202607:
Fixes a firmware bug that in some devices (e.g. Netgear WG111T or
  TRENDnet TEW-504UB/EU) idProduct didn't be decreased after loading the
  firmware.

  Pointed by:	Steven Friedrich <freebsd at insightbb.com>
  Submitted by:	sam
2010-04-17 23:04:42 +00:00
Weongyo Jeong
15932fc82d MFC r198195:
adds devices supportted by urtw(4) and bumps date.
2010-04-17 22:57:07 +00:00
Weongyo Jeong
9fd42adec7 MFC r197724:
TRENDnet TEW-424UB has multiple revisions so clarify zyd(4) man page and
  adds a device to urtw(4).  The revision informations are as follows:

      rev A       ZD1211
      V2          SiS163U
      V2.1R       SiS163U
      V3.xR       RTL8187B

  and bump date.

  Obtained from:	OpenBSD
  Reported by:		Albert Shih <Albert.Shih at obspm.fr>
2010-04-17 22:52:33 +00:00
Rui Paulo
55f05ae7e5 MFC r206456:
Honor the CE bit even when the CWR bit is set.

 PR:		145600
 Submitted by:	Richard Scheffenegger <rs at netapp.com>
2010-04-17 17:40:12 +00:00
Andriy Gapon
7ca64047c2 MFC r206130: g_vfs_open: allow only one mount per device vnode 2010-04-17 11:57:41 +00:00
Andriy Gapon
0866329b6e MFC r206129: vn_stat: use va_blocksize when setting st_blksize 2010-04-17 11:25:30 +00:00
Andriy Gapon
e747dbab75 MFC r205860,206097: correctly set b_offset for getblk(devvp) 2010-04-17 11:06:42 +00:00
Konstantin Belousov
b8fde9ef74 MFC r206623:
ld_gs_base is executing with stack containing only the frame,
temporary pushed %rflags has been popped already.
2010-04-17 09:37:08 +00:00
Hajimu UMEMOTO
ee3474bf76 MFC r206557: Nuke the descriptions about ipv6_firewall_* as they
were unified into firewall_*.
2010-04-17 04:54:38 +00:00
Randall Stewart
0099361644 MFC of 206281
Final MFC of all the IETF hack a-thon.. head and stable are
now in sync ;-)
2010-04-17 04:19:18 +00:00
Randall Stewart
56be5eba8b MFC of 206151 2010-04-17 04:17:17 +00:00
Randall Stewart
17f2eabb2b MFC of 206137
This is Part III of the great IETF hack-a-thon to fix
the NR-Sack code. (the last one on the cpu options
was a lull.. i.e MFC 205629).. still 2 more to go.
2010-04-17 04:15:46 +00:00
Randall Stewart
07072810f0 MFC of 205629
Adds the option of seperating out the sctp stats per
processor. This will be refined further and is definetly
exploratory (which is why its an option) i.e. making it
allocate the actual number of processors is coming ;-D.
2010-04-17 04:13:52 +00:00
Randall Stewart
469ff22797 MFC of 205628
Out goes the nr_mapping_array expand.
2010-04-17 04:11:45 +00:00
Randall Stewart
f1fb6dd5de MFC of 205627
Part II (more to follow) of the great IETF hack-a-thon to
fix the NR-Sack code.
2010-04-17 04:10:29 +00:00
Randall Stewart
dc47896e05 MFC of 204141
Cleans up so we can have a vtag reflected argument.
One of Michaels fixes ;-)
2010-04-17 04:08:51 +00:00
Randall Stewart
ce6856644b MFC of 204096
One of Michaels changes to fix some sign issues and
some minor locking.
2010-04-17 04:06:40 +00:00
Randall Stewart
6c16609631 MFD 204040
Fixes some argument calsl (u_long vs uint32_t).
2010-04-17 04:02:27 +00:00
Randall Stewart
ec15b65695 MFC of 203847
Puts in missing packed declarations (from Michael). It worked
only because it was properly aligned anyway ;-)
2010-04-17 04:00:57 +00:00
Randall Stewart
2b7bba217f MFC of 203503
A fix to how the checksum code works that Michael put in.
2010-04-17 03:58:56 +00:00
Randall Stewart
3c9d6800fc MFC of 202782
Michaels changes that took out [0] -> for []
2010-04-17 03:57:16 +00:00
Randall Stewart
535f992c6d MFC of 202526
The first round of some of Michael's changes to
get the sack processing in better shape.
2010-04-17 03:55:49 +00:00
Randall Stewart
835d439e3a MFC of 205502
The firste of Michael and my long fight at the IETF to
get the NR sack code fixed and aligned.
2010-04-17 03:53:44 +00:00
Randall Stewart
9eb2a664ab MFC of 202523
This fixes a closing race condition that is unlikely
to ever happen.. but good to fix ;-)
2010-04-17 03:51:13 +00:00
Randall Stewart
57f0b741c6 MFC 202521
More stray ifdef's that had worked their way into the
code base somehow (yes thats ifdef Windows going out.. our
stack runs on windows .. big thanks for that goes to
Kozuka-san and Bruce Cran ;-D)
2010-04-17 03:49:21 +00:00
Randall Stewart
d50db6bd56 MFC of 202520
This aligns us to the socket api of the stream
reset with proper naming.. and a define for backward
compatibility.
2010-04-17 03:47:04 +00:00
Randall Stewart
394ddd21a6 MFC of 202518
More ifdefs that should not be present...
2010-04-17 03:44:28 +00:00
Randall Stewart
0146f692b5 MFC of 202517
Again gets rid of some rather strange ifdef's for
APPLE/USERSPACE that drifted in through our scrubber
programs.
2010-04-17 03:43:02 +00:00
Randall Stewart
aab42fa148 MFC 202516
This gets rid of some stray #ifdef APPLE that drifted in
some how.
2010-04-17 03:40:48 +00:00