Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3919849pxv; Mon, 28 Jun 2021 16:41:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE2GOxSe1dD5nLeZU17O4DYwaR5+AdCvB6/P/7wpGtKvQg8dKYxeLa7VHW17Big869xJkG X-Received: by 2002:a05:6e02:1341:: with SMTP id k1mr13821766ilr.162.1624923666044; Mon, 28 Jun 2021 16:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624923666; cv=none; d=google.com; s=arc-20160816; b=lsucvgMkDkrbbG9gsqAcgoJDvuswZYogXyQ4AiDWUPc6tn2AIHdVsXTbkbdjOLRBKd 7s04z1IEgvyXcbK/SeqYeQ2r8Ake5ewmArZFJZnw2KaKMt6QHeTXcJ+Ibz5HK6xdHgLf I5GimPLwkgyfi4E+DPoyJDFr0CzCN3hAfaeHzTc3m5YdbTG+rCNrxUkBiRJOqzkrChnm 7VCpq4QK2rMnJGHy5OF3a3QavtZtHzxq3WRQbR9d8d5XoeyaKc3iBt9Ld7AJeKHDOV3S raa+0Yj3wkfVX3IDuYWQc1ax84qmEgNLkI0Kkd0KL9c8Zb8FIGx3O6ZMXXdbJrDfRP8T cTBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:mime-version :dkim-signature; bh=1onvlAo6x1M3c84t9iiFsS/HRyy1SWrHlEXnVWCekPM=; b=W8I6ncwRl2q9jw4m679/Ci4KL3QmIhzba3JeTl9Y8y2kmTb7CUDvhu+ookAyaURynH 3U1nlqVUFt2YPu9+7oyC1bUNz0NlGu9lFhfewVvCLgh+cr2dGRz7ndrOSBm9k21drma9 fxplDW7qim0CtK6aHHxK6KYPXI1YGI6Vcq0fdYFiXnfS+lSYoDjwO5KyX909lAKH0ZaZ jt8ureTrxmAy/srLAiWr/0FNJQWypauS40+oEVRmjchrlRu23mhlhQjn3nTk08UPhTqi EkkEVhEgC2v14sE/m6r8EMgzU1iSSvTv6iuVagx+vBXo4YTvJ8GKjrdjQK6yl8LfYb2s D5bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=TtM0xt0V; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si16919650ilu.89.2021.06.28.16.40.54; Mon, 28 Jun 2021 16:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=TtM0xt0V; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230291AbhF1U0b (ORCPT + 99 others); Mon, 28 Jun 2021 16:26:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234182AbhF1U02 (ORCPT ); Mon, 28 Jun 2021 16:26:28 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB7DAC061574 for ; Mon, 28 Jun 2021 13:24:00 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id o11so18929024ejd.4 for ; Mon, 28 Jun 2021 13:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:from:date:message-id:subject:to; bh=1onvlAo6x1M3c84t9iiFsS/HRyy1SWrHlEXnVWCekPM=; b=TtM0xt0V6jpJuRXz0xpzhwXkPqKXkEwkKTM+dbwgdNPljraw8zqJ98aTPQNWqGJ+2F dESVXOekGksiHbFxbZpcw3gmFq7Sv2QNdtbcBsp4I5vXjIPZ/IIFYF3vA/L772kHpurj brxLJZHrEbZNoB/c+uh6kblyLpuz7zqaQSv8UVIOv9R2z30Ogz/4CqQtLXhlD1B6WSaH zR7qiRmAPPJg8tn3khafW/3d/5vd4N0U4IrSebb7T2ITv2UvSfGd8Iahj8Z42fFFB8fp DFymbzS96VTwQzl8/wEClkYbimZcI0g7vE8Sn4CpF5jIcMxkzkqlMqVLuVZ2DaBK428N 6qCw== 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=1onvlAo6x1M3c84t9iiFsS/HRyy1SWrHlEXnVWCekPM=; b=p04D9S06c49Cb/IbjXzlxfIa6CxQkPjH+GYwcHSL7M0iD72cW5Vwkgd7WcTSONT4hk I7ntASTMocBiuyEzcszDLBmm1cvfJm77+j9CioLEhasvk+cyLOw5RQ+d8DmaYD+dPLyi tylJFwp9M5YdcedLZ+NqCm+t9irTp5HVzzSpqxSkfVhbQhBaIcO3mdPrXn7N+/RbM2MK 1sCAgEVjkkXo63ATgNYjgXh8oYAijjKOmskXDcxtNfoW7NsodXihEteiRWMKXn8xXYrX rodP06Z61UAsZ8xnEuW0kYmH3OIryfsH1xnKWmuJSVqkjiUwXKRqM9zco/fIS3G6Wx0H 6UFA== X-Gm-Message-State: AOAM532IvdNvqXt3Lju3Wfz9s8ftaotv5gEhG3cU2dUY0ZRKD7vKwiZX AxM2gwx4Rl9DMQKjvzaPTgfUzh8otOGdHqVECK1CUynsiyI= X-Received: by 2002:a17:906:c006:: with SMTP id e6mr18782423ejz.510.1624911838243; Mon, 28 Jun 2021 13:23:58 -0700 (PDT) MIME-Version: 1.0 From: Olga Kornievskaia Date: Mon, 28 Jun 2021 16:23:47 -0400 Message-ID: Subject: client's caching of server-side capabilities To: linux-nfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi folks, I have a general question of why the client doesn't throw away the cached server's capabilities on server reboot. Say a client mounted a server when the server didn't support security_labels, then the server was rebooted and support was enabled. Client re-establishes its clientid/session, recovers state, but assumes all the old capabilities apply. A remount is required to clear old/find new capabilities. The opposite is true that a capability could be removed (but I'm assuming that's a less practical example). I'm curious what are the problems of clearing server capabilities and rediscovering them on reboot? Is it because a local filesystem could never have its attributes changed and thus a network file system can't either? Thank you.