X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p3S7PdWq255372 for ; Thu, 28 Apr 2011 02:25:39 -0500 X-ASG-Debug-ID: 1303975751-0fe703770000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail-vw0-f53.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 42CA041B448 for ; Thu, 28 Apr 2011 00:29:11 -0700 (PDT) Received: from mail-vw0-f53.google.com (mail-vw0-f53.google.com [209.85.212.53]) by cuda.sgi.com with ESMTP id 3pDZeQEesvMYLJ2k for ; Thu, 28 Apr 2011 00:29:11 -0700 (PDT) Received: by vws13 with SMTP id 13so1984776vws.26 for ; Thu, 28 Apr 2011 00:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1jyIgSq1FNU9IvX61wsdWjC11NgAKfPnofABi+Cyn/U=; b=BQp62eCZOJ0NP+bvAphd9gaN+MoEazMLsTxzCmqEoYUdy3hLQcGTlcQURITUXwskWA e68/0QT7fIkKSDtNBeb5TJsxM5GwO0mL5WlrXJZFmOWHCaTTUzpBrD97JluxIPshR75d HOy9eJbOlv6c1xtjcMriStuq7uI7HL7iSxlVA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=r2t85McFzTEIC/3eMee/A/CcV3Umt9OhVfsawVGOwLgue5lQUG/QCwRdTW42ObeF2A jId9Rtpsj7z+5tVcS6xZUl1dSNvmLCI/X0Tm+rIPRTlS1OoC/ddNQfV74aKGKdX9HQug 1+cFR8MoHs5pRdkUyqReseQ/Pn+KqjAlm7saE= MIME-Version: 1.0 Received: by 10.52.73.234 with SMTP id o10mr3057234vdv.16.1303975751363; Thu, 28 Apr 2011 00:29:11 -0700 (PDT) Received: by 10.220.169.145 with HTTP; Thu, 28 Apr 2011 00:29:11 -0700 (PDT) In-Reply-To: <20110427171107.GA29196@infradead.org> References: <20110427171107.GA29196@infradead.org> Date: Thu, 28 Apr 2011 12:59:11 +0530 Message-ID: X-ASG-Orig-Subj: Re: xfstests 013 - 2.6.35.11 - hang Subject: Re: xfstests 013 - 2.6.35.11 - hang From: Ajeet Yadav To: Christoph Hellwig Cc: xfs@oss.sgi.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Barracuda-Connect: mail-vw0-f53.google.com[209.85.212.53] X-Barracuda-Start-Time: 1303975752 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests=DKIM_SIGNED, DKIM_VERIFIED X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.62153 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- -0.00 DKIM_VERIFIED Domain Keys Identified Mail: signature passes verification 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean MIPS32=C2=AE 34K=E2=84=A2 Core It does not provide invalidate_kernel_vmap_range() / flush_kernel_vmap_range() to deal with cache coherency problem Therefore we provided dma_cache_inv() / dma_cache_wback_inv() , after that we did not had any coherency problem But as you saying it still has cache coherency problem, wrt xfstests 001 ? diff -Nurp -X linux-2.6.35.11/Documentation/dontdiff linux-2.6.35.11/fs/xfs/linux-2.6/xfs_buf.c linux-2.6.35.11-dirty/fs/xfs/linux-2.6/xfs_buf.c --- linux-2.6.35.11/fs/xfs/linux-2.6/xfs_buf.c 2011-02-07 04:04:07.000000000 +0900 +++ linux-2.6.35.11-dirty/fs/xfs/linux-2.6/xfs_buf.c 2011-03-22 18:29:09.000000000 +0900 @@ -1192,7 +1192,7 @@ xfs_buf_bio_end_io( xfs_buf_ioerror(bp, -error); if (!error && xfs_buf_is_vmapped(bp) && (bp->b_flags & XBF_READ)) - invalidate_kernel_vmap_range(bp->b_addr, xfs_buf_vmap_len(b= p)); + dma_cache_inv((unsigned long)bp->b_addr, xfs_buf_vmap_len(b= p)); do { struct page *page =3D bvec->bv_page; @@ -1304,7 +1304,7 @@ next_chunk: submit_io: if (likely(bio->bi_size)) { if (xfs_buf_is_vmapped(bp)) { - flush_kernel_vmap_range(bp->b_addr, + dma_cache_wback_inv((unsigned long)bp->b_addr, xfs_buf_vmap_len(bp)); } submit_bio(rw, bio); On Wed, Apr 27, 2011 at 10:41 PM, Christoph Hellwig wro= te: > Does 001 also fail for say ext2 and ext3? > >