Return-Path: Received: from mail-yw0-f195.google.com ([209.85.161.195]:32799 "EHLO mail-yw0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752174AbdK1UWi (ORCPT ); Tue, 28 Nov 2017 15:22:38 -0500 Received: by mail-yw0-f195.google.com with SMTP id k80so486950ywe.0 for ; Tue, 28 Nov 2017 12:22:37 -0800 (PST) From: Martin Brandenburg To: hubcap@omnibond.com, devel@lists.orangefs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Martin Brandenburg Subject: [PATCH 0/5] orangefs: misc attribute fixes Date: Tue, 28 Nov 2017 15:21:56 -0500 Message-Id: <20171128202201.8717-1-martin@omnibond.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Mike, Here's a few fixes for OrangeFS. Most important is to run getattr for size during a mmap page fault. I have also found a bug in d_revalidate. The test is backwards. However I haven't found a test that demonstrates that it is wrong, which makes me doubt that all the code here is completely optimal. The others are supposed to improve performance but appear to be below the noise floor. Martin Brandenburg (5): orangefs: open code short single-use functions orangefs: implement vm_ops->fault orangefs: do not invalidate attributes on inode create orangefs: do not invalidate attribute cache on setattr orangefs: reverse sense of revalidate is-inode-stale test fs/orangefs/dcache.c | 17 +++--- fs/orangefs/file.c | 122 ++++++++++++++++--------------------------- fs/orangefs/inode.c | 6 --- fs/orangefs/namei.c | 6 --- fs/orangefs/orangefs-utils.c | 4 -- 5 files changed, 51 insertions(+), 104 deletions(-) -- 2.15.0