]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/log
FreeBSD/releng/9.0.git
12 years agoMFC r226620:
pjd [Sat, 19 Nov 2011 11:42:19 +0000 (11:42 +0000)]
MFC r226620:

Update per-thread I/O statistics collection in ZFS.
This allows to see processes I/O activity in 'top -m io' output.

PR kern/156218
Reported by: Marcus Reid <marcus@blazingdot.com>
Patch by: avg
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227707 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227416:
dougb [Fri, 18 Nov 2011 21:12:05 +0000 (21:12 +0000)]
MFC r227416:

Document that flock can return ENOLCK

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227682 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r226863:
dougb [Fri, 18 Nov 2011 20:51:31 +0000 (20:51 +0000)]
MFC r226863:

Fix svnversion for svn 1.7.x by not looking for .svn in ${SYSDIR}
(since it no longer exists). Instead, run svnversion if we can find
the binary and test that the output looks like a version string.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227678 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227391:
fabient [Fri, 18 Nov 2011 14:56:06 +0000 (14:56 +0000)]
MFC r227391:
Import gcc fix for -fstack-protector that produces segfaulting
binaries on arm/armel.

Related gcc bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965

Author kindly accepted that all of his patches can be use as GPLv2.

PR: 161128
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227665 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r227059
rmacklem [Thu, 17 Nov 2011 16:38:22 +0000 (16:38 +0000)]
MFC: r227059
Both a crash reported on freebsd-current on Oct. 18 under the
subject heading "mtx_lock() of destroyed mutex on NFS" and
PR# 156168 appear to be caused by clnt_dg_destroy() closing
down the socket prematurely. When to close down the socket
is controlled by a reference count (cs_refs), but clnt_dg_create()
checks for sb_upcall being non-NULL to decide if a new socket
is needed. I believe the crashes were caused by the following race:
  clnt_dg_destroy() finds cs_refs == 0 and decides to delete socket
  clnt_dg_destroy() then loses race with clnt_dg_create() for
    acquisition of the SOCKBUF_LOCK()
  clnt_dg_create() finds sb_upcall != NULL and increments cs_refs to 1
  clnt_dg_destroy() then acquires SOCKBUF_LOCK(), sets sb_upcall to
    NULL and destroys socket

This patch fixes the above race by changing clnt_dg_destroy() so
that it acquires SOCKBUF_LOCK() before testing cs_refs.

Tested by: bz
Reviewed by: dfr
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227631 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoRecord the merge of r227457, which was done as part of r227565 but not mentioned...
eadler [Thu, 17 Nov 2011 14:06:39 +0000 (14:06 +0000)]
Record the merge of r227457, which was done as part of r227565 but not mentioned in the commit log

PR: kern/142999
PR: kern/151365
Submitted by: Takefu Kenji <takefu@airport.fm>
Submitted by: Joerg Niendorf <f5d10a@internode.on.net>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227625 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r227448
brueffer [Thu, 17 Nov 2011 12:28:00 +0000 (12:28 +0000)]
MFC: r227448

Reword a sentence in the HARDWARE section a little to make it more suitable
for automatic hardware notes generation.

Approved by:    re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227620 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r227276
brueffer [Thu, 17 Nov 2011 12:25:38 +0000 (12:25 +0000)]
MFC: r227276

Add qlxgb(4).

Approved by:    re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227618 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC: r227271
brueffer [Thu, 17 Nov 2011 12:23:24 +0000 (12:23 +0000)]
MFC: r227271

Write QLogic consistently.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227616 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227112:
dim [Thu, 17 Nov 2011 08:12:12 +0000 (08:12 +0000)]
MFC r227112:

Whenever you boot with nfsv4_server_enable=NO (the default) in rc.conf,
the /etc/rc.d/nfsd script sets vfs.nfsd.server_max_nfsvers to 3.

Then, when you set nfsv4_server_enable=YES in rc.conf, and restart nfsd
via the rc.d script, without rebooting, the sysctl does *not* get reset
to max version 4, so NFSv4 still doesn't work.

