Received: with ECARTIS (v1.0.0; list linux-xfs); Tue, 24 Jan 2006 12:41:55 -0800 (PST) Received: from omx1.americas.sgi.com (omx1-ext.sgi.com [192.48.179.11]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k0OKflm2030003 for ; Tue, 24 Jan 2006 12:41:47 -0800 Received: from omx2.sgi.com ([198.149.32.25]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id k0OKgqOX013061 for ; Tue, 24 Jan 2006 14:42:52 -0600 Received: from flecktone.americas.sgi.com (flecktone.americas.sgi.com [198.149.16.15]) by omx2.sgi.com (8.12.11/8.12.9/linux-outbound_gateway-1.1) with ESMTP id k0OMhr7m021268 for ; Tue, 24 Jan 2006 14:43:53 -0800 Received: from poppy-e236.americas.sgi.com (poppy-e236.americas.sgi.com [128.162.236.207]) by flecktone.americas.sgi.com (8.12.9/8.12.10/SGI_generic_relay-1.2) with ESMTP id k0OKfmDN24420670; Tue, 24 Jan 2006 14:41:48 -0600 (CST) Received: from attica.americas.sgi.com (attica.americas.sgi.com [128.162.236.44]) by poppy-e236.americas.sgi.com (8.12.9/ASC-news-1.4) with ESMTP id k0OKflko1810359; Tue, 24 Jan 2006 14:41:47 -0600 (CST) Received: by attica.americas.sgi.com (Postfix, from userid 9762) id 62896494420; Tue, 24 Jan 2006 14:41:47 -0600 (CST) To: linux-xfs@sgi.com, sgi.bugs.xfs@sgi.com Subject: TAKE 947610 - Fix ref count assert failure caused by attribute insertion failure Message-Id: <20060124204147.62896494420@attica.americas.sgi.com> Date: Tue, 24 Jan 2006 14:41:47 -0600 (CST) From: yingping@sgi.com (Yingping Lu) X-archive-position: 7247 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: yingping@sgi.com Precedence: bulk X-list: linux-xfs Content-Length: 740 Lines: 17 Interim solution for attribute insertion failure during file creation due to ENOSPC. The current solution removes the inode when the attribute insertion fails. Long term solution would be to make the inode creation and attribute insertion atomic. Date: Tue Jan 24 12:38:10 PST 2006 Workarea: attica.americas.sgi.com:/data/lwork/attica3/yingping/xfs-kern Inspected by: tes The following file(s) were checked into: bonnie.engr.sgi.com:/isms/xfs-kern/xfs-linux Modid: xfs-linux:xfs-kern:205193a linux-2.6/xfs_iops.c - 1.237 - changed http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.237&r2=text&tr2=1.236&f=h - Add a cleanup code to handle the failure in attribute insertion due to ENOSPC.