Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp274845lqp; Wed, 22 May 2024 04:29:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKeg/3KpnpQLbiSiqozWprYGYV73HPfUjh2oWWse8NvGYDTbLb8BlhGSqSkF88tj1SjSna5hgDP4cUEc6acab39j82jnbK3YCb/lU9vg== X-Google-Smtp-Source: AGHT+IEkVtGfpsLqsemwo2dduWplXVmimN6a9WQGLWa9pqu9kE6M0buEyXKGclyQuJza64uX6Mb3 X-Received: by 2002:a05:6830:3149:b0:6f1:3112:8f4a with SMTP id 46e09a7af769-6f665f0ef54mr2139435a34.14.1716377349420; Wed, 22 May 2024 04:29:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716377349; cv=pass; d=google.com; s=arc-20160816; b=rju0MeMXYVJdckJQvR4I6+OHNiswNcxxk1CEWACJpP9qKYf9LuUehr5aB+9z9TrCaa VubbmUtkT3UEtjEIXYdmCGVsAhRjkftOleADoR0md4NuwfNWI8umdPbZ5ENOY271dx5U RLWZ/qEQBcJoJJIwS133+gaWtr5HZAP2J/Oini+witqUhzZ8/rHQ6Amawgw5rf2e10/g MmLk7cP/b/c94umwFrkDRpu7YrjGHcAfGwetOCgufHWvRLwGiYAQQRiTygvL4ZN+Slai h26TWs5cSG5xQbBwxD205Fmc6dm2dxz1zdl0H2yFWskYay7k/KpR0736FVxSG832VNUi p87g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=KNstTbNFBCd+HhKurLCnuPWR0z0UVPvAuThP/LhWOd0=; fh=lMFP+LXxuT/l95FcgU5Enoc4lSGYEhwm9quv6WGL9oc=; b=kwfBkfSo4cw1HRCx6ecRrpcEbwnFMNtxsGDe4XJLiaS4F5RxO600zjyFeESgxXOo+U xIU8SRGyYWiufOxR0GeYvjO4B5Vv8GX70/HCkx2KVp6OZTIrcyedQvSGxjU/JLBMopK4 NBSEv8UqLfFxYLolb45Wht0w9VLEVW4JexYk7G3mnVi44QmGFDd1p09Xqad6KGLKi1+f /t7FvFK+E+GQ+dtW9B7CEaLjoEaaPgJHN4uNLx/AMeBnuGS7Ejq0VFwJGjwfziCX/ng3 uNJdW9UyiqieiWdpbVTUoJvrn3QjKARPJrYcdLtjuUniIqXIUCdS4phpPMYr+po69qAB x7yg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b="eN/G7J8C"; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-186136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6340fe3aef0si6433839a12.392.2024.05.22.04.29.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 04:29:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@szeredi.hu header.s=google header.b="eN/G7J8C"; arc=pass (i=1 spf=pass spfdomain=szeredi.hu dkim=pass dkdomain=szeredi.hu dmarc=pass fromdomain=szeredi.hu); spf=pass (google.com: domain of linux-kernel+bounces-186136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=szeredi.hu Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DE982282B47 for ; Wed, 22 May 2024 11:29:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F9A68288F; Wed, 22 May 2024 11:28:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b="eN/G7J8C" Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD061824B9 for ; Wed, 22 May 2024 11:28:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377337; cv=none; b=dWta5eNk2joB8PIPwuUW8b9SVpdh85Dx/iyq6tWiiw7T2O0YqhEjs07/roCtcYydJgKolRoogu/SWNdrm1EKD1olrw8Stx1vlBhbPLFNKUSLrRXxKSlqxtkVsMiq5OzinATb2PIWWOm/lHJUo5hERO5LXyOG/f0Dm916gBVEdos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716377337; c=relaxed/simple; bh=3bJdJ8HW1Na5LLk+AGH4z17x+8X++BBtE11tCH2eQoc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Y0vSd0rrHsoMypJuPQozIHIestbcST8i92/gDOX359TKgoaCwPLeHGJi7c9bqmQrHr19niQC2hN76A1AGWHf98HLyoQLFxQ4/dh9n/utPC+ue7BrCez2hMnXM0efE/9Je6BYfGs2qwbyC2M/tY6vB8qe/KZEmNrcDxCs/TyxBfc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu; spf=pass smtp.mailfrom=szeredi.hu; dkim=pass (1024-bit key) header.d=szeredi.hu header.i=@szeredi.hu header.b=eN/G7J8C; arc=none smtp.client-ip=209.85.218.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=szeredi.hu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=szeredi.hu Received: by mail-ej1-f47.google.com with SMTP id a640c23a62f3a-a5dcb5a0db4so502923866b.2 for ; Wed, 22 May 2024 04:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; t=1716377334; x=1716982134; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KNstTbNFBCd+HhKurLCnuPWR0z0UVPvAuThP/LhWOd0=; b=eN/G7J8C84raWniw310y1EpLoZrKwLRk8mgg2G7az7jscCt1S0EKldbn0KOnIM0Wig FckEbk4wH6bxTI7stUKHNpy1VZ90169MBrB3fc/d0orV8/chSi6s1MkQCehitRS8qO95 M49TXOAMAZwn+PCAl7RfhPgx4AH39pdgIndIg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716377334; x=1716982134; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KNstTbNFBCd+HhKurLCnuPWR0z0UVPvAuThP/LhWOd0=; b=GE7wgPg92vj6URKqPG580gVkBOqzfrm4bmk5DQwZWaQTd6MeDhKujao+5ZJjFUHj4f MzkzOTqm/i0xFHdnvpfhW9owY9IkLkn5v9edJXPjFm0POu+rqy/cdu+hGtRTAcnoijTX bEGoKFBmx0B2YegXqq5735shNIcsHzqK4pKHresP5iHRTGeTVrn4mcJ78Hms0W1CJUZX sIw8dwkhF5KxrEOSTxRV5wMrya/EHE0HuaL0zcWzAiFHbsnQ1aU7S+ekSoUVuAVMWArP h2WV6aMpv+lLpxv3S1EEXksogy8OIwgaWb4w7sv0CDIZko+H0m26X5rrDWWfKg6O2x+l Jeyg== X-Forwarded-Encrypted: i=1; AJvYcCUcJtdL7kdEeXxSkaINSDOxYiHjA6bNywPjwfDUSr/PRRjge79OfU16mDEdmpDBvvQuS7SvYrHYhSaLdIeNztqOpuKIBuB1cGOGeAcx X-Gm-Message-State: AOJu0YxrL/KDE7+g2FKD2h+y0A/OazexQjb5qCyVVSokm+6LeBLeFHjI BmAe7d6RC/HxjCDDwcYhO+T4NX7mcutLhGHUEwyKvi4huEWjztg9v/QiWsuPDh6reNKyaSq0dDf Crxm3oJJxtVimfmgK8Ac6//ieaXW9uNipplwX4w== X-Received: by 2002:a17:906:1589:b0:a59:c52b:993c with SMTP id a640c23a62f3a-a62281fc3b7mr84214066b.77.1716377334095; Wed, 22 May 2024 04:28:54 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Miklos Szeredi Date: Wed, 22 May 2024 13:28:42 +0200 Message-ID: Subject: Re: [RFC PATCH 00/20] Introduce the famfs shared-memory file system To: Amir Goldstein Cc: John Groves , John Groves , Jonathan Corbet , Dan Williams , Vishal Verma , Dave Jiang , Alexander Viro , Christian Brauner , Jan Kara , Matthew Wilcox , linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, nvdimm@lists.linux.dev, john@jagalactic.com, Dave Chinner , Christoph Hellwig , dave.hansen@linux.intel.com, gregory.price@memverge.com, Vivek Goyal , Bernd Schubert Content-Type: text/plain; charset="UTF-8" On Wed, 22 May 2024 at 12:16, Amir Goldstein wrote: > The first open would cache the extent list in fuse_inode and > second open would verify that the extent list matches. > > Last file close could clean the cache extent list or not - that > is an API decision. Well, current API clears the mapping, and I would treat the fi->fb as a just a special case of the extent list. So by default I'd keep this behavior, but perhaps it would make sense to optionally allow the mapping to remain after the last close. For now this is probably not relevant... Thanks, Miklos