Displaying 1 50 of 318,194 commits (0.027s)

FreeBSD — head/sys/dev/bnxt if_bnxt.c, head/sys/net iflib.h

Deprecate unused int isc_max_txqsets and int isc_max_rxqsets as they
were redundant and not being used to set anything up.

Submitted by:        Matt Macy <mmacy at mattmacy.io>
Reported by:        Jeb Cramer <cramerj at intel.com>
Sponsored by:        Limelight Networks

FreeBSD — head/sys/fs/nfs nfs_commonsubs.c nfs_commonkrpc.c, head/sys/fs/nfsclient nfs_clstate.c nfs_clport.c

Replace the checks for MNTK_UNMOUNTF with a macro that does the same thing.

This patch defines a macro that checks for MNTK_UNMOUNTF and replaces
explicit checks with this macro. It has no effect on semantics, but
prepares the code for a future patch where there will also be a
NFS specific flag for "forced dismount about to occur".

Suggested by:        kib
MFC after:        2 weeks

FreeBSD — head/sys/kern kern_sig.c

Make it possible to request nosys logging to console.

New kern.lognosys values are
1 - log to ctty
2 - log to console
3 - log to both.

Inspired by:        eugen
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Delta File
+6 -1 head/sys/kern/kern_sig.c
+6 -1 1 file

FreeBSD — head/sys/arm/allwinner/clkng ccu_a64.c

Allwinner A64: fix typo

'pll_ddr0' is the dram parent, not 'pll_ddr'

FreeBSD — head/sys/kern subr_pctrie.c, head/sys/sys pctrie.h

Make the number of children for pctrie node available outside subr_pctrie.c.

Reviewed by:        alc, markj
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
X-Differential revision:        https://reviews.freebsd.org/D11435
Delta File
+13 -0 head/sys/sys/pctrie.h
+0 -12 head/sys/kern/subr_pctrie.c
+13 -12 2 files

FreeBSD — stable/11/release/doc/en_US.ISO8859-1/errata article.xml

Add an errata entry to reflect an incorrect attribution for r315330.

Reported by:        Jim Thompson
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/sys/dev/isp isp.c

Remove duplicate assignments from r321622.

Submitted by:        mav
MFC after:        3 days
Sponsored by:        Spectra Logic
Delta File
+0 -2 head/sys/dev/isp/isp.c
+0 -2 1 file

FreeBSD — head/sys/dev/isp isp.c

Fix probing FC targets with hard addressing turned on.

This largely reverts FreeBSD SVN change 289937 from October 25th, 2015.

The intent of that change was to keep loop IDs persistent across
chip reinits.

The problem is that the change turned on the PREVLOOP /
PREV_ADDRESS bit (bit 7 in Firmware Options 2), which tells the
Qlogic chip to not participate in the loop if it can't get the
requested loop address.  It also turned off soft addressing on 2400
(4Gb) and newer controllers.

The isp(4) driver defaults to loop address 0, and the tape drives
I have tested default to loop address 0 if hard addressing is turned
on.  So when hard loop addressing is turned on on the drive, the isp(4)
driver just refuses to participate in the loop.

The solution is to largely revert that change.  I left some elements
in place that are related to virtual ports, since they were new.

This does work with IBM tape drives with hard and soft addressing
turned on.  I have tested it with 4Gb, 8Gb, and 16Gb controllers.


    [18 lines not shown]
Delta File
+35 -21 head/sys/dev/isp/isp.c
+35 -21 1 file

FreeBSD — head/sys/boot/efi/libefi efinet.c

Always set the receive mask in loader.efi. Some UEFI implementations set
this to be too restrictive. We need to have both broadcast and unicast
enabled for loader to work. Set them in all cases to ensure this is true.

This allows the Cavium ThunderX 2s in the netperf cluster to netboot using

PR:                221001
Reviewed by:        emaste, tsoome
Sponsored by:        DARPA, AFRL
Differential Revision:        https://reviews.freebsd.org/D11732
Delta File
+8 -9 head/sys/boot/efi/libefi/efinet.c
+8 -9 1 file

FreeBSD — head/usr.bin/w w.c

Fix singular/plural "users" output.

