Received: with ECARTIS (v1.0.0; list linux-xfs); Tue, 30 Sep 2003 07:18:13 -0700 (PDT) Received: from zok.sgi.com (zok.SGI.COM [204.94.215.101]) by oss.sgi.com (8.12.10/8.12.10) with SMTP id h8UEHXFx025196 for ; Tue, 30 Sep 2003 07:17:33 -0700 Received: from flecktone.americas.sgi.com (flecktone.americas.sgi.com [192.48.203.135]) by zok.sgi.com (8.12.9/8.12.9/linux-outbound_gateway-1.1) with ESMTP id h8UEHRq0025928 for ; Tue, 30 Sep 2003 07:17:28 -0700 Received: from tulip-e236.americas.sgi.com (tulip-e236.americas.sgi.com [128.162.236.208]) by flecktone.americas.sgi.com (8.12.9/8.12.9/generic_config-1.2) with ESMTP id h8UEHRcc11909682 for ; Tue, 30 Sep 2003 09:17:27 -0500 (CDT) Received: from jen.americas.sgi.com (jen.americas.sgi.com [128.162.232.100]) by tulip-e236.americas.sgi.com (8.12.9/SGI-server-1.8) with ESMTP id h8UEHRSn29508302 for ; Tue, 30 Sep 2003 09:17:27 -0500 (CDT) Received: from jen.americas.sgi.com (localhost.localdomain [127.0.0.1]) by jen.americas.sgi.com (8.12.8/8.12.8) with ESMTP id h8UEHQKZ024257 for ; Tue, 30 Sep 2003 09:17:27 -0500 Received: (from lord@localhost) by jen.americas.sgi.com (8.12.8/8.12.8/Submit) id h8UEHQKD024255 for linux-xfs@oss.sgi.com; Tue, 30 Sep 2003 09:17:26 -0500 Date: Tue, 30 Sep 2003 09:17:26 -0500 From: Steve Lord Message-Id: <200309301417.h8UEHQKD024255@jen.americas.sgi.com> Subject: TAKE 901598 - make unwritten extent conversion more efficient To: linux-xfs@oss.sgi.com X-archive-position: 583 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: lord@sgi.com Precedence: bulk X-list: linux-xfs Content-Length: 512 Lines: 18 When calculating the number of pages to probe for an unwritten extent, use the size of the extent, not the page count of the pagebuf which is initialized to zero. Date: Tue Sep 30 07:16:49 PDT 2003 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: xfs-linux:slinx:159206a linux/fs/xfs/linux/xfs_aops.c - 1.50 - calculate the last page to probe from the extent size rather than the pagebuf page count.