From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f182.google.com ([209.85.161.182]:35174 "EHLO mail-yw0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752566AbcGETNx (ORCPT ); Tue, 5 Jul 2016 15:13:53 -0400 Received: by mail-yw0-f182.google.com with SMTP id l125so69600171ywb.2 for ; Tue, 05 Jul 2016 12:13:52 -0700 (PDT) From: Martin Brandenburg To: linux-fsdevel@vger.kernel.org Cc: Martin Brandenburg Subject: [RFC] [PATCH 0/2] OrangeFS in-kernel lookup and attribute cache Date: Tue, 5 Jul 2016 15:13:47 -0400 Message-Id: <1467746029-4199-1-git-send-email-mkb@localhost.localdomain> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: This patch introduces caching for OrangeFS server lookups and getattrs. The userspace OrangeFS client has done this in the past. We see a significant (3 to 4 times) performance improvement with these patches at a cost of consistency across the cluster, which OrangeFS doesn't really guarantee anyway. Martin Brandenburg (2): orangefs: Use d_time to avoid excessive lookups orangefs: Cache getattr results. fs/orangefs/dcache.c | 4 ++++ fs/orangefs/inode.c | 6 +++--- fs/orangefs/namei.c | 12 ++++++++++++ fs/orangefs/orangefs-kernel.h | 4 +++- fs/orangefs/orangefs-utils.c | 38 +++++++++++++++++++++----------------- fs/orangefs/protocol.h | 8 -------- 6 files changed, 43 insertions(+), 29 deletions(-) -- 2.7.4