It was broken during libxo'fication.

PR:                221039
Submitted by:        timur@
MFC after:        1 week
Delta File
+1 -1 head/usr.bin/w/w.c
+1 -1 1 file

FreeBSD — head/release/arm BANANAPI.conf CUBIEBOARD2.conf

Bump the image size for BANANAPI and CUBIEBOARD2 to 1.5G, as
1G is no longer large enough.

Reported by:        manu
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/sys/conf NOTES options, head/sys/net flowtable.c route.c

After inpcb route caching was put back in place there is no need for
flowtable anymore (as flowtable was never considered to be useful in
the forwarding path).

Reviewed by:                np
Differential Revision:        https://reviews.freebsd.org/D11448

FreeBSD — stable/11/usr.sbin/acpi/acpidump acpi.c

revert r321601, it depends on an ACPICA update not yet merged

FreeBSD — head Makefile

genericize target exclusion for missing external toolchain

Previously we excluded riscv from make universe / tinderbox if the
required xtoolchain package was not installed. Make that logic generic
so that we can loop over multiple architectures, in preparation to test
patches to have other architectures rely on external toolchain.

Sponsored by:        The FreeBSD Foundation
Differential Revision:        https://reviews.freebsd.org/D11652
Delta File
+15 -7 head/Makefile
+15 -7 1 file

FreeBSD — stable/11/usr.sbin/fstyp Makefile

MFC r320152 (by avg): fstyp: move sys/ include path after zfs include paths

The reason is that FreeBSD refcount.h shadows ZFS refcount.h and that
will lead to a build error after a planned import of the ARC buf data
It's possible that some day we will have an opposite problem where
a ZFS header would shadow an essential FreeBSD header.
So, we need to think about a better long term solution.
Delta File
+2 -2 stable/11/usr.sbin/fstyp/Makefile
+2 -2 1 file

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs vdev_file.c spa_misc.c, stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys vdev_file.h

MFC r320352: zfs: port vdev_file part of illumos change 3306

3306 zdb should be able to issue reads in parallel

The upstream change was made before we started to import upstream commits
individually.  It was imported into the illumos vendor area as r242733.
That commit was MFV-ed in r260138, but as the commit message says
vdev_file.c was left intact.

This commit actually implements the parallel I/O for vdev_file using a
taskqueue with multiple thread.  This implementation does not depend on
the illumos or FreeBSD bio interface at all, but uses zio_t to pass
around all the relevent data.  So, the code looks a bit different from
the upstream.

This commit also incorporates ZoL commit
zfsonlinux/zfs/bc25c9325b0e5ced897b9820dad239539d561ec9 that fixed
We need to use a dedicated taskqueue for exactly the same reason as ZoL
as we do not implement TASKQ_DYNAMIC.

Obtained from:  illumos, ZFS on Linux

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c

MFC r320239: MFV r319950:
5220 L2ARC does not support devices that do not provide 512B access

FreeBSD note: the actual change has been in FreeBSD since r297848.  This
commit accounts for integration of that change with subsequent changes,
especially r320156 (MFV of r318946) and r314274.

illumos/illumos-gate at 403a8da73c64ff9dfb6230ba045c765a242213fb

  There are disk devices that have logical sector size larger than 512B, for
  example 4KB. That is, their physical sector size is larger than 512B and they
  do not provide emulation for 512B sector sizes. For such devices both a data
  offset and a data size must be properly aligned. L2ARC should arrange that
  because it uses physical I/O.
  zio_vdev_io_start() performs a necessary transformation if io_size is not
  aligned to vdev_ashift, but that is done only for logical I/O. Something
  similar should be done in L2ARC code.
      * a temporary write buffer should be allocated if the original buffer is
        not going to be compressed and its size is not aligned
      * size of a temporary compression buffer should be ashift aligned
      * for the reads, if a size of a target buffer is not sufficiently large and
        it is not aligned then a temporary read buffer should be allocated

    [5 lines not shown]

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_send.c

MFC r320238: MFV r319742: 8056 zfs send size estimate is inaccurate for some zvols

