From mboxrd@z Thu Jan 1 00:00:00 1970 From: Feng Shuo Subject: [PATCH v3 0/2] FUSE: Adaptive NFS-like readdirplus support Date: Tue, 15 Jan 2013 11:23:26 +0800 Message-ID: <1358220208-27131-1-git-send-email-steve.shuo.feng@gmail.com> References: <87mx1ngmip.fsf@tucsk.pomaz.szeredi.hu> Cc: Feng Shuo To: fuse-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org Return-path: Received: from mail-pa0-f51.google.com ([209.85.220.51]:65093 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752370Ab3AODXw (ORCPT ); Mon, 14 Jan 2013 22:23:52 -0500 Received: by mail-pa0-f51.google.com with SMTP id fb11so2655117pad.10 for ; Mon, 14 Jan 2013 19:23:52 -0800 (PST) In-Reply-To: <87mx1ngmip.fsf@tucsk.pomaz.szeredi.hu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: The original idea belows to Anand V. Avati: http://sourceforge.net/mailarchive/message.php?msg_id=29562240 I did some benchmarking and add the adaptive mechanism as in NFS. For the detail of the testing, please refer to: http://sourceforge.net/mailarchive/message.php?msg_id=30305348 In my setup, this patch set can give about 50% performance up with "ls -l" and without much penalty with pure "ls" because of the second patch. Rebased to 3.8-rc3. Feng Shuo (1): FUSE: Adapt readdirplus to application usage patterns Miklos Szeredi (1): fuse: implement NFS-like readdirplus support fs/fuse/dev.c | 19 +++++ fs/fuse/dir.c | 206 ++++++++++++++++++++++++++++++++++++++++++++-- fs/fuse/fuse_i.h | 16 ++++ fs/fuse/inode.c | 8 +- include/uapi/linux/fuse.h | 12 +++ 5 files changed, 254 insertions(+), 7 deletions(-) -- 1.7.12.4