Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp416122imm; Thu, 28 Jun 2018 23:27:43 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJrQvezwaPKxn+uNWVaKh+Da9QjBkgnjNSTkBCKMWKg9XrCbajw70a6xVNETv2vVidkL3Di X-Received: by 2002:a17:902:123:: with SMTP id 32-v6mr13254538plb.181.1530253663128; Thu, 28 Jun 2018 23:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530253663; cv=none; d=google.com; s=arc-20160816; b=PoOXcFyb4MvoRtLfLE5qgbMvLf62dA4CFjula2N72DUqI8RKkZl8LvSD+X4yRGj6BO gnHpRfu75hMtU9AoamZ0uu2Z5n83VgEJjKICfNIfZR0U8Df2XIaAvOWDCN3XCARPzF2K kVLQ8b8ZMu+sCMyCnqbBZJhA/68CBX1cQu4DXDfJOjqN1lKYp9xsr2SvUdCHDGb+3ovr 5NczSG0jvh9Pk4/F+WWNsUQL1j+mYjpQXrIjQnCU7purrkWkQjnDtWiNW+TLPaK9t9Oj PlWEp4//abl7+NSmgxZz72C4JxygtAj/Vwb2XPCP+JMSQGEXkubn9XolrnzmxEsc/a3+ w4Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=4DRMZy1k4x3LuKPaDgoecfOVhIU6MJmOAEbkNxAzmSg=; b=s9l4I/XwjDSddmAjRsckT7b1qHo267/1gm8yRqBqWFapGgjg5b5sTlDc/cypI3Bdf6 sTuix/eN2392ka09vhHu8ndctZKgi2qK7KHqPKDTrR5j/hWpmRXeOLxM2qZKUtCOFwS3 h+WoU/m7txLJ3azO78K4bLWaV/Ji+UknQqPsOV1CkVxCDEomf9sid6Nw29dbbMWofV7s Q6SJrnp5XJA8KpEw0s281kmVtB0lHddIPHeu6CM8L2slb++aodzVJBBqA1zyXbsWExS4 XGtckrMbsf/tC6WHWxfX4D0/pSgvndcKeYjXRQrisjdbV7aUpxTQQgULlLsF5exlq8Et RGyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NnAbqEyU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5-v6si8276257pfi.360.2018.06.28.23.27.29; Thu, 28 Jun 2018 23:27:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NnAbqEyU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936252AbeF1XZN (ORCPT + 99 others); Thu, 28 Jun 2018 19:25:13 -0400 Received: from mail-pl0-f54.google.com ([209.85.160.54]:44247 "EHLO mail-pl0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933904AbeF1XZL (ORCPT ); Thu, 28 Jun 2018 19:25:11 -0400 Received: by mail-pl0-f54.google.com with SMTP id m16-v6so3490407pls.11; Thu, 28 Jun 2018 16:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4DRMZy1k4x3LuKPaDgoecfOVhIU6MJmOAEbkNxAzmSg=; b=NnAbqEyUI0wrW2X73ZVaLhkyqyCIbZWYgBoPe1t4DzelT8rufe2TxHgFrV3gfOkozz qdqp58iY2j+0HEUr5IoBlwAf7rM4DHgY0/WRgEMsM9oLvM6IFKOn7hMsaUyhafiaCXO+ CHF5c6clG+fHkBmjflnkBWXSD06zhWuV5gfVEfuZR8f7wPPYU9Vifj0GmU2qzmX9kwEh vWF7l8X1syqjn1R9pj3C57WyoklkI3p5r9q5pBfPglCyvh0DtOHeDeC5SuPvq0Vk0VxR JMQPOrSB6LHlLxyLCVq+GDDzxtF0B9FrV1nE9Zd3K/IK6g4ajauUL7JzLjEdj7Jci6nt DBLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4DRMZy1k4x3LuKPaDgoecfOVhIU6MJmOAEbkNxAzmSg=; b=E0BxpcxM09i2mM6Zyq8Evf7cmUiPBHIWcYVW5Rx4d8aVnQBohVmtXFnLSmW3LSfAXK pguBOM3Af6WzczXA/ffgXJa1WHCmow7CJExXPDon1HSJ8YPe7UPxbjH1uee9xOp4VMPJ f324fMYXD/IPNI2IoQbXres7pXpx7Hh2FUJiZowS5lMrZelG49TuJAlof4KUamvCQyPP sDbum5Zqc4bUZD5dTlTm3Z8QirGOPDEey41Z3sctJ72oPTo1GuHrxe4dwdvoa2wSAOS3 jPI6hlzLtObZklkb1yqQ5jdVC9Nd5F2Cwvo43jQThFazRXk3kDlFmo6aBipx7RmZzYXY GPBg== X-Gm-Message-State: APt69E0cZq6DVjQzrHstrssEjISpuTnVnV4uyWDBH+PE9JpMBPEG+Q0e XHHz26BKJriTAB8sJqanev0kMbF6gF1aAzm6mgg= X-Received: by 2002:a17:902:14b:: with SMTP id 69-v6mr12436194plb.184.1530228311018; Thu, 28 Jun 2018 16:25:11 -0700 (PDT) MIME-Version: 1.0 References: <20180628225857.GB1231@thunk.org> In-Reply-To: From: Steve French Date: Thu, 28 Jun 2018 18:24:59 -0500 Message-ID: Subject: Re: config files and how to have persistent Linux kernel Driver/File System configuration info saved To: ronnie sahlberg Cc: Theodore Tso , linux-fsdevel , LKML , samba-technical , CIFS Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 28, 2018 at 6:21 PM ronnie sahlberg wrote: > > On Fri, Jun 29, 2018 at 8:58 AM, Theodore Y. Ts'o via samba-technical > wrote: > > On Thu, Jun 28, 2018 at 05:37:15PM -0500, Steve French wrote: > >> Ronnie brought up an interesting point about the problems consistently > >> configuring file systems (or any Linux module for that matter) so that > >> reboot doesn't wipe away security or performance tuning changes. > > > > In general it's considered best practice to make the file system > > auto-tune itself as much as possible, because the sad fact is that > > 99.9999% of the customers aren't going to bother to add any tuning > > parameters. So there hasn't been a push to try to create something > > more complex, because it's generally not needed. > > True, but in these cases I think we are more looking at server or > mountpoint specific options than > actual fs tuning. > > For example nfsmount.conf can be used to say "only use NFSv4 when > accessing server abc" etc. > For the case of CIFS I could imagine that an administrator might want > to set "disable smb1 protocol globally" Or perhaps "disable smb1 on " ... various public networks but allow it on private networks -- Thanks, Steve