illumos/illumos-gate at 0255edcc85fc0cd1dda0e49bcd52eb66c06a1b16

  The send size estimate for a zvol can be too low, if the size of the record
  headers (dmu_replay_record_t's) is a significant portion of the size.
  This is typically the case when the data is highly compressible, especially
  with embedded blocks.
  The problem is that dmu_adjust_send_estimate_for_indirects() assumes that
  blocks are the size of the "recordsize" property (128KB).
  However, for zvols, the blocks are the size of the "volblocksize" property
  (8KB). Therefore, we estimate that there will be 16x less record headers than
  there really will be.

Reviewed by: Matthew Ahrens <mahrens at delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov at delphix.com>
Approved by: Robert Mustacchi <rm at joyent.com>
Author: Paul Dagnelie <pcd at delphix.com>

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zil.c, stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zil_impl.h

MFC r320237: MFV r318947: 7578 Fix/improve some aspects of ZIL writing.

FreeBSD note: this commit removes small differences between what mav
committed to FreeBSD in r308782 and what ended up committed to illumos
after addressing all review comments.

illumos/illumos-gate at c5ee46810f82e8a53d2cc5a487568a573f449039

  After some ZIL changes 6 years ago zil_slog_limit got partially broken
  due to zl_itx_list_sz not updated when async itx'es upgraded to sync.
  Actually because of other changes about that time zl_itx_list_sz is not
  really required to implement the functionality, so this patch removes
  some unneeded broken code and variables.
  Original idea of zil_slog_limit was to reduce chance of SLOG abuse by
  single heavy logger, that increased latency for other (more latency critical)
  loggers, by pushing heavy log out into the main pool instead of SLOG. Beside
  huge latency increase for heavy writers, this implementation caused double
  write of all data, since the log records were explicitly prepared for SLOG.
  Since we now have I/O scheduler, I've found it can be much more efficient
  to reduce priority of heavy logger SLOG writes from ZIO_PRIORITY_SYNC_WRITE
  to ZIO_PRIORITY_ASYNC_WRITE, while still leave them on SLOG.
  Existing ZIL implementation had problem with space efficiency when it
  has to write large chunks of data into log blocks of limited size. In some

    [20 lines not shown]

FreeBSD — stable/11/cddl/contrib/opensolaris/cmd/zdb zdb_il.c zdb.c, stable/11/cddl/contrib/opensolaris/cmd/ztest ztest.c

MFC r320156, r320185, r320186, r320262, r320452, r321111:
MFV r318946: 8021 ARC buf data scatter-ization

illumos/illumos-gate at 770499e185d15678ccb0be57ebc626ad18d93383

  The ARC buf data project (known simply as "ABD" since its genesis in the ZoL
  community) changes the way the ARC allocates `b_pdata` memory from using linea
  `void *` buffers to using scatter/gather lists of fixed-size 1KB chunks. This
  improves ZFS's performance by helping to defragment the address space occupied
  by the ARC, in particular for cases where compressed ARC is enabled. It could
  also ease future work to allocate pages directly from `segkpm` for minimal-
  overhead memory allocations, bypassing the `kmem` subsystem.
  This is essentially the same change as the one which recently landed in ZFS on
  Linux, although they made some platform-specific changes while adapting this
  work to their codebase:
  1. Implemented the equivalent of the `segkpm` suggestion for future work
  mentioned above to bypass issues that they've had with the Linux kernel memory
  2. Changed the internal representation of the ABD's scatter/gather list so it
  could be used to pass I/O directly into Linux block device drivers. (This
  feature is not available in the illumos block device interface yet.)

    [21 lines not shown]

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zio.c vdev_queue.c, stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys zio.h

MFC r320153: revert r315852 which introduced zio_buf_alloc_nowait for use
in vdev_queue_aggregate

I think that the change is still good, but reconciling it with a planned
merge of the ARC buf data scatter-ization is a bit more tedious
than I can handle.

FreeBSD — head/lib/libc/x86/sys __vdso_gettc.c

Use MFENCE to serialize RDTSC on non-Intel CPUs.

Kernel already used the stronger barrier instruction for AMDs, correct
the userspace fast gettimeofday() implementation as well.

Sponsored by:        The FreeBSD Foundation
MFC after:        2 weeks
Differential revision:        https://reviews.freebsd.org/D11728
Delta File
+89 -38 head/lib/libc/x86/sys/__vdso_gettc.c
+89 -38 1 file

FreeBSD — head/libexec/rtld-elf rtld.c

Allow to specify targets by absolute paths in libmap.conf.

Submitted by:        Tatu Kilappa <tatu.kilappa at iki.fi>
PR:        221032
MFC after:        2 weeks
Delta File
+10 -9 head/libexec/rtld-elf/rtld.c
+10 -9 1 file

FreeBSD — head/sys/cam/ata ata_da.c


The attached patch lets adaasync() set ADA_STATE_WCACHE based on

This fixes a regression introduced in r300207 which changed
the flag names.

PR:                220948
Submitted by:        Fabian Keil <fk at fabiankeil.de>
Obtained from:        ElectroBSD
MFC after:        1 week
Delta File
+1 -1 head/sys/cam/ata/ata_da.c
+1 -1 1 file

FreeBSD — head/contrib/ipfilter arc4random.c

As in r315225, discard 3072 bytes of RC4 bytestream instead of 1024.

PR:                217920
Submitted by:        codarren at hackers.mu
Reviewed by:        emaste, cem
Approved by:        so (implicit, in r315225)
MFC after:        1 week
Differential Revision:        D11747
Patterned after:        r315225

FreeBSD — head/usr.sbin/mpsutil mps_cmd.c

Fix some broken logic used in obtaining the certain config pages.  I'm
surprised that this even pretended to work.

PR:                215793
Submitted by:        longwitz at incore.de
Delta File
+1 -2 head/usr.sbin/mpsutil/mps_cmd.c
+1 -2 1 file

FreeBSD — head/sys/dev/uart uart_bus_pci.c

uart: add AX99100 chipset support

PR:                215837
Submitted by:        joe at thrallingpenguin.com
MFC after:        2 weeks
Delta File
+2 -0 head/sys/dev/uart/uart_bus_pci.c
+2 -0 1 file

FreeBSD — head/sys/dev/etherswitch/e6000sw e6000sw.c e6000swreg.h

Fix the port vlan support in e6000 based switches.

Reduce the use of local copies of switch register data.

The switch now works with the upstream dsa node (i.e. the upstream DTS).

Tested on:        ClearFog Pro (88E6176), SG-3100 (88E6141)
Sponsored by:        Rubicon Communications, LLC (Netgate)

FreeBSD — stable/11/usr.sbin/acpi/acpidump acpi.c

MFC r321299: acpidump: add GIC ITS srat type

From ACPI 6.2,

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/11/usr.sbin/acpi/acpidump acpi.c

MFC r321294: acpidump: use C99 designated initializers

Submitted by:        Guangyuan Yang <yzgyyang at outlook.com>
Sponsored by:        The FreeBSD Foundation
Delta File
+25 -11 stable/11/usr.sbin/acpi/acpidump/acpi.c
+25 -11 1 file

FreeBSD — stable/11/sys/conf kern.pre.mk

MFC r321302: add arm64 objcopy output target for embedfs

PR:                220877
Submitted by:        David NewHamlet
Delta File
+1 -0 stable/11/sys/conf/kern.pre.mk
+1 -0 1 file

FreeBSD — stable/11/usr.sbin/nfsd nfsv4.4

MFC: r321248
Update the nfsv4 man page to reflect recent changes to support
the newer RFCs (5661 and 7530). The main man changes are for the
case of "numbers in strings" for user/groups that RFC7530 allows
and avoids use of nfsuserd(8).

This is a content change.
Delta File
+47 -19 stable/11/usr.sbin/nfsd/nfsv4.4
+47 -19 1 file

FreeBSD — stable/10/usr.sbin/nfsd nfsv4.4

MFC: r321248
Update the nfsv4 man page to reflect recent changes to support
the newer RFCs (5661 and 7530). The main man changes are for the
case of "numbers in strings" for user/groups that RFC7530 allows
and avoids use of nfsuserd(8).

This is a content change.
Delta File
+47 -19 stable/10/usr.sbin/nfsd/nfsv4.4
+47 -19 1 file

FreeBSD — stable/11/sys/conf files.amd64 files.i386

MFC r319513: linux vdso: pass -fPIC to the assembler, not linker

-fPIC has no effect on linking although it seems to be ignored by
GNU ld.bfd.  However, it causes ld.lld to terminate with an invalid
argument error.

This is equivalent to r296057 but for the kernel (not modules) case.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/11/usr.sbin/makefs makefs.h

MFC r316055: makefs: sort roundup with the other off_t members in fsinfo_t

FreeBSD — stable/11 Makefile.libcompat

MFC r312857: Use cross-NM (XNM) in compat32 build

An attempt to build mips64 using external toolchain failed as it tried
to use the host amd64 nm.
Delta File
+2 -0 stable/11/Makefile.libcompat
+2 -0 1 file

FreeBSD — stable/11/sys/libkern/arm64 crc32c_armv8.S

MFC r319718: arm64: add ".arch armv8-a+crc" to allow use of crc instructions

With Clang 5.0 the .arch directive is required, otherwise Clang
complains "error: instruction requires: crc".

This was reported in D10499 but not added initially, because clang 3.8
available on a ref machine reported unknown directive.  Clang 4.0 allows
but does not require the directive.

Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dsl_pool.c

MFC r321218: zfs: Fix a typo in the delay_min_dirty_percent sysctl description

The description is FreeBSD-specific and was added in r266497
to fix PR189865.

PR:                220825
Submitted by:        Fabian Keil
Obtained from:        ElectroBSD

FreeBSD — stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dsl_pool.c

MFC r321218: zfs: Fix a typo in the delay_min_dirty_percent sysctl description

The description is FreeBSD-specific and was added in r266497
to fix PR189865.

PR:                220825
Submitted by:        Fabian Keil
Obtained from:        ElectroBSD

FreeBSD — projects/numa2/sys/vm vm_page.c

Let vm_page_alloc_domain() return NULL even when v_free_count is large.

The selected domain may be exhausted even when plenty of free pages are
available. Until we have a policy for handling local page shortages, just
return NULL to signal that an allocation from a different domain should
be attempted.
Delta File
+5 -4 projects/numa2/sys/vm/vm_page.c
+5 -4 1 file

FreeBSD — head/sys/dev/sdhci sdhci.c sdhci.h

- Check the slot type capability, set SDHCI_SLOT_{EMBEDDED,NON_REMOVABLE}
  for embedded slots. Fail in the sdhci(4) initialization for slot type
  shared, which is completely unsupported by this driver at the moment. [1]
  For Intel eMMC controllers, taking the embedded slot type into account
  obsoltes setting SDHCI_QUIRK_ALL_SLOTS_NON_REMOVABLE so remove these quirk
- Hide the 1.8 V VDD capability when the slot is detected as non-embedded,
  as the SDHCI specification explicitly states that 1.8 V VDD is applicable
  to embedded slots only. [2]
- Define some easy bits of the SDHCI specification v4.20. [3]
- Don't leak bus_dma(9) resources in failure paths of sdhci_init_slot().

Obtained from:        DragonFlyBSD 65704a46 [1], 7ba10b88 [2], 0df14648 [3]

FreeBSD — head/sys/dev/mmc mmc.c

Correctly use the size of a pointer rather than that of a pointer to a

Reported by:        Coverity
CID:                1378432
Delta File
+2 -2 head/sys/dev/mmc/mmc.c
+2 -2 1 file

FreeBSD — head/sys/netinet/cc cc_cubic.c

cc_cubic: restore braces around if-condition block

r307901 was reverted in r321480, restoring an incorrect block
delimitation bug present in the original cc_cubic commit. Restore
only the bugfix (brace addition) from r307901.

CID:                1090182
Approved by:        sbruno
Delta File
+2 -1 head/sys/netinet/cc/cc_cubic.c
+2 -1 1 file

FreeBSD — head/sys/arm/freescale/imx imx_i2c.c

Add a debug sysctl that lets you see i2c bus traffic through this device.
Delta File
+30 -1 head/sys/arm/freescale/imx/imx_i2c.c
+30 -1 1 file

FreeBSD — projects/runtime-coverage Makefile.inc1, projects/runtime-coverage/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil tst.ZeroFunctionProbes.d.ksh tst.DestructWithFunction.d.ksh

MFhead at r321584

FreeBSD — head/sys/dev/iicbus iiconf.c iicbus.h

Add support for tracking nested calls to iicbus_request/release_bus().

Usually it is sufficient to use iicbus_transfer_excl(), or one of the
higher-level convenience functions that use it, to reserve the bus for the
duration of each register access.  Occasionally it is important that a
series of accesses or read-modify-write operations must be done without any
other intervening access to the device, to prevent corrupting state.

Without support for nested request/release, slave device drivers would have
to stop using high-level convenience functions and resort to working with
arrays of iic_msg structs just for a few operations (often involving
one-time device setup or infrequent configuration changes).

The changes here appear large from a glance at the diff, but in fact they're
nearly trivial, and the large diff is because of changes in indentation and
the re-wrapping of comments caused by that.  One notable change is that
iicbus_release_bus() now ignores the IICBUS_CALLBACK(IIC_RELEASE_BUS) return
value.  The old error handling left the bus in a kind of limbo state where
it was still owned at the iicbus layer, but drivers rarely check the return
of the release call, and it's unclear what they would do to recover from an
error return anyway.  No existing low-level drivers return any kind of error
from IIC_RELEASE_BUS except one EINVAL for "you don't own the bus", to which
the right response is probably to carry on with the process of releasing the
reference to the bus anyway.

FreeBSD — head/sys/dev/iicbus iiconf.c iiconf.h

Add a pair of convenience routines for doing simple "register" read/writes
on i2c devices, where the "register" can be any length.

Many (perhaps most) common i2c devices are organized as a collection of
(usually 1-byte-wide) registers, and are accessed by first writing a 1-byte
register index/offset number, then by reading or writing the data.
Generally there is an auto-increment feature so the when multiple bytes
are read or written, multiple contiguous registers are accessed.

Most existing slave device drivers allocate an array of iic_msg structures,
fill in all the transfer info, and invoke iicbus_transfer().  These new
functions commonize all that and reduce register access to a simple call
with a few arguments.

FreeBSD — head/sys/dev/cxgbe t4_main.c t4_sge.c, head/sys/dev/cxgbe/common t4_hw.c common.h

cxgbe(4): Some updates to the common code.

- Updated register ranges.
- Helper routines for access to TP registers.
- Updated routine to read flash parameters.

Obtained from:        Chelsio Communications
MFC after:        2 weeks
Sponsored by:        Chelsio Communications

FreeBSD — head/sys/fs/nfsclient nfs_clbio.c, head/sys/fs/smbfs smbfs_io.c

Mark pages after EOF as clean after pageout.

Suppose that a file on NFS has partially filled last page, and this
page is dirty.  NFS VOP_PAGEOUT() method only marks the the page clean
up to the block of the last written byte, leaving other blocks dirty.
Also any page which erronously exists in the vnode vm_object past EOF
is also left marked as dirty.

With the introduction of the buf-cache coherent pager, each pass of
syncer over the object with such page results in creation of B_DELWRI
buffer due to VOP_WRITE() call.  This buffer is noted on next syncer
pass, which results e.g. a visible manifestation of shutdown never
finishing vnode sync.  Note that before buf-cache coherency commit, a
dirty page might left never synced to server if a partial writes

Fix this by clearing dirty bits after EOF.  Only blocks of the partial
page which are completely after EOF are marked clean, to avoid
possible user data loss.

Reported by:        mav
Reviewed by:        alc, markj
Tested by:        mav, pho
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
Differential revision:        https://reviews.freebsd.org/D11697

FreeBSD — head/sys/fs/nfsclient nfs_clbio.c

Move rtvals initialization out of the region protected by NFS node

Noted by:        alc
Reviewed by:        alc, markj
Tested by:        pho
Sponsored by:        The FreeBSD Foundation
MFC after:        1 week
X-Differential revision:        https://reviews.freebsd.org/D11697
Delta File
+3 -4 head/sys/fs/nfsclient/nfs_clbio.c
+3 -4 1 file