Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 17 Oct 2002 17:51:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 17 Oct 2002 17:51:30 -0400 Received: from h68-147-110-38.cg.shawcable.net ([68.147.110.38]:34286 "EHLO webber.adilger.int") by vger.kernel.org with ESMTP id ; Thu, 17 Oct 2002 17:51:28 -0400 From: Andreas Dilger Date: Thu, 17 Oct 2002 15:55:05 -0600 To: Steven French Cc: linux-kernel@vger.kernel.org Subject: Re: statfs64 missing Message-ID: <20021017215505.GB14989@clusterfs.com> Mail-Followup-To: Steven French , linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-GPG-Key: 1024D/0D35BED6 X-GPG-Fingerprint: 7A37 5D79 BF1B CECA D44F 8A29 A488 39F5 0D35 BED6 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 28 On Oct 17, 2002 15:28 -0500, Steven French wrote: > With big SAN based arrays of disks running under some of the high end > CIFS based server appliances from EMC, NetApp etc. it would not be > surprising to me to see an overflow problem for the 32 bit statfs fields > today (mapping from the values in the FILE_SYSTEM_INFO returned by the > server to statfs struct on i386 clients) unless the local fs lies > about the block size. For the cifs vfs adding a statfs64 func would > certainly be technically feasible from the protocol's perspective and > pretty easy. Yes, I hit this problem a month or two ago with Lustre - the 90TB filesystem we are testing on wrapped and I thought it was a problem in our code until I did some more digging. However, lying about the blocksize isn't a big loss, since we prefer 64kB vector page I/O over the network anyways for performance reasons, even though the backing stores actually use 4kB blocksize. Cheers, Andreas -- Andreas Dilger http://www-mddsp.enel.ucalgary.ca/People/adilger/ http://sourceforge.net/projects/ext2resize/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/