From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754199AbdK1UWk (ORCPT ); Tue, 28 Nov 2017 15:22:40 -0500 Received: from mail-yw0-f193.google.com ([209.85.161.193]:43531 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752127AbdK1UWi (ORCPT ); Tue, 28 Nov 2017 15:22:38 -0500 X-Google-Smtp-Source: AGs4zMaOWlDWL04jlRZ83qmzz7Ad3w7iayz95rTM8293dKJ0UGoGUWgYYVG3E0W2I2zWFyUraL9HcQ== 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> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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