Fix this by explicitly setting vfs.nfsd.server_max_nfsvers to 4 when
NFSv4 is requested.

I also added resetting of the nfs_privport sysctls, since this has the
same issue: nfs_reserved_port_only=YES in rc.conf sets the nfs_privport
sysctl to 1, but in the other case, the sysctl doesn't get reset to 0.

Reviewed by: rmacklem
Silence from: rc@
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227608 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r226679:
bschmidt [Wed, 16 Nov 2011 17:41:31 +0000 (17:41 +0000)]
MFC r226679:
Let net80211 also know about stopped BA sessions. This fixes some issues
where the driver assumed that BA resources are still available due to
net80211 saying so.

PR: 161407, 159768
Tested by: cperciva, rene
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227571 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r226404:
eadler [Wed, 16 Nov 2011 16:29:05 +0000 (16:29 +0000)]
MFC r226404:

- add support for I-O DATA RSA-PCI2/R

PR: kern/142999
Submitted by: Takefu Kenji <takefu@airport.fm>
Approved by: jhb
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227566 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227272:
ae [Wed, 16 Nov 2011 15:37:13 +0000 (15:37 +0000)]
MFC r227272:
  Add reference to gpart(8).

MFC r227280:
  Initialize "acc" value inside the loop to reset failed attempts.

  PR:           misc/162262

MFC r227292:
  Improve error reporting when MBR can not be written.
  Remove obsolete code which uses DIOCSMBR ioctl.
  When writing MBR first check that GEOM_MBR is available, if it is not
  available, then try write MBR directly to provider. If both are failed,
  then recommend to use gpart(8).

MFC r227295:
  Fix multi-line comment formatting.

  Pointed by:   jh

Approved by:    re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227561 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC rr227273:
ae [Wed, 16 Nov 2011 15:35:22 +0000 (15:35 +0000)]
MFC rr227273:
  Add reference to gpart(8).

Approved by:    re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227559 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227231:
ae [Wed, 16 Nov 2011 15:32:52 +0000 (15:32 +0000)]
MFC r227231:
  To be in sync with GEOM_PART_BSD limit the maximum number of supported
  partitions to 20.

MFC r227248:
  bsdlabel(8) could automatically fill many of disklabel's deprecated
  fields, but user could specify some of those fields when edits disklabel
  with `bsdlabel -e`. But without -A flag these fields might be
  overwritten with default values from the virgin disklabel.
  So, don't overwrite such fields if they are not zero. Also add checks
  to prevent creating disklabel with less than DEFPARTITIONS and more
  than MAXPARTITIONS partitions.

  PR:           bin/162332
  Tested by:    Eugene Grosbein

MFC r227262:
  Remove unneeded checks.

MFC r227270:
  Add recommendation to use gpart(8) when user tries write disklabel
  or bootcode to already opened provider.

MFC r227296:
  Fix multi-line comment formatting.

Approved by:    re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227557 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227274:
ae [Wed, 16 Nov 2011 15:23:42 +0000 (15:23 +0000)]
MFC r227274:
  Add reference to gpart(8).

MFC r227298:
  Remove a note about disabling of GEOM protection mechanism.
  boot0cfg should work without such hack.

Approved by:    re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227554 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r227409:
delphij [Tue, 15 Nov 2011 17:42:00 +0000 (17:42 +0000)]
MFC r227409:

Do a dummy read to flush the interrupt ACK that we just performed,
ensuring that everything is really, truly consistent.

This fixes certain cases where one will see various:
  mfi0: COMMAND 0xffffffXXXXXXXXXX TIMEOUT AFTER XX SECONDS

Submitted by: scottl
Ok'ed by: jhb
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227534 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFS r227450 (MFC r227449):
trociny [Fri, 11 Nov 2011 15:24:17 +0000 (15:24 +0000)]
MFS r227450 (MFC r227449):

Fix false positive EADDRINUSE that could be returned by bind, due to
the typo made in r227207.

Reported by: kib
Tested by: kib

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227451 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoCopy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
kensmith [Fri, 11 Nov 2011 04:20:22 +0000 (04:20 +0000)]
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227445 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f