Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp415952imm; Thu, 28 Jun 2018 23:27:31 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf133urnBYIEcP3j708QvofavY71n0Cr5XW/b9lFkWrUWHi+qeWN2kWzwSmm8AZywnpNLvM X-Received: by 2002:aa7:87d0:: with SMTP id i16-v6mr9296807pfo.82.1530253651164; Thu, 28 Jun 2018 23:27:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530253651; cv=none; d=google.com; s=arc-20160816; b=TC0Q5hcqm+zYIu0H7leQfXNmrJkot/ZjuhWNEFgWOox1nFHsO1SgYDN27A0UNZbdUp 53torSpoydDZHad2lnhHbB7HaIVeyfmvGdKjlbffm/n9YPDu961ivuRvubjiRso1r2V9 71GGInw+jjUFhkU0qdyReVbzbYjd7vpD/Lk0sbIxgCfql47lxUnS6vtYUV+3K8vTFPeN 2NZik6NFbAXN6ARuE5Ydkm5bid7kt4A0uSUOxX1HJqfyJ7A8uxjBSVPBomh92qUeXOtv ODNiL1RX1ErwQ28H8gqe/zpwC+5Ua6thwt7q9siiTbQGH7mvhxDb0U+yZYvAN/AoviqT KFFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=+hgYTpgJreKAtp7SUc+fq6XafQa+acnycs/yhXw8EXs=; b=suvGqFJNKsuhFZi24GRHSxeDWazzr0A5SVSKs/nQilWA9nuT2ifmqPqImXCDGtQvs6 jEO1Zl6CYdXNiZNu9E83SNij45qTn0s+ns1RyLlqy3v7YMwDJRr9AbIIlp2JlJZxFP6+ 7zH9AUApVDrDaFngk0OTBs2HrrEZ7JOxq6gEJi79j5WO5staroyj6gK/oWXbM7reh8y9 ItABEKaDACrRqhppzYcNNaFsN3BzWgemhuicHU52/Tt/aU6FuSxiGL15LcmaKlJvFoBG CwPFt8wZgiM+dXrLiWZKutQn2COwZt3Ovjvs3o8ZlaynYyiv9SvLLVzSo0Y5AhFBGEU4 VJ8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQHmYllT; 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 z2-v6si8548373pfz.241.2018.06.28.23.27.16; Thu, 28 Jun 2018 23:27:31 -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=bQHmYllT; 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 S936234AbeF1XVf (ORCPT + 99 others); Thu, 28 Jun 2018 19:21:35 -0400 Received: from mail-pl0-f68.google.com ([209.85.160.68]:40779 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932883AbeF1XVb (ORCPT ); Thu, 28 Jun 2018 19:21:31 -0400 Received: by mail-pl0-f68.google.com with SMTP id t6-v6so3490192plo.7; Thu, 28 Jun 2018 16:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+hgYTpgJreKAtp7SUc+fq6XafQa+acnycs/yhXw8EXs=; b=bQHmYllT4f8F2lNmza49Lc+P5zHuYOexbN6fkQ0LyJ2uFC9kP6BqszqaLexi84p6jl OVML0giOHlmRfkn0kTzRPc9mayhqtxrbE0Ibf+VI9YF2WFXUUI7wjVypY5cmbz0HmXeV J6hbesIo21L2AjiSOhw3HxJbpVtCF8yapmyu+1j4/gA9MyMa2xcPN9wIWtK7tqcoW/Je u05e630jYLonRt24LZUbAgh4mOlUgzGw/32+mYx0Q1wzCyv3UmcXCFdVjAur+OXrExss s9qsS/9CUNoExDi015e9BGJcB+N/80OuJ9mmgwFBlxrgNgGdMzHvnGH5S/Sw2GHit6Hb aabw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+hgYTpgJreKAtp7SUc+fq6XafQa+acnycs/yhXw8EXs=; b=JwJyMpiKiQcCTBfLFTFOryMMFQSHQybPVaejUgst1Wv6oSNngNQoXl9HwUZpkCz6Nl HrgF/j8U/86fShwnd0FmB0MuWZ8CCL+hx+9DhmXTa5X6MeqKOqK/6R0TkkPR3+vfh0iJ GcadGiFwNZkYdeSQW62i89cmySefOwtRs9xSeu2ZBN8fYuASoyZop2tTqgq9BnQr3hZP cZr45HSOXkrfn8lEMV4QsbTe/VK1LpoyH8zTJ0bBZ40szzzsRZw+Eh70IXa7Ri7Mx54W MR+brodIGNaSEKttYklg5oZTqeaZqqIuWYrAIf9EuwOYUgxXloX6M3/Z5kyFsAjuQ4rk 3E2Q== X-Gm-Message-State: APt69E0OYCV+C2+3ng2tom32/hDuK+hp3qwaxnc6rh9gldEroFx0roJ9 E7UXxBEgo4usrd/S0hrodyPiLLfPoE6FBRy7/L4= X-Received: by 2002:a17:902:9681:: with SMTP id n1-v6mr12723584plp.244.1530228090982; Thu, 28 Jun 2018 16:21:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:21a5:0:0:0:0 with HTTP; Thu, 28 Jun 2018 16:21:30 -0700 (PDT) In-Reply-To: <20180628225857.GB1231@thunk.org> References: <20180628225857.GB1231@thunk.org> From: ronnie sahlberg Date: Fri, 29 Jun 2018 09:21:30 +1000 Message-ID: Subject: Re: config files and how to have persistent Linux kernel Driver/File System configuration info saved To: "Theodore Y. Ts'o" , Steve French , 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 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" etc. > > Settings via /sys/fs/ext4 are generally for developers as they try to > understand how things work, so they can improve the file systems > defaults / auto-tuning algorithms. > > - Ted >