333ba164 tuexen July 29, 2019, 8:50 a.m.
* Initialize the alpha parameter to a conservative value (like Linux)
* Improve handling of arithmetic.
* Improve man-page

Obtained from:		Richard Scheffenegger
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D20549
cgit ViewVC
8de2d8c0 mav July 29, 2019, 3:28 a.m.
MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
cgit ViewVC
adf495e2 noreply July 29, 2019, 1:15 a.m.
When adapting the original sources for s390x the JMP_BUF_CNT was
mistakenly halved due to an incorrect assumption of the size of
a unsigned long.  They are 8 bytes for the s390x architecture.
Increase JMP_BUF_CNT accordingly.

Authored-by: Don Brady <don.brady@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reported-by: Colin Ian King <canonical.com>
Tested-by: Colin Ian King <canonical.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #8992
Closes #9080
cgit
453bb479 behlendorf1 July 29, 2019, 1:13 a.m.
When a system boots the zfs-mount.service and the
zfs-share.service can start simultaneously. What may be
unclear is that sharing a filesystem will first mount
the filesystem if it's not already mounted. This means
that both service can race to mount the same fileystem.
This race can result in a SEGFAULT or EBUSY conditions.

This change explicitly defines the start ordering between the
two services such that the zfs-mount.service is solely
responsible for mounting filesystems eliminating the race
between "zfs mount -a" and "zfs share -a" commands.

Reviewed-by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Wilson <george.wilson@delphix.com>
Closes #9083
cgit
f9e3413a hselasky July 28, 2019, 9:47 p.m.
PR:		239495
MFC after:	1 week
Sponsored by:	Mellanox Technologies
cgit ViewVC
b5965b56 rmacklem July 28, 2019, 9:44 p.m.
nfsstat -s prints bogus large numbers for the Server Re-Failed and Server
Faults fields. This was introduced by r328588.
Although I know nothing about libxo, these lines aren't titles and this
patch seems to fix the problem, so I am committing it for rea@ who emailed
it to me.
It also deleted the trailing ':' from the title lines, since those were not
in the pre-r328588 output.

If there is a more correct fix, someone conversant with libxo will need
to do so.

Submitted by:	rea
MFC after:	2 weeks
cgit ViewVC
d7c1da61 mav July 28, 2019, 8:17 p.m.
MFC after:	2 weeks
cgit ViewVC
23612f0d dougm July 28, 2019, 7:32 p.m.
counter, and the final freeing of freed swap blocks, outside the
region where an object lock is held.  Correct some style(9) and
spelling errors.  Change a panic() to a KASSERT().  Change a boolean_t
to a bool.

Suggested by: alc
Reviewed by: alc
Approved by: kib, markj (mentors)
Differential Revision: https://reviews.freebsd.org/D21093
cgit ViewVC
05d49a82 asomers July 28, 2019, 4:22 p.m.
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
e7d8ebc8 asomers July 28, 2019, 4:07 p.m.
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
06e1ffbc asomers July 28, 2019, 3:20 p.m.
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
669a092a asomers July 28, 2019, 3:17 p.m.
When a fusefs file system is mounted using the writeback cache, the cache
may still be bypassed by opening a file with O_DIRECT.  When writing with
O_DIRECT, the cache must be invalidated for the affected portion of the
file.  Fix some panics caused by inadvertently invalidating too much.

Sponsored by:	The FreeBSD Foundation
cgit ViewVC
a63915c2 asomers July 28, 2019, 4:02 a.m.
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
2240d8c4 asomers July 28, 2019, 12:48 a.m.
v_inval_buf_range invalidates all buffers within a certain LBA range of a
file. It will be used by fusefs(5). This commit is a partial merge of
r346162, r346606, and r346756 from projects/fuse2.

Reviewed by:	kib
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D21032
cgit ViewVC
1173e5a7 mav July 27, 2019, 6:07 p.m.
For some reason, I guess just mechanical editing, it was disable in r333446.

MFC after:	2 weeks
cgit ViewVC