From owner-freebsd-fs@freebsd.org Thu Mar 21 15:43:29 2019 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F3901545995; Thu, 21 Mar 2019 15:43:29 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7DBFF6A295; Thu, 21 Mar 2019 15:43:28 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id v14so4969767lfi.0; Thu, 21 Mar 2019 08:43:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0BvLqgxvcZXQc7RPODujN8/OWCf5eI8aiAXihs9vGPE=; b=TLqiYd4kRL7dmcYQEM6RxJ6ZNW4AjxK4OGnqprQ+yRspyXZx2NhR3oSIDu6Ow4FCYQ 35aHaz/irzNkDceaOy/Wtyas+tFNDNSBXNS5yVWfg3wmbNG49MP1oHd+H5LvrbFlhPXa CfWUstwOkWmx5nmwZVU5a5Hz39WhQdQ+XTNgyOxWlgfaITJb6j0BRHgYtqomSu82JgXv QIQRHazICrJ12b3QXoj9+sMiYOrSlEvqy562be0OogzMOvgPf4sa1wzahwR+DpJAbC6P MuE0dXxF3kbWrF2x7QLFRQ5rW86F1feNNgGvTuEaP1uy5KEkUu59HcDIM+BvOyjKgaGq cBeQ== X-Gm-Message-State: APjAAAWmCk5qoJEQFJUZuYCC2m2x+edG/0e5TSMTWOqesaCxgQ3TwifO 30+QbcFowPxhqaftXgIAAol3QqW1cQDAyP38y7ej5YNtA+U= X-Google-Smtp-Source: APXvYqw/TO9MmySsKjLadvOn1SdbD+LGbOcB+5I8RrXS+gXEsjSdZLE4StHxaSeCqxGLKRDWq8suLpFpyWw+2mfQaks= X-Received: by 2002:ac2:4ad1:: with SMTP id m17mr2187123lfp.129.1553182999337; Thu, 21 Mar 2019 08:43:19 -0700 (PDT) MIME-Version: 1.0 From: Alan Somers Date: Thu, 21 Mar 2019 09:43:07 -0600 Message-ID: Subject: HEAD'S UP: fusefs sysctls going away To: FreeBSD CURRENT , freebsd-fs Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 7DBFF6A295 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of asomers@gmail.com designates 209.85.167.41 as permitted sender) smtp.mailfrom=asomers@gmail.com X-Spamd-Result: default: False [-4.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[41.167.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.84)[-0.839,0]; IP_SCORE(-1.21)[ipnet: 209.85.128.0/17(-3.86), asn: 15169(-2.12), country: US(-0.07)]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[41.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2019 15:43:29 -0000 fusefs has several sysctl knobs that seem to be workarounds for bugs in particular fuse daemons. However, there is no indication as to which those daemons are, neither in the code nor in SVN. All of the workarounds are at least 6.5 years old, so the original bugs may have been fixed already. Since the original bugs aren't documented, I consider these workarounds to be unmaintainable, and I'm planning to delete them unless anybody objects. Please pipe up if you still use them! vfs.fusefs.fix_broken_io: If non-zero, print a diagnostic warning if a userspace filesystem returns EIO on reads of recently extended portions of files vfs.fusefs.sync_resize: If a cached write extended a file, inform FUSE filesystem of the changedsize immediately subsequent to the issued writes vfs.fusefs.refresh_size: If non-zero, and no dirty file extension data is buffered, fetch file size before write operations vfs.fusefs.mmap_enable: If non-zero, and data_cache_mode is also non-zero, enable mmap(2) of FUSE files vfs.fusefs.data_cache_invalidate: If non-zero, discard cached clean file data when there are no active file users -Alan