From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1669 invoked by alias); 2 Aug 2006 01:37:17 -0000 Received: (qmail 1639 invoked by uid 9572); 2 Aug 2006 01:37:17 -0000 Date: Wed, 02 Aug 2006 01:37:00 -0000 Message-ID: <20060802013717.1638.qmail@sourceware.org> From: wcheng@sourceware.org To: cluster-cvs@sources.redhat.com Subject: cluster/gfs-kernel/src/gfs super.c Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2006-q3/txt/msg00256.txt.bz2 List-Id: CVSROOT: /cvs/cluster Module name: cluster Changes by: wcheng@sourceware.org 2006-08-02 01:37:17 Modified files: gfs-kernel/src/gfs: super.c Log message: Bugzilla 199984: Increasing gt_statfs_slots tunable could significantly boost gfs "df" performance; e.g. set it to 128 from current default (64) could cut the "df" wall time in half with larger filesystem size. However, the kmalloc call within stat_gfs_async() has the possibility to fail due to increased gt_statfs_slots. There is really no need for this array to be on a piece of contiguous memory. Switch to vmalloc(). Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/super.c.diff?cvsroot=cluster&r1=1.19&r2=1.20