Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f67HkBb30760 for linux-xfs-outgoing; Sat, 7 Jul 2001 10:46:11 -0700 Received: from sgi.com (sgi.SGI.COM [192.48.153.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f67HkAV30757 for ; Sat, 7 Jul 2001 10:46:10 -0700 Received: from zeus-fddi.americas.sgi.com (zeus-fddi.americas.sgi.com [128.162.8.103]) by sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam: SGI does not authorize the use of its proprietary systems or networks for unsolicited or bulk email from the Internet.) via ESMTP id KAA01873 for ; Sat, 7 Jul 2001 10:46:14 -0700 (PDT) mail_from (lord@sgi.com) Received: from daisy-e185.americas.sgi.com (daisy.americas.sgi.com [128.162.185.214]) by zeus-fddi.americas.sgi.com (8.9.3/americas-smart-nospam1.1) with ESMTP id KAA2367228 for ; Sat, 7 Jul 2001 10:18:56 -0500 (CDT) Received: from jen.americas.sgi.com (IDENT:root@jen.americas.sgi.com [128.162.187.49]) by daisy-e185.americas.sgi.com (SGI-8.9.3/SGI-server-1.7) with ESMTP id IAA00299; Sat, 7 Jul 2001 08:58:54 -0500 (CDT) From: lord@sgi.com Received: by jen.americas.sgi.com (8.11.2/SGI-client-1.7) id f67E0c223479; Sat, 7 Jul 2001 09:00:38 -0500 Message-Id: <200107071400.f67E0c223479@jen.americas.sgi.com> Date: Sat, 7 Jul 2001 09:00:38 -0500 Subject: TAKE - fix writes to sparse files over nfs Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk I was wrong about who was at fault here, it was the pagebuf code in the case were we were zeroing holes in files, that path should not touch the inode size. Date: Sat Jul 7 06:57:13 PDT 2001 Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4 The following file(s) were checked into: bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs Modid: 2.4.x-xfs:slinx:98440a linux/fs/pagebuf/page_buf_io.c - 1.88 - when writing a sparse file, do not change the inode size when zeroing buffers at the end of the file. This caused the linux inode size to get out of sync with the xfs inode size and confuse nfs.