Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp354198pxb; Wed, 3 Feb 2021 07:09:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZuG6XdlbtqI6nPz8mv9bGbSxLK3FgutAplnLHY3qUwmw2WjuY5W0dfRSgdBZuQRsMNwuC X-Received: by 2002:a05:6402:95a:: with SMTP id h26mr3302306edz.288.1612364967711; Wed, 03 Feb 2021 07:09:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612364967; cv=none; d=google.com; s=arc-20160816; b=XyHDb+bpBaVfZKf3xbUMol59VBBpRRm5BbZggAWpCMJYYPZpifcgg2wFaLnYeI3gNP LvYguTxbe2DRvQ9JuwP8bSu40zsq5fcCPLXgc44IeP4iGmxlXEqSsxXPJxUudXSBHXNL nl4eJGp/jSyUP81zGuf4xxvxZNc6FW8dFitQ7IkHqWlR5FEUKwL/s7iOATaGZtSWQLho n+ZMc0UvEwLQ10tSFcM7mIdB4Jj5K7hn0q7RT9TIf4zmYE2tnO4bjo0uCxR/xZcxvFOy 90MyBZAeoleEt6JmW5fT6TqlCIM76cOOIcDGl6n6Ni6GKlHBHMM+q7vqfwVJcSWww7AI 6VJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=16cDNKxraA3jARSxbNqlIlmOE3npJRnOa9MH9uHHTKM=; b=gafjFFeIaB7KIzS8oekRBG5QY/CJNMx1CJtRQDmg1IJ1sUMKYCGqEvYFJKPQ0mFT/J nM+84/WeK+PraXZZ4AfyoZZh1/sDS2l2WpLlpHoErKLTBZpEwuRcerzmDV2NUFDoEg6D 2Ljm5IoK3pN53jar1e8KmJpr8AoLGRHb1wgvU4DLR+w6px6fivsMXTfFgVdVcWSQNslU +/qR8snOBz6uYJXb4+mqTI8pGtIPniUnyuZfECmzJCi1MeFjQ0MIFTUqAzrrvJDGBiVM TqZy3/6O9se4bTuz/Q4P9beKHijYxLZYb93f68c2H/ihn6unw9yW3w7QpI5OhEcn3RPZ JMTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=IgyIS8cR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y9si1270530ede.254.2021.02.03.07.08.54; Wed, 03 Feb 2021 07:09:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=IgyIS8cR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233321AbhBCPFQ (ORCPT + 99 others); Wed, 3 Feb 2021 10:05:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233262AbhBCPD6 (ORCPT ); Wed, 3 Feb 2021 10:03:58 -0500 Received: from mail-vs1-xe33.google.com (mail-vs1-xe33.google.com [IPv6:2607:f8b0:4864:20::e33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16E6CC06178B for ; Wed, 3 Feb 2021 07:03:18 -0800 (PST) Received: by mail-vs1-xe33.google.com with SMTP id o186so41978vso.1 for ; Wed, 03 Feb 2021 07:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=16cDNKxraA3jARSxbNqlIlmOE3npJRnOa9MH9uHHTKM=; b=IgyIS8cRCiVNUXTC+2WVbi+ZidgiMoLewT/JGLIKvrJMri9lw2Shh0SES2p++86DOD DjmFXxT3mWC8i7HegTGb8/5ye/98nC04js79jlDh0ejnE5lgrEv0JFXkvlsVXJy/Z9Co nA+j2eFBLFImXMFLvQ+Z2jsSRr1Up1Cpdbzko= 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=16cDNKxraA3jARSxbNqlIlmOE3npJRnOa9MH9uHHTKM=; b=A3WVuv/GdhIXzpzT7o7GlfU9BjL/KvRTikClyN9rXkvrXkvrAwrA76zpRHEEDX2tyN cm7Cax/l4/QF07Hujt3K84jkFZgzT79q5ZImj9+SryM4ZeX5o5Ch9bHTRV3k7lfZZkrI X4dRW7H2pq8MF+QUm3m7ubHVQulNZkwc1Bk2dV9FFajBiUrJdv3jDGcs1mBLtnJcrrIH bijpSxY3T60ICPRhcZ+ERcxUm2CBHOLFHCzObpCUG9O8vCu2bfj/JrWpMbso3f4Q9aUQ TUoi8ZLqYWJjSuxTVBDR254IU43SWjhohHNYHsPYyx5czLfdKGZ3pjI7+LGiZMGqncxR Ajsw== X-Gm-Message-State: AOAM533Lcwm/mzQa7JeyhZdY/GdLUqNMfocfOOA3QIegLGpKG7fEy8Xv +jQK0XxtKngFBe5dgV/Lq39y2StV3ue//ddD/n9lgg== X-Received: by 2002:a67:fb86:: with SMTP id n6mr1886934vsr.0.1612364597339; Wed, 03 Feb 2021 07:03:17 -0800 (PST) MIME-Version: 1.0 References: <20210203124112.1182614-1-mszeredi@redhat.com> <20210203130501.GY308988@casper.infradead.org> <20210203135827.GZ308988@casper.infradead.org> <20210203142802.GA308988@casper.infradead.org> <20210203145620.GB308988@casper.infradead.org> In-Reply-To: <20210203145620.GB308988@casper.infradead.org> From: Miklos Szeredi Date: Wed, 3 Feb 2021 16:03:06 +0100 Message-ID: Subject: Re: [PATCH 00/18] new API for FS_IOC_[GS]ETFLAGS/FS_IOC_FS[GS]ETXATTR To: Matthew Wilcox Cc: Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , Andreas Dilger , Andreas Gruenbacher , Christoph Hellwig , "Darrick J . Wong" , Dave Kleikamp , David Sterba , Jaegeuk Kim , Jan Kara , Joel Becker , Matthew Garrett , Mike Marshall , Richard Weinberger , Ryusuke Konishi , "Theodore Ts'o" , Tyler Hicks Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 3, 2021 at 3:56 PM Matthew Wilcox wrote: > But let's talk specifics. What does CIFS need to contact the server for? > Could it be cached earlier? I don't understand what CIFS is doing, and I don't really care. This is the sort of operation where adding a couple of network roundtrips so that the client can obtain the credentials required to perform the operation doesn't really matter. We won't have thousands of chattr(1) calls per second. So I think the principle is more important than the details of the current implementation. And I'm saying that knowing that fixing up FUSE will be my responsibility and it won't be trivial either. Thanks, Miklos