r307702 ngie Oct. 21, 2016, 5:24 a.m.
as tests/sys/fs

These testcases exercise tmpfs support

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
r307701 ngie Oct. 21, 2016, 5:21 a.m.
It fails with: "dir/b did not receive NOTE_LINK"

Also, add needed cleanup logic to cleanup the mountpoint after the fact

MFC after:	2 weeks
PR:		213662
Sponsored by:	Dell EMC Isilon
r307700 ngie Oct. 21, 2016, 4:54 a.m.
MFC after:	1 week
Reported by:	damian@damianek.be
Sponsored by:	Dell EMC Isilon
r307699 ngie Oct. 21, 2016, 4:49 a.m.
The proposed change ("Fix building of llvm's unwind if gcc has been
also built") breaks the build with clang/llvm.

Tested with...

	export SRCCONF=/dev/null WITH_CLANG=
	cd gnu/lib/libgcc; make obj; make depend; make all

MFC after:	3 days
X-MFC with:	r307689
Pointyhat to:	bapt
Reported by:	Jenkins, O. Hartmann <ohartman@zedat.fu-berlin.de>
Sponsored by:	Dell EMC Isilon
r307698 lwhsu Oct. 21, 2016, 3:23 a.m.
Reviewed by:	imp, loos
Differential Revision:	https://reviews.freebsd.org/D7815
r307696 jhibbits Oct. 21, 2016, 2:16 a.m.
Instead replace it with a different hack, that turns fman into a simplebus
subclass, and maps its children within its address space.

Since all PHY communication is done through dtsec0's mdio space, the FDT
contains a reference to the dtsec0 mdio handle in all nodes that need it.
Instead of using Freescale's implementation for MII access, use our own (copied
loosely from the eTSEC driver, and could possibly be merged eventually).  This
lets us access the registers directly rather than needing a full dtsec interface
just to access the registers.

Future directions will include turning fman into more of a simplebus, and not
mapping the region and playing games.  This will require changes to the dtsec
driver to make it a child of fman, and possibly other drivers as well.
r307695 jhibbits Oct. 21, 2016, 2:07 a.m.
r307694 rmacklem Oct. 20, 2016, 11:53 p.m.
delegations enabled and the Linux NFSv4.1 client was reported in
I believe that the FreeBSD server behaviour conforms to the RFC and that
the Linux client has a bug. Therefore, I do not think the proposed patch
is appropriate. When nfsrv_writedelegifpos is non-zero, the FreeBSD
server will issue a write delegation for a read open if possible.
The Linux client then erroneously assumes that the credentials used for
the read open can write the file.
This patch reverses the default value for nfsrv_writedelegifpos to 0 so
that the default behaviour is Linux compatible and adds a sysctl that can
be used to set nfsrv_writedelegifpos.

This change should only affect users that are mounting a FreeBSD server
with delegations enabled (they are not enabled by default) with a Linux
NFSv4.1 client mount.

Reported by:	fatih.acar@gandi.net
Tested by:	fatih.acar@gandi.net
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D7891
r307693 markj Oct. 20, 2016, 11:10 p.m.
MFC after:	1 week
r307692 markj Oct. 20, 2016, 11:08 p.m.
This addresses a memory leak that occurs upon an I/O error during a mirror

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
r307691 markj Oct. 20, 2016, 11:02 p.m.
Normally gmirror allows colliding requests to proceed whenever a
synchronization request completes and advances to the next offset. However
if an I/O request collides with one of the final g_mirror_syncreqs, nothing
releases it once synchronization completes, resulting in an apparent I/O
hang. The same problem can occur if synchronization is aborted by an
I/O error. Therefore, be sure to requeue pending requests when
mirror synchronization is stopped for any reason.

While here, remove some dead code from g_mirror_regular_release().

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
r307690 emaste Oct. 20, 2016, 9:29 p.m.
Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D8301
r307689 bapt Oct. 20, 2016, 9:12 p.m.
when building gcc an unwind.h header is generate in the cc_tool directory
which is included in the CFLAGS before the path where the llvm's unwind.h file

Reviewed by:	emaste
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D7357
r307688 emaste Oct. 20, 2016, 8:29 p.m.
Use the same approach as sys/arm/arm/elf_machdep.c to avoid an odd-
looking , on a separate line.
r307687 emaste Oct. 20, 2016, 8:16 p.m.
The example incorrectly used -Dm, which defines macro m with value 1.
It is supposed to be -dM, which lists macros.