1. 07 Jul, 2018 2 commits
  2. 06 Jul, 2018 31 commits
  3. 05 Jul, 2018 7 commits
    • Sean Eric Fagan's avatar
      This exposes ZFS user and group quotas via the normal · aad5531e
      Sean Eric Fagan authored
      quatactl(2) mechanism.  (Read-only at this point, however.)
      In particular, this is to allow rpc.rquotad query quotas
      for NFS mounts, allowing users to see their quotas on the
      hosts using the datasets.
      
      The changes specifically:
      
      * Add new RPC entry points for querying quotas.
      * Changes the library routines to allow non-UFS quotas.
      * Changes rquotad to check for quotas on mounted filesystems,
      rather than being limited to entries in /etc/fstab
      * Lastly, adds a VFS entry-point for ZFS to query quotas.
      
      Note that this makes one unavoidable behavioural change: if quotas
      are enabled, then they can be queried, as opposed to the current
      method of checking for quotas being specified in fstab.  (With
      ZFS, if there are user or group quotas, they're used, always.)
      
      Reviewed by:	delphij, mav
      Approved by:	mav
      Sponsored by:	iXsystems Inc
      Differential Revision:	https://reviews.freebsd.org/D15886
      aad5531e
    • Conrad Meyer's avatar
      ath(4): Fix typo in debugging code · 3655135d
      Conrad Meyer authored
      PR:		229548
      Submitted by:	David Binderman <dcb314 AT hotmail.com>
      3655135d
    • Kyle Evans's avatar
      417d105f
    • Kyle Evans's avatar
      Fix build after r336011 · f1e0a986
      Kyle Evans authored
      Add libnv to bootstrap-tools, use ${SRCTOP}/sys headers.
      f1e0a986
    • Kyle Evans's avatar
      config(8): De-dupe hint/env vars within a single file · 51c854f0
      Kyle Evans authored
      r335653 flipped the order in which hints/env files are concatenated to match
      the order in which vars are processed by the kernel. This is the other
      hammer to drop.
      
      Use nv(9) to de-dupe entries within a single `hint` or `env` file, using the
      latest value specified for a key. This leaves some duplicates if a variable
      is specified in multiple hint/env files or via `envvar` in a kernel config,
      but the reversed order of concatenation (from r335653) makes this a
      non-issue as the latest-specified version will be seen first.
      
      This change also silently rewrote hint bits to use the same sanitization
      process that ian@ wrote for r335642. To the kernel, hints and env vars are
      basically the same thing through early boot, then get merged into the
      dynamic environment once kmem becomes available and the dynamic environment
      is created. They should be subjected to the same restrictions.
      
      MFC after:	1 month
      51c854f0
    • Konstantin Belousov's avatar
      Extend r335969 to superpages. · 945a6b31
      Konstantin Belousov authored
      It is possible that a fictitious unmanaged userspace mapping of
      superpage is created on x86, e.g. by pmap_object_init_pt(), with the
      physical address outside the vm_page_array[] coverage.
      
      Noted and reviewed by:	alc
      Sponsored by:	The FreeBSD Foundation
      MFC after:	1 week
      Differential revision:	https://reviews.freebsd.org/D16085
      945a6b31
    • Sean Bruno's avatar
      riscv: Remove unused variable "code" · 096da4de
      Sean Bruno authored
      gcc found that the variabl "code", while being assigned a value, isn't
      be used for anything.
      
      Reviewed by:	br
      Differential Revision:	https://reviews.freebsd.org/D16114
      096da4de