Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1467595pxb; Fri, 24 Sep 2021 05:20:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlty5ON4gDjLRW7lDAvBwmCZs0pUTsJvQg35E7MyZWOnoERA6WPRI7ENghrcfeY2kZqGu9 X-Received: by 2002:a05:6e02:1545:: with SMTP id j5mr7975478ilu.181.1632486023964; Fri, 24 Sep 2021 05:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632486023; cv=none; d=google.com; s=arc-20160816; b=g4CXQ1vpgSWFXjoMSxNiu89tFvu6/MB8iJ7c+K5apeYbHHTmtjM2DqIF92u6cr7A73 ome5N8qWDuMsB/BGVMGdIBOi5LLPwfewlwoOm174r4Wr7dLX7Q5JPhhxnWH3jgt8KDe4 sMoK132VEECkJlZPN73Iq+1QK3edUIvD7laahQK0w+a/DtaLlv/tcofSQR1UE4SdYqt7 XujbO1F4nT9QWiTcKe5/koB0Ztkq1FQTVlzn3FCrfeRBaTwMcWZGmuSCq4LBQwAu1mQ6 FaWoy7cwDjSnfWuIwzvZtkpTS+d9DOmvM9mwbhCcFXs7X0jthNdmE2Ezr0ZmrnYhGqmk 05Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s17FqViMBOr8Te4pehncbfRy5I9CQXJfZ+kmZOISVmI=; b=OXUjL0yEYrVeeEjBCuDpjgGRnUaMxtcnvGHvGjZomt6TnBd1A7wWAjyrLxNtS0QBnE CIY9gP5ycMsncJKGJogaPoVw4voCAiknklrmQaraF2y0WnrFJZat6eH3j5LkBGPwqFKW p+FpFjpGstlzOG3ln0yxS2DGzyRDIuGG0oHylXfMf+luGZElelt1eJigGzx59//mtqlK 3LuAyRV7cit1Mt3bPiq4qIp3OgYcM+9bpf9O9qleiPQcT9bcytILx+8/PCXo1ASzPORN fZr30jO2rFYz9cs7l+g4YrHpWBAou7EhWPLpWhn47ECHd3w2INsuKvMMwC/HGVOZOWyP bz4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=h9etuSw1; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si9932728ilu.11.2021.09.24.05.20.10; Fri, 24 Sep 2021 05:20:23 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20210112 header.b=h9etuSw1; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244949AbhIXK7L (ORCPT + 99 others); Fri, 24 Sep 2021 06:59:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244324AbhIXK7J (ORCPT ); Fri, 24 Sep 2021 06:59:09 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AA12C061574; Fri, 24 Sep 2021 03:57:34 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id u18so37581123lfd.12; Fri, 24 Sep 2021 03:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=s17FqViMBOr8Te4pehncbfRy5I9CQXJfZ+kmZOISVmI=; b=h9etuSw1jD93JbwOUW3o4MInJt6oeyweOqViRx2JaKrpBJ36hKeubAJ5Bf8BbdB0ll TkTSbI2q65OmpuOOl5HBYOQgASys9d7IK4137Z0fPmsTGyVm+ZDS5XOg+a4YPkYGDLMl Auz1ekwhzwcSQPZcLekBTcNgIV0+Ki25HkUw9iLBVf+gpRjKcus/UrIGP5OosXiVPYNK hki9i0+Ej9YO7b0072Ntp6VsahNjZgLanQvmvBHlRilrPts2ytBEPCC+WnRgDrQRcgTp LsiOMZfkRl17WxmbsgyqGdipsSMhUmx2rhJ5GAN+tghRskWZP9He3d09h6tf8wMPRTH8 F3KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=s17FqViMBOr8Te4pehncbfRy5I9CQXJfZ+kmZOISVmI=; b=dBSy4SoPc0M3bAs5ETlltiF7Fh5JleHfofAVZg2XPSjya86gOGzkhdewFJR12IfcFU YAckwYas/80iQuA+KwheVSZnEa5pq981oN4n2xMCHmVWuBHtYwOytF0+xFwbqNMOwB38 sFRgnxha7suZqCY0jKMbqeCJQr8IoujHcP+IKQaxoFM2YToIFqeORwrNwkER9dWgnHHQ Y2sxOtpVuWg3j8GluKi3aa3zglrV946TuAt/OXBIIOa4n6nzLW6aBTEX6KBB5Dxx0lPa 9P8CYpEgwWcTEHrOzZF7TavvKaLhCm6bPMfeo1liHZohaq2uUApy/00JnDzujAXK9Eij Yvng== X-Gm-Message-State: AOAM531hrBAfJ5CusrQVWtiu+AIGKP+UMARvqEqjuhZCKuQ4DOtL3yjr E6ZzE97rIaOYKSdV1LsdhwgspihGgHI= X-Received: by 2002:ac2:5f41:: with SMTP id 1mr9048364lfz.79.1632481052882; Fri, 24 Sep 2021 03:57:32 -0700 (PDT) Received: from kari-VirtualBox (85-23-89-224.bb.dnainternet.fi. [85.23.89.224]) by smtp.gmail.com with ESMTPSA id w19sm887695ljd.110.2021.09.24.03.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 03:57:32 -0700 (PDT) Date: Fri, 24 Sep 2021 13:57:30 +0300 From: Kari Argillander To: Konstantin Komarov Cc: ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 0/6] fs/ntfs3: Refactor locking in inode_operations Message-ID: <20210924105730.2fyzesynznjieddj@kari-VirtualBox> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 23, 2021 at 06:38:39PM +0300, Konstantin Komarov wrote: > Speed up work with dir lock. > Theoretically in successful cases those locks aren't needed at all. > But proving the same for error cases is difficult. > So instead of removing them we just move them. > > V2: > added patch, that fixes logical error in ntfs_create_inode Whole series Reviewed-by: Kari Argillander > > Konstantin Komarov (6): > fs/ntfs3: Fix logical error in ntfs_create_inode > fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inode > fs/ntfs3: Refactor ntfs_get_acl_ex for better readability > fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_ex > fs/ntfs3: Change posix_acl_equiv_mode to posix_acl_update_mode > fs/ntfs3: Refactoring lock in ntfs_init_acl > > fs/ntfs3/inode.c | 19 ++++++++--- > fs/ntfs3/namei.c | 20 ----------- > fs/ntfs3/xattr.c | 88 +++++++++++++++++------------------------------- > 3 files changed, 46 insertions(+), 81 deletions(-) > > -- > 2.33.0 >