<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1029</id>
	<title>Nabble - Xfs</title>
	<updated>2009-11-30T12:33:49Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Xfs-f1029.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Xfs-f1029.html" />
	<subtitle type="html">XFS combines advanced journaling technology with full 64-bit addressing and scalable structures and algorithms. This combination delivers the most scalable and high-performance filesystem in the world. Xfs home is &lt;a href=&quot;http://oss.sgi.com/projects/xfs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26581752</id>
	<title>Re: [PATCH] xfs: check for not fully initialized inodes in xfs_ireclaim</title>
	<published>2009-11-30T12:33:49Z</published>
	<updated>2009-11-30T12:33:49Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 02:07:40PM -0600, Alex Elder wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Christoph Hellwig wrote:
&lt;br&gt;&amp;gt; &amp;gt; Add an assert for inodes not added to the inode cache in xfs_ireclaim, to make
&lt;br&gt;&amp;gt; &amp;gt; sure we're not going to introduce something like the famous nfsd inode cache
&lt;br&gt;&amp;gt; &amp;gt; bug again.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I confess I have not looked at the radix tree
&lt;br&gt;&amp;gt; code in detail yet, but radix_tree_delete()
&lt;br&gt;&amp;gt; returns a value that is ignored here. &amp;nbsp;It reportedly
&lt;br&gt;&amp;gt; will return a null pointer if the index has no
&lt;br&gt;&amp;gt; corresponding item in the tree, so this could be
&lt;br&gt;&amp;gt; used in the assertion rather than doing a separate
&lt;br&gt;&amp;gt; lookup.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I think the change is fine, but would rather see
&lt;br&gt;&amp;gt; it done without the extra lookup (though there may
&lt;br&gt;&amp;gt; be a good reason for doing it anyway).
&lt;/div&gt;&lt;br&gt;Sounds good, I'll redo it.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26581752&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--xfs%3A-check-for-not-fully-initialized-inodes-in-xfs_ireclaim-tp26324840p26581752.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26581313</id>
	<title>RE: [PATCH] xfs: check for not fully initialized inodes in xfs_ireclaim</title>
	<published>2009-11-30T12:07:40Z</published>
	<updated>2009-11-30T12:07:40Z</updated>
	<author>
		<name>Alex Elder</name>
	</author>
	<content type="html">Christoph Hellwig wrote:
&lt;br&gt;&amp;gt; Add an assert for inodes not added to the inode cache in xfs_ireclaim, to make
&lt;br&gt;&amp;gt; sure we're not going to introduce something like the famous nfsd inode cache
&lt;br&gt;&amp;gt; bug again.
&lt;br&gt;&lt;br&gt;I confess I have not looked at the radix tree
&lt;br&gt;code in detail yet, but radix_tree_delete()
&lt;br&gt;returns a value that is ignored here. &amp;nbsp;It reportedly
&lt;br&gt;will return a null pointer if the index has no
&lt;br&gt;corresponding item in the tree, so this could be
&lt;br&gt;used in the assertion rather than doing a separate
&lt;br&gt;lookup.
&lt;br&gt;&lt;br&gt;I think the change is fine, but would rather see
&lt;br&gt;it done without the extra lookup (though there may
&lt;br&gt;be a good reason for doing it anyway).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Alex
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Signed-off-by: Christoph Hellwig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26581313&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Index: xfs/fs/xfs/xfs_iget.c
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; --- xfs.orig/fs/xfs/xfs_iget.c	2009-11-12 17:10:20.216276486 +0100
&lt;br&gt;&amp;gt; +++ xfs/fs/xfs/xfs_iget.c	2009-11-12 17:13:27.565003964 +0100
&lt;br&gt;&amp;gt; @@ -514,17 +514,21 @@ xfs_ireclaim(
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; &amp;nbsp;	struct xfs_mount	*mp = ip-&amp;gt;i_mount;
&lt;br&gt;&amp;gt; &amp;nbsp;	struct xfs_perag	*pag;
&lt;br&gt;&amp;gt; +	xfs_agino_t		agino = XFS_INO_TO_AGINO(mp, ip-&amp;gt;i_ino);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;	XFS_STATS_INC(xs_ig_reclaims);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;	/*
&lt;br&gt;&amp;gt; -	 * Remove the inode from the per-AG radix tree. &amp;nbsp;It doesn't matter
&lt;br&gt;&amp;gt; -	 * if it was never added to it because radix_tree_delete can deal
&lt;br&gt;&amp;gt; -	 * with that case just fine.
&lt;br&gt;&amp;gt; +	 * Remove the inode from the per-AG radix tree.
&lt;br&gt;&amp;gt; +	 *
&lt;br&gt;&amp;gt; +	 * Because radix_tree_delete won't complain even if the item was never
&lt;br&gt;&amp;gt; +	 * added to the tree assert that it's been there before to catch
&lt;br&gt;&amp;gt; +	 * problems with the inode life time early on.
&lt;br&gt;&amp;gt; &amp;nbsp;	 */
&lt;br&gt;&amp;gt; &amp;nbsp;	pag = xfs_get_perag(mp, ip-&amp;gt;i_ino);
&lt;br&gt;&amp;gt; &amp;nbsp;	write_lock(&amp;pag-&amp;gt;pag_ici_lock);
&lt;br&gt;&amp;gt; -	radix_tree_delete(&amp;pag-&amp;gt;pag_ici_root, XFS_INO_TO_AGINO(mp, ip-&amp;gt;i_ino));
&lt;br&gt;&amp;gt; +	ASSERT(radix_tree_lookup(&amp;pag-&amp;gt;pag_ici_root, agino));
&lt;br&gt;&amp;gt; +	radix_tree_delete(&amp;pag-&amp;gt;pag_ici_root, agino);
&lt;br&gt;&amp;gt; &amp;nbsp;	write_unlock(&amp;pag-&amp;gt;pag_ici_lock);
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_put_perag(mp, pag);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; xfs mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26581313&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26581313&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--xfs%3A-check-for-not-fully-initialized-inodes-in-xfs_ireclaim-tp26324840p26581313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26577522</id>
	<title>Re: XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-30T07:30:06Z</published>
	<updated>2009-11-30T07:30:06Z</updated>
	<author>
		<name>Michael Monnerie-5</name>
	</author>
	<content type="html">On Montag, 30. November 2009 Alex Elder wrote:
&lt;br&gt;&amp;gt; The quota inheritance property Dave described only applies
&lt;br&gt;&amp;gt; to project quotas, not group or user quotas.
&lt;br&gt;&amp;gt; 
&lt;br&gt;Thanks. I thought about it but can't use them anyway, as I would have to 
&lt;br&gt;change the owner of files on upload. But I want to keep that 
&lt;br&gt;information. So turning off quota is our only chance by now :-(
&lt;br&gt;&lt;br&gt;mfg zmi
&lt;br&gt;-- 
&lt;br&gt;// Michael Monnerie, Ing.BSc &amp;nbsp; &amp;nbsp;----- &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://it-management.at&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it-management.at&lt;/a&gt;&lt;br&gt;// Tel: 0660 / 415 65 31 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.network.your.ideas.
&lt;br&gt;// PGP Key: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;curl -s &lt;a href=&quot;http://zmi.at/zmi.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zmi.at/zmi.asc&lt;/a&gt;&amp;nbsp;| gpg --import&amp;quot;
&lt;br&gt;// Fingerprint: AC19 F9D5 36ED CD8A EF38 &amp;nbsp;500E CE14 91F7 1C12 09B4
&lt;br&gt;// Keyserver: wwwkeys.eu.pgp.net &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key-ID: 1C1209B4
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26577522&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26577522/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26577522.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26576026</id>
	<title>RE: XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-30T06:21:01Z</published>
	<updated>2009-11-30T06:21:01Z</updated>
	<author>
		<name>Alex Elder</name>
	</author>
	<content type="html">Michael Monnerie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Montag, 30. November 2009 Dave Chinner wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1) why this happens
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; It happens if you move from one project directory heirarchy to
&lt;br&gt;&amp;gt;&amp;gt; another - rename is not allowed across project quota boundaries as
&lt;br&gt;&amp;gt;&amp;gt; the moved data has to be correctly attributed to the new project.
&lt;br&gt;&amp;gt;&amp;gt; Hence it causes a mv to do a copy/unlink by returning a EXDEV error to the rename.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2) how I can prevent this?
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; You can't if you are moving from one project to another. If you
&lt;br&gt;&amp;gt;&amp;gt; move within the project heirarchy, then it will be a rename as per
&lt;br&gt;&amp;gt;&amp;gt; normal.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Shit. So I have to turn project quotas off. I can't accept the extra
&lt;br&gt;&amp;gt; load for a simple move, as there are tons of data. Maybe the projet code
&lt;br&gt;&amp;gt; could be redesigned to allow a simple move? Is it that complicated?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If I change from project to user quota - I guess the same would still
&lt;br&gt;&amp;gt; happen? If so, I have to drop quota support, and build a script to check
&lt;br&gt;&amp;gt; quotas manually. It's a pity. :-(
&lt;/div&gt;&lt;br&gt;The quota inheritance property Dave described only applies
&lt;br&gt;to project quotas, not group or user quotas.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Alex
&lt;br&gt;&lt;br&gt;&amp;gt; mfg zmi
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26576026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26576026.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575601</id>
	<title>RE: 2.6.31.6: XFS DEBUG: Assertions cause kernel OOPS.</title>
	<published>2009-11-30T06:15:57Z</published>
	<updated>2009-11-30T06:15:57Z</updated>
	<author>
		<name>Justin Piszcz</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;On Mon, 30 Nov 2009, Alex Elder wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Justin Piszcz wrote:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I wanted to compile my kernel with DEBUG for XFS and also kernel frame pointers
&lt;br&gt;&amp;gt;&amp;gt; to catch any issues.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; However, DEBUG for XFS does more harm than good?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It should not. &amp;nbsp;This simple patch would improve things
&lt;br&gt;&amp;gt; but I'll add to my to-do list a review of assertions
&lt;br&gt;&amp;gt; to find and fix things of this type.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 					-Alex
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; diff -Naur old/fs/xfs/xfs_bmap.c new/fs/xfs/xfs_bmap.c
&lt;br&gt;&amp;gt; --- old/fs/xfs/xfs_bmap.c &amp;nbsp; &amp;nbsp; &amp;nbsp; 2009-11-30 07:55:59.000000000 -0600
&lt;br&gt;&amp;gt; +++ new/fs/xfs/xfs_bmap.c &amp;nbsp; &amp;nbsp; &amp;nbsp; 2009-11-30 07:56:43.000000000 -0600
&lt;br&gt;&amp;gt; @@ -4843,6 +4843,7 @@
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;orig_mval = mval;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;orig_nmap = *nmap;
&lt;br&gt;&amp;gt; #endif
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; ASSERT(nmap != NULL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ASSERT(*nmap &amp;gt;= 1);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ASSERT(*nmap &amp;lt;= XFS_BMAP_MAX_NMAP || !(flags &amp; XFS_BMAPI_WRITE));
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;whichfork = (flags &amp; XFS_BMAPI_ATTRFORK) ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;The patch failed against 2.6.31.6 but I added that line at that point anyway,
&lt;br&gt;ok thanks will let you know if I see anything else with DEBUG enabled.
&lt;br&gt;&lt;br&gt;Justin.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575601&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/2.6.31.6%3A-XFS-DEBUG%3A-Assertions-cause-kernel-OOPS.-tp26574716p26575601.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575602</id>
	<title>RE: 2.6.31.6: XFS DEBUG: Assertions cause kernel OOPS.</title>
	<published>2009-11-30T05:59:01Z</published>
	<updated>2009-11-30T05:59:01Z</updated>
	<author>
		<name>Alex Elder</name>
	</author>
	<content type="html">Justin Piszcz wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I wanted to compile my kernel with DEBUG for XFS and also kernel frame pointers
&lt;br&gt;&amp;gt; to catch any issues.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; However, DEBUG for XFS does more harm than good?
&lt;br&gt;&lt;br&gt;It should not. &amp;nbsp;This simple patch would improve things
&lt;br&gt;but I'll add to my to-do list a review of assertions
&lt;br&gt;to find and fix things of this type.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Alex
&lt;br&gt;&lt;br&gt;diff -Naur old/fs/xfs/xfs_bmap.c new/fs/xfs/xfs_bmap.c
&lt;br&gt;--- old/fs/xfs/xfs_bmap.c &amp;nbsp; &amp;nbsp; &amp;nbsp; 2009-11-30 07:55:59.000000000 -0600
&lt;br&gt;+++ new/fs/xfs/xfs_bmap.c &amp;nbsp; &amp;nbsp; &amp;nbsp; 2009-11-30 07:56:43.000000000 -0600
&lt;br&gt;@@ -4843,6 +4843,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; orig_mval = mval;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; orig_nmap = *nmap;
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; ASSERT(nmap != NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ASSERT(*nmap &amp;gt;= 1);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ASSERT(*nmap &amp;lt;= XFS_BMAP_MAX_NMAP || !(flags &amp; XFS_BMAPI_WRITE));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; whichfork = (flags &amp; XFS_BMAPI_ATTRFORK) ?
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I tried to install bonnie++:
&lt;br&gt;&amp;gt; # apt-get install -y bonnie++
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And then this happened:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [ 1578.768558] Assertion failed: *nmap &amp;gt;= 1, file: fs/xfs/xfs_bmap.c, line: 4846
&lt;br&gt;&amp;gt; [ 1578.768633] ------------[ cut here ]------------
&lt;br&gt;&amp;gt; [ 1578.768690] kernel BUG at fs/xfs/support/debug.c:109!
&lt;br&gt;&amp;gt; [ 1578.768742] invalid opcode: 0000 [#1] SMP
&lt;br&gt;&amp;gt; [ 1578.768839] last sysfs file:
&lt;br&gt;&amp;gt; /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host15/target15:0:0/15:0:0:0/queue_depth [
&lt;br&gt;&amp;gt; 1578.768939] CPU 1 [ 1578.769016] Pid: 3273, comm: dpkg Not tainted 2.6.31.6 #6
&lt;br&gt;&amp;gt; [ 1578.769083] RIP: 0010:[&amp;lt;ffffffff81243ada&amp;gt;] &amp;nbsp;[&amp;lt;ffffffff81243ada&amp;gt;] assfail+0x1a/0x20
&lt;br&gt;&amp;gt; [ 1578.769203] RSP: 0018:ffff880121d4bc08 &amp;nbsp;EFLAGS: 00010296
&lt;br&gt;&amp;gt; [ 1578.769252] RAX: 0000000000000054 RBX: 0000000000000000 RCX: ffffffff81364fb0
&lt;br&gt;&amp;gt; [ 1578.769252] RDX: ffff880028038000 RSI: 0000000000000046 RDI: ffffffff816b4730
&lt;br&gt;&amp;gt; [ 1578.769252] RBP: ffff880121d4bc08 R08: 0000000000000000 R09: 0000000000000006
&lt;br&gt;&amp;gt; [ 1578.769252] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000800000000
&lt;br&gt;&amp;gt; [ 1578.769252] R13: ffff88012a295580 R14: 0000000000000002 R15: ffff88012a522000
&lt;br&gt;&amp;gt; [ 1578.769252] FS: &amp;nbsp;00007f2a7367d790(0000) GS:ffff880028038000(0000) knlGS:0000000000000000
&lt;br&gt;&amp;gt; [ 1578.769252] CS: &amp;nbsp;0010 DS: 0000 ES: 0000 CR0: 0000000080050033
&lt;br&gt;&amp;gt; [ 1578.769252] CR2: 000000000204e000 CR3: 0000000121d53000 CR4: 00000000000026e0
&lt;br&gt;&amp;gt; [ 1578.769252] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&lt;br&gt;&amp;gt; [ 1578.769252] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&lt;br&gt;&amp;gt; [ 1578.769252] Process dpkg (pid: 3273, threadinfo ffff880121d4a000, task ffff88012b98b990)
&lt;br&gt;&amp;gt; [ 1578.769252] Stack:
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;ffff880121d4bdb8 ffffffff811eb916 0000000121d4bc38 000000000204e000
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;lt;0&amp;gt; ffff8801244a85d0 0000000000000286 ffff880121d4bc68 ffffffff81260c51
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;lt;0&amp;gt; ffff880121d4bc68 0000000000000000 000000080204e000 00000000007ffff8
&lt;br&gt;&amp;gt; [ 1578.769252] Call Trace:
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff811eb916&amp;gt;] xfs_bmapi+0x66/0x1940
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff81260c51&amp;gt;] ? __up_read+0x91/0xb0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8123a0a7&amp;gt;] ? xfs_buf_free+0xc7/0x110
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8123a1e6&amp;gt;] ? xfs_buf_rele+0xf6/0x130
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8122e70a&amp;gt;] ? xfs_trans_brelse+0x19a/0x2a0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff811f7ac7&amp;gt;] ? xfs_da_brelse+0x77/0x120
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf63d&amp;gt;] ? filldir+0x9d/0xe0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8120225a&amp;gt;] xfs_dir2_leaf_getdents+0x61a/0x780
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf5a0&amp;gt;] ? filldir+0x0/0xe0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf5a0&amp;gt;] ? filldir+0x0/0xe0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff811fc6ec&amp;gt;] xfs_readdir+0x10c/0x110
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf5a0&amp;gt;] ? filldir+0x0/0xe0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8123b4f4&amp;gt;] xfs_file_readdir+0x34/0x50
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf7f8&amp;gt;] vfs_readdir+0xa8/0xc0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf963&amp;gt;] sys_getdents+0x83/0xe0
&lt;br&gt;&amp;gt; [ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8102d1ab&amp;gt;] system_call_fastpath+0x16/0x1b
&lt;br&gt;&amp;gt; [ 1578.769252] Code: 57 81 48 c7 c7 8e 94 57 81 e8 b3 19 02 00 c9 c3 90 55 89 d1 48 89 e5 48 89
&lt;br&gt;&amp;gt; f2 31 c0 48 89 fe 48 c7 c7 f0 d0 59 81 e8 15 6a 25 00 &amp;lt;0f&amp;gt; 0b eb fe 66 90 55 48 89 e5 41 57 41
&lt;br&gt;&amp;gt; 56 49 89 ce 41 55 49 89 [ 1578.773074] RIP &amp;nbsp;[&amp;lt;ffffffff81243ada&amp;gt;] assfail+0x1a/0x20 [
&lt;br&gt;&amp;gt; 1578.773074] &amp;nbsp;RSP &amp;lt;ffff880121d4bc08&amp;gt; [ 1578.773343] ---[ end trace 00b4a182e72dfb60 ]---
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Will recompile without XFS DEBUG but FYI.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Justin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; xfs mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575602&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575602&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/2.6.31.6%3A-XFS-DEBUG%3A-Assertions-cause-kernel-OOPS.-tp26574716p26575602.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575185</id>
	<title>Re: XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-30T05:42:20Z</published>
	<updated>2009-11-30T05:42:20Z</updated>
	<author>
		<name>Michael Monnerie-5</name>
	</author>
	<content type="html">On Montag, 30. November 2009 Dave Chinner wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; 1) why this happens
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It happens if you move from one project directory heirarchy to
&lt;br&gt;&amp;gt; another - rename is not allowed across project quota boundaries as
&lt;br&gt;&amp;gt; the moved data has to be correctly attributed to the new project.
&lt;br&gt;&amp;gt; Hence it causes a mv to do a copy/unlink by returning a EXDEV error
&lt;br&gt;&amp;gt; to the rename.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 2) how I can prevent this?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You can't if you are moving from one project to another. If you
&lt;br&gt;&amp;gt; move within the project heirarchy, then it will be a rename as per
&lt;br&gt;&amp;gt; normal.
&lt;/div&gt;&amp;nbsp;
&lt;/div&gt;Shit. So I have to turn project quotas off. I can't accept the extra 
&lt;br&gt;load for a simple move, as there are tons of data. Maybe the projet code 
&lt;br&gt;could be redesigned to allow a simple move? Is it that complicated?
&lt;br&gt;&lt;br&gt;If I change from project to user quota - I guess the same would still 
&lt;br&gt;happen? If so, I have to drop quota support, and build a script to check 
&lt;br&gt;quotas manually. It's a pity. :-(
&lt;br&gt;&lt;br&gt;mfg zmi
&lt;br&gt;-- 
&lt;br&gt;// Michael Monnerie, Ing.BSc &amp;nbsp; &amp;nbsp;----- &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://it-management.at&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it-management.at&lt;/a&gt;&lt;br&gt;// Tel: 0660 / 415 65 31 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.network.your.ideas.
&lt;br&gt;// PGP Key: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;curl -s &lt;a href=&quot;http://zmi.at/zmi.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zmi.at/zmi.asc&lt;/a&gt;&amp;nbsp;| gpg --import&amp;quot;
&lt;br&gt;// Fingerprint: AC19 F9D5 36ED CD8A EF38 &amp;nbsp;500E CE14 91F7 1C12 09B4
&lt;br&gt;// Keyserver: wwwkeys.eu.pgp.net &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key-ID: 1C1209B4
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575185&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26575185/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26575185.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26575188</id>
	<title>Re: XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-30T05:32:53Z</published>
	<updated>2009-11-30T05:32:53Z</updated>
	<author>
		<name>Michael Monnerie-5</name>
	</author>
	<content type="html">On Sonntag, 29. November 2009 Asdo wrote:
&lt;br&gt;&amp;gt; Please paste the output of the following 2 commands:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;# df &amp;nbsp;/disks/sharestore/upload/
&lt;br&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1K-blocks &amp;nbsp; &amp;nbsp; &amp;nbsp;Used Available Use% Mounted on
&lt;br&gt;/dev/mapper/sharestore-public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4192254976 1956672968 2235582008 &amp;nbsp;47% 
&lt;br&gt;/disks/sharestore
&lt;br&gt;&lt;br&gt;# df &amp;nbsp;/disks/sharestore/download/
&lt;br&gt;Filesystem &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1K-blocks &amp;nbsp; &amp;nbsp; &amp;nbsp;Used Available Use% Mounted on
&lt;br&gt;/dev/mapper/sharestore-public
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4192254976 1956675156 2235579820 &amp;nbsp;47% 
&lt;br&gt;/disks/sharestore
&lt;br&gt;&lt;br&gt;Yes, it really *is* the same filesystem.
&lt;br&gt;&lt;br&gt;mfg zmi
&lt;br&gt;-- 
&lt;br&gt;// Michael Monnerie, Ing.BSc &amp;nbsp; &amp;nbsp;----- &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://it-management.at&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it-management.at&lt;/a&gt;&lt;br&gt;// Tel: 0660 / 415 65 31 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.network.your.ideas.
&lt;br&gt;// PGP Key: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;curl -s &lt;a href=&quot;http://zmi.at/zmi.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zmi.at/zmi.asc&lt;/a&gt;&amp;nbsp;| gpg --import&amp;quot;
&lt;br&gt;// Fingerprint: AC19 F9D5 36ED CD8A EF38 &amp;nbsp;500E CE14 91F7 1C12 09B4
&lt;br&gt;// Keyserver: wwwkeys.eu.pgp.net &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key-ID: 1C1209B4
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26575188&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26575188/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26575188.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26574716</id>
	<title>2.6.31.6: XFS DEBUG: Assertions cause kernel OOPS.</title>
	<published>2009-11-30T05:22:03Z</published>
	<updated>2009-11-30T05:22:03Z</updated>
	<author>
		<name>Justin Piszcz</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I wanted to compile my kernel with DEBUG for XFS and also kernel frame pointers
&lt;br&gt;to catch any issues.
&lt;br&gt;&lt;br&gt;However, DEBUG for XFS does more harm than good?
&lt;br&gt;&lt;br&gt;I tried to install bonnie++:
&lt;br&gt;# apt-get install -y bonnie++
&lt;br&gt;&lt;br&gt;And then this happened:
&lt;br&gt;&lt;br&gt;[ 1578.768558] Assertion failed: *nmap &amp;gt;= 1, file: fs/xfs/xfs_bmap.c, line: 4846
&lt;br&gt;[ 1578.768633] ------------[ cut here ]------------
&lt;br&gt;[ 1578.768690] kernel BUG at fs/xfs/support/debug.c:109!
&lt;br&gt;[ 1578.768742] invalid opcode: 0000 [#1] SMP 
&lt;br&gt;[ 1578.768839] last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host15/target15:0:0/15:0:0:0/queue_depth
&lt;br&gt;[ 1578.768939] CPU 1 
&lt;br&gt;[ 1578.769016] Pid: 3273, comm: dpkg Not tainted 2.6.31.6 #6 
&lt;br&gt;[ 1578.769083] RIP: 0010:[&amp;lt;ffffffff81243ada&amp;gt;] &amp;nbsp;[&amp;lt;ffffffff81243ada&amp;gt;] assfail+0x1a/0x20
&lt;br&gt;[ 1578.769203] RSP: 0018:ffff880121d4bc08 &amp;nbsp;EFLAGS: 00010296
&lt;br&gt;[ 1578.769252] RAX: 0000000000000054 RBX: 0000000000000000 RCX: ffffffff81364fb0
&lt;br&gt;[ 1578.769252] RDX: ffff880028038000 RSI: 0000000000000046 RDI: ffffffff816b4730
&lt;br&gt;[ 1578.769252] RBP: ffff880121d4bc08 R08: 0000000000000000 R09: 0000000000000006
&lt;br&gt;[ 1578.769252] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000800000000
&lt;br&gt;[ 1578.769252] R13: ffff88012a295580 R14: 0000000000000002 R15: ffff88012a522000
&lt;br&gt;[ 1578.769252] FS: &amp;nbsp;00007f2a7367d790(0000) GS:ffff880028038000(0000) knlGS:0000000000000000
&lt;br&gt;[ 1578.769252] CS: &amp;nbsp;0010 DS: 0000 ES: 0000 CR0: 0000000080050033
&lt;br&gt;[ 1578.769252] CR2: 000000000204e000 CR3: 0000000121d53000 CR4: 00000000000026e0
&lt;br&gt;[ 1578.769252] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&lt;br&gt;[ 1578.769252] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&lt;br&gt;[ 1578.769252] Process dpkg (pid: 3273, threadinfo ffff880121d4a000, task ffff88012b98b990)
&lt;br&gt;[ 1578.769252] Stack:
&lt;br&gt;[ 1578.769252] &amp;nbsp;ffff880121d4bdb8 ffffffff811eb916 0000000121d4bc38 000000000204e000
&lt;br&gt;[ 1578.769252] &amp;lt;0&amp;gt; ffff8801244a85d0 0000000000000286 ffff880121d4bc68 ffffffff81260c51
&lt;br&gt;[ 1578.769252] &amp;lt;0&amp;gt; ffff880121d4bc68 0000000000000000 000000080204e000 00000000007ffff8
&lt;br&gt;[ 1578.769252] Call Trace:
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff811eb916&amp;gt;] xfs_bmapi+0x66/0x1940
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff81260c51&amp;gt;] ? __up_read+0x91/0xb0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8123a0a7&amp;gt;] ? xfs_buf_free+0xc7/0x110
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8123a1e6&amp;gt;] ? xfs_buf_rele+0xf6/0x130
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8122e70a&amp;gt;] ? xfs_trans_brelse+0x19a/0x2a0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff811f7ac7&amp;gt;] ? xfs_da_brelse+0x77/0x120
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf63d&amp;gt;] ? filldir+0x9d/0xe0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8120225a&amp;gt;] xfs_dir2_leaf_getdents+0x61a/0x780
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf5a0&amp;gt;] ? filldir+0x0/0xe0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf5a0&amp;gt;] ? filldir+0x0/0xe0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff811fc6ec&amp;gt;] xfs_readdir+0x10c/0x110
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf5a0&amp;gt;] ? filldir+0x0/0xe0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8123b4f4&amp;gt;] xfs_file_readdir+0x34/0x50
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf7f8&amp;gt;] vfs_readdir+0xa8/0xc0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff810bf963&amp;gt;] sys_getdents+0x83/0xe0
&lt;br&gt;[ 1578.769252] &amp;nbsp;[&amp;lt;ffffffff8102d1ab&amp;gt;] system_call_fastpath+0x16/0x1b
&lt;br&gt;[ 1578.769252] Code: 57 81 48 c7 c7 8e 94 57 81 e8 b3 19 02 00 c9 c3 90 55 89 d1 48 89 e5 48 89 f2 31 c0 48 89 fe 48 c7 c7 f0 d0 59 81 e8 15 6a 25 00 &amp;lt;0f&amp;gt; 0b eb fe 66 90 55 48 89 e5 41 57 41 56 49 89 ce 41 55 49 89 
&lt;br&gt;[ 1578.773074] RIP &amp;nbsp;[&amp;lt;ffffffff81243ada&amp;gt;] assfail+0x1a/0x20
&lt;br&gt;[ 1578.773074] &amp;nbsp;RSP &amp;lt;ffff880121d4bc08&amp;gt;
&lt;br&gt;[ 1578.773343] ---[ end trace 00b4a182e72dfb60 ]---
&lt;br&gt;&lt;br&gt;Will recompile without XFS DEBUG but FYI.
&lt;br&gt;&lt;br&gt;Justin.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26574716&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/2.6.31.6%3A-XFS-DEBUG%3A-Assertions-cause-kernel-OOPS.-tp26574716p26574716.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26570295</id>
	<title>Re: Writing journal only in Big Endian format</title>
	<published>2009-11-29T22:43:56Z</published>
	<updated>2009-11-29T22:43:56Z</updated>
	<author>
		<name>Dave Chinner</name>
	</author>
	<content type="html">On Mon, Nov 30, 2009 at 10:47:41AM +0530, Nitin Arora wrote:
&lt;br&gt;&amp;gt; The problem is that big endian machine cannot recognize the
&lt;br&gt;&amp;gt; journal which was written in little endian format by the little
&lt;br&gt;&amp;gt; endian machine and once the journal is zerod out it can be
&lt;br&gt;&amp;gt; mouted.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now the solution to above problem seems writing journal always in
&lt;br&gt;&amp;gt; big endian format.
&lt;br&gt;&lt;br&gt;Or you could just replay the log on the little endian machine and do
&lt;br&gt;a clean unmount, then you should be able to move it to the big
&lt;br&gt;endian machine without losing anything.
&lt;br&gt;&lt;br&gt;&amp;gt; Please suggest me, Is there any design limitation in XFS for this.
&lt;br&gt;&lt;br&gt;No design limitation, just a *lot* of work to change. If you don't
&lt;br&gt;have a few months handy to work on this, I'd just use the above
&lt;br&gt;method....
&lt;br&gt;&lt;br&gt;&amp;gt; Is it okay and feasible to implement it if yes then please give
&lt;br&gt;&amp;gt; some pointers so that it can be implemented,
&lt;br&gt;&lt;br&gt;All log headers, tails and sector fills need to be converted, every log
&lt;br&gt;item format routine needs a big-endian version, log recovery needs
&lt;br&gt;to be able to read both host-format and big-endian logs, all the
&lt;br&gt;userspace tools need to learn about different log formats, QA tests
&lt;br&gt;need to be written, etc.
&lt;br&gt;&lt;br&gt;&amp;gt; under some suitable
&lt;br&gt;&amp;gt; compile time switch.
&lt;br&gt;&lt;br&gt;It could be done with a superblock feature bit, so the same kernel
&lt;br&gt;could support both big-endian logs and host format.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Dave.
&lt;br&gt;-- 
&lt;br&gt;Dave Chinner
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570295&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570295&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Writing-journal-only-in-Big-Endian-format-tp26569802p26570295.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26570123</id>
	<title>Re: Writing journal only in Big Endian format</title>
	<published>2009-11-29T21:58:54Z</published>
	<updated>2009-11-29T21:58:54Z</updated>
	<author>
		<name>Eric Sandeen-3</name>
	</author>
	<content type="html">&lt;html&gt;&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;&lt;div&gt;On Nov 29, 2009, at 11:17 PM, Nitin Arora &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570123&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nitin.arora.del@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;Hello,&lt;br&gt;&lt;br&gt;We are using XFS (Kernel 2.6.18) and facing a problem.&lt;br&gt;When any XFS partition is plugged out from a little endian machine and plugged in to a big endian machine,&lt;br&gt;it cannot be mounted and gives the following error.&lt;br&gt;
&lt;br&gt;&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;FAT: utf8 is not a recommended IO charset for FAT 
filesystems, filesystem will be case sensitive!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;FAT: bogus number of FAT structure&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;VFS: Can't find a valid FAT filesystem on dev 
sda1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;VFS: Can't find ext3 filesystem on dev 
sda1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;XFS mounting filesystem sda1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;Starting XFS recovery on filesystem: sda1 (logdev: 
internal)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: red;&quot; lang=&quot;EN-US&quot;&gt;XFS: dirty log written in incompatible 
format - can't recover&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;XFS: log mount/recovery failed: error 
5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;XFS: log mount failed&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;Yep this Is expected for a dirty log, but I think a cleanly unmounted filesystem should migrate without problems; is this not the case?&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So really the problem should be limited to migrating -dirty- filesystems, and the complexity of endian-swapping the journal at runtime seems overly expensive for this odd case.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Just unmount before migration....&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;-Eric&lt;br&gt;&lt;blockquote type=&quot;cite&quot;&gt;&lt;div&gt;&lt;br&gt;Mounting problem goes away after doing &lt;i&gt;&quot;xfs_repair -L /dev/sdb2&quot;&lt;br&gt;&lt;br&gt;&lt;/i&gt;The problem is that big endian machine cannot recognize the journal which was written in &lt;br&gt;
little endian format by the little endian machine and once the journal is zerod out it can be mouted.&lt;br&gt;&lt;br&gt;Now the solution to above problem seems writing journal always in big endian format.&lt;br&gt;&lt;br&gt;Please suggest me, Is there any design limitation in XFS for this.&lt;br&gt;
Is it okay and feasible to implement it if yes then please give some pointers so that it can be implemented, under some &lt;br&gt;suitable compile time switch.&lt;br&gt;&lt;br&gt;Thanks in advance...&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Nitin Arora&lt;br&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26570123&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Writing-journal-only-in-Big-Endian-format-tp26569802p26570123.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26569802</id>
	<title>Writing journal only in Big Endian format</title>
	<published>2009-11-29T21:17:41Z</published>
	<updated>2009-11-29T21:17:41Z</updated>
	<author>
		<name>Nitin Arora-2</name>
	</author>
	<content type="html">Hello,&lt;br&gt;&lt;br&gt;We are using XFS (Kernel 2.6.18) and facing a problem.&lt;br&gt;When any XFS partition is plugged out from a little endian machine and plugged in to a big endian machine,&lt;br&gt;it cannot be mounted and gives the following error.&lt;br&gt;
&lt;br&gt;&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;FAT: utf8 is not a recommended IO charset for FAT 
filesystems, filesystem will be case sensitive!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;FAT: bogus number of FAT structure&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;VFS: Can&amp;#39;t find a valid FAT filesystem on dev 
sda1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;VFS: Can&amp;#39;t find ext3 filesystem on dev 
sda1.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;XFS mounting filesystem sda1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;Starting XFS recovery on filesystem: sda1 (logdev: 
internal)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style=&quot;color: red;&quot; lang=&quot;EN-US&quot;&gt;XFS: dirty log written in incompatible 
format - can&amp;#39;t recover&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;XFS: log mount/recovery failed: error 
5&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span lang=&quot;EN-US&quot;&gt;XFS: log mount failed&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Mounting problem goes away after doing &lt;i&gt;&amp;quot;xfs_repair -L /dev/sdb2&amp;quot;&lt;br&gt;&lt;br&gt;&lt;/i&gt;The problem is that big endian machine cannot recognize the journal which was written in &lt;br&gt;
little endian format by the little endian machine and once the journal is zerod out it can be mouted.&lt;br&gt;&lt;br&gt;Now the solution to above problem seems writing journal always in big endian format.&lt;br&gt;&lt;br&gt;Please suggest me, Is there any design limitation in XFS for this.&lt;br&gt;
Is it okay and feasible to implement it if yes then please give some pointers so that it can be implemented, under some &lt;br&gt;suitable compile time switch.&lt;br&gt;&lt;br&gt;Thanks in advance...&lt;br&gt;&lt;br&gt;Regards&lt;br&gt;Nitin Arora&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26569802&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Writing-journal-only-in-Big-Endian-format-tp26569802p26569802.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26567559</id>
	<title>Re: XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-29T15:27:16Z</published>
	<updated>2009-11-29T15:27:16Z</updated>
	<author>
		<name>Dave Chinner</name>
	</author>
	<content type="html">On Sun, Nov 29, 2009 at 02:52:16PM +0100, Michael Monnerie wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I have an unexpected behaviour and I hope someone can explain me the 
&lt;br&gt;&amp;gt; reasons:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This is an openSUSE 11.2 virtual machine within XENserver. XENserver can 
&lt;br&gt;&amp;gt; only create 2TB disks, but I needed more. So I create 2x 2TB disks for 
&lt;br&gt;&amp;gt; that VM. These disks have no partitions, but are straight LVM:
&lt;br&gt;&amp;gt; # pvscan
&lt;br&gt;&amp;gt; &amp;nbsp; PV /dev/xvdb &amp;nbsp; VG sharestore &amp;nbsp; lvm2 [1,95 TB / 0 &amp;nbsp; &amp;nbsp;free]
&lt;br&gt;&amp;gt; &amp;nbsp; PV /dev/xvdc &amp;nbsp; VG sharestore &amp;nbsp; lvm2 [1,95 TB / 0 &amp;nbsp; &amp;nbsp;free]
&lt;br&gt;&amp;gt; &amp;nbsp; Total: 2 [3,91 TB] / in use: 2 [3,91 TB] / in no VG: 0 [0 &amp;nbsp; ]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I created one VG, and then one LV:
&lt;br&gt;&amp;gt; # vgscan
&lt;br&gt;&amp;gt; &amp;nbsp; Reading all physical volumes. &amp;nbsp;This may take a while...
&lt;br&gt;&amp;gt; &amp;nbsp; Found volume group &amp;quot;sharestore&amp;quot; using metadata type lvm2
&lt;br&gt;&amp;gt; # lvscan
&lt;br&gt;&amp;gt; &amp;nbsp; ACTIVE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'/dev/sharestore/public' [3,91 TB] inherit
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On that LV, I created an XFS filesystem, mounted from /etc/fstab:
&lt;br&gt;&amp;gt; /dev/sharestore/public /disks/sharestore &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; noatime,nodiratime,logbufs=8,logbsize=256k,attr2,nobarrier,largeio,swalloc,inode64,prjquota
&lt;/div&gt;&lt;br&gt;You are using project quotas.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Now when I move from one dir to another, example
&lt;br&gt;&amp;gt; mv /disks/sharestore/upload/* /disks/sharestore/download/
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; within some dirs it's a simple mv where only metadata is moved, but with 
&lt;br&gt;&amp;gt; some dirs it's a physical cp+rm of the files. You can easily see that by 
&lt;br&gt;&amp;gt; the speed of the mv, plus with iostat:
&lt;br&gt;&amp;gt; Device: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rrqm/s &amp;nbsp; wrqm/s &amp;nbsp; &amp;nbsp; r/s &amp;nbsp; &amp;nbsp; w/s &amp;nbsp; &amp;nbsp;rkB/s &amp;nbsp; &amp;nbsp;wkB/s avgrq-
&lt;br&gt;&amp;gt; sz avgqu-sz &amp;nbsp; await &amp;nbsp;svctm &amp;nbsp;%util
&lt;br&gt;&amp;gt; xvdb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,00 &amp;nbsp; &amp;nbsp; 0,00 &amp;nbsp; &amp;nbsp;0,00 &amp;nbsp;647,31 &amp;nbsp; &amp;nbsp; 0,00 28424,75 &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 87,82 &amp;nbsp; &amp;nbsp;18,46 &amp;nbsp; 29,71 &amp;nbsp; 0,24 &amp;nbsp;15,65
&lt;br&gt;&amp;gt; xvdc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,00 &amp;nbsp; &amp;nbsp; 0,40 &amp;nbsp;631,14 &amp;nbsp; &amp;nbsp;2,40 26928,54 &amp;nbsp; &amp;nbsp;76,65 &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;gt; 85,25 &amp;nbsp; &amp;nbsp; 5,56 &amp;nbsp; &amp;nbsp;8,69 &amp;nbsp; 1,56 &amp;nbsp;98,84
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Until now I believed that a mv within one filesystem is always just a 
&lt;br&gt;&amp;gt; metadata mv. But it seems I found a case now where even within the same 
&lt;br&gt;&amp;gt; filesystem a physical cp+rm is done. Can someone explain me
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1) why this happens
&lt;/div&gt;&lt;br&gt;It happens if you move from one project directory heirarchy to
&lt;br&gt;another - rename is not allowed across project quota boundaries as
&lt;br&gt;the moved data has to be correctly attributed to the new project.
&lt;br&gt;Hence it causes a mv to do a copy/unlink by returning a EXDEV error
&lt;br&gt;to the rename.
&lt;br&gt;&lt;br&gt;&amp;gt; 2) how I can prevent this?
&lt;br&gt;&lt;br&gt;You can't if you are moving from one project to another. If you
&lt;br&gt;move within the project heirarchy, then it will be a rename as per
&lt;br&gt;normal.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Dave.
&lt;br&gt;-- 
&lt;br&gt;Dave Chinner
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567559&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26567559&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26567559.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26566993</id>
	<title>Re: xfsdump debian package generation</title>
	<published>2009-11-29T14:07:42Z</published>
	<updated>2009-11-29T14:07:42Z</updated>
	<author>
		<name>Nathan Scott-5</name>
	</author>
	<content type="html">&lt;br&gt;----- &amp;quot;Christoph Hellwig&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26566993&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Hi Nathan,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it seems like xfsdump doesn't have the hardlink based debian package
&lt;br&gt;&amp;gt; generation yet. &amp;nbsp;I was just looking at porting over all recent build
&lt;br&gt;&amp;gt; system improvement in xfsprogs and wondered if that was intentional.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If possible I'd like to keep the two build systems as close as
&lt;br&gt;&amp;gt; possible.
&lt;br&gt;&lt;br&gt;Not intentionally different, I just didn't get to it yet.
&lt;br&gt;&lt;br&gt;cheers.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Nathan
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26566993&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/xfsdump-debian-package-generation-tp26543931p26566993.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562736</id>
	<title>Re: XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-29T06:41:31Z</published>
	<updated>2009-11-29T06:41:31Z</updated>
	<author>
		<name>Asdo</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Please paste the output of the following 2 commands:&lt;br&gt;
&lt;br&gt;
df  /disks/sharestore/upload/
&lt;br&gt;
&lt;br&gt;
df  /disks/sharestore/download/
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Michael Monnerie wrote:
&lt;blockquote cite=&quot;mid:200911291452.20646@zmi.at&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;I have an unexpected behaviour and I hope someone can explain me the 
reasons:

This is an openSUSE 11.2 virtual machine within XENserver. XENserver can 
only create 2TB disks, but I needed more. So I create 2x 2TB disks for 
that VM. These disks have no partitions, but are straight LVM:
# pvscan
  PV /dev/xvdb   VG sharestore   lvm2 [1,95 TB / 0    free]
  PV /dev/xvdc   VG sharestore   lvm2 [1,95 TB / 0    free]
  Total: 2 [3,91 TB] / in use: 2 [3,91 TB] / in no VG: 0 [0   ]

I created one VG, and then one LV:
# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group &quot;sharestore&quot; using metadata type lvm2
# lvscan
  ACTIVE            '/dev/sharestore/public' [3,91 TB] inherit

On that LV, I created an XFS filesystem, mounted from /etc/fstab:
/dev/sharestore/public /disks/sharestore  xfs        
noatime,nodiratime,logbufs=8,logbsize=256k,attr2,nobarrier,largeio,swalloc,inode64,prjquota

Now when I move from one dir to another, example
mv /disks/sharestore/upload/* /disks/sharestore/download/

within some dirs it's a simple mv where only metadata is moved, but with 
some dirs it's a physical cp+rm of the files. You can easily see that by 
the speed of the mv, plus with iostat:
Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-
sz avgqu-sz   await  svctm  %util
xvdb              0,00     0,00    0,00  647,31     0,00 28424,75    
87,82    18,46   29,71   0,24  15,65
xvdc              0,00     0,40  631,14    2,40 26928,54    76,65    
85,25     5,56    8,69   1,56  98,84

Until now I believed that a mv within one filesystem is always just a 
metadata mv. But it seems I found a case now where even within the same 
filesystem a physical cp+rm is done. Can someone explain me

1) why this happens
2) how I can prevent this?

We have files &amp;gt;5G there, often 20G or more, so a mv should just be a 
metadata mv, everything else is inacceptable.
Could it be the way I created the VG + LV, that there's a cp instead mv?
How could I create all that to get a normal behaviour?

Maybe like this?:
1) create VG only on one disk
2) create LV on that disk
3) create XFS
4) extend VG to 2nd disk
5) extend LV to 2nd disk
6) xfs_growfs to 2nd disk

mfg zmi
  &lt;/pre&gt;
  &lt;pre wrap=&quot;&quot;&gt;
&lt;hr size=&quot;4&quot; width=&quot;90%&quot;&gt;
_______________________________________________
xfs mailing list
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562736&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;
  &lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562736&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26562736.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562285</id>
	<title>XFS &amp; LVM: unexpected cp when issuing mv</title>
	<published>2009-11-29T05:52:16Z</published>
	<updated>2009-11-29T05:52:16Z</updated>
	<author>
		<name>Michael Monnerie-5</name>
	</author>
	<content type="html">I have an unexpected behaviour and I hope someone can explain me the 
&lt;br&gt;reasons:
&lt;br&gt;&lt;br&gt;This is an openSUSE 11.2 virtual machine within XENserver. XENserver can 
&lt;br&gt;only create 2TB disks, but I needed more. So I create 2x 2TB disks for 
&lt;br&gt;that VM. These disks have no partitions, but are straight LVM:
&lt;br&gt;# pvscan
&lt;br&gt;&amp;nbsp; PV /dev/xvdb &amp;nbsp; VG sharestore &amp;nbsp; lvm2 [1,95 TB / 0 &amp;nbsp; &amp;nbsp;free]
&lt;br&gt;&amp;nbsp; PV /dev/xvdc &amp;nbsp; VG sharestore &amp;nbsp; lvm2 [1,95 TB / 0 &amp;nbsp; &amp;nbsp;free]
&lt;br&gt;&amp;nbsp; Total: 2 [3,91 TB] / in use: 2 [3,91 TB] / in no VG: 0 [0 &amp;nbsp; ]
&lt;br&gt;&lt;br&gt;I created one VG, and then one LV:
&lt;br&gt;# vgscan
&lt;br&gt;&amp;nbsp; Reading all physical volumes. &amp;nbsp;This may take a while...
&lt;br&gt;&amp;nbsp; Found volume group &amp;quot;sharestore&amp;quot; using metadata type lvm2
&lt;br&gt;# lvscan
&lt;br&gt;&amp;nbsp; ACTIVE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'/dev/sharestore/public' [3,91 TB] inherit
&lt;br&gt;&lt;br&gt;On that LV, I created an XFS filesystem, mounted from /etc/fstab:
&lt;br&gt;/dev/sharestore/public /disks/sharestore &amp;nbsp;xfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;noatime,nodiratime,logbufs=8,logbsize=256k,attr2,nobarrier,largeio,swalloc,inode64,prjquota
&lt;br&gt;&lt;br&gt;Now when I move from one dir to another, example
&lt;br&gt;mv /disks/sharestore/upload/* /disks/sharestore/download/
&lt;br&gt;&lt;br&gt;within some dirs it's a simple mv where only metadata is moved, but with 
&lt;br&gt;some dirs it's a physical cp+rm of the files. You can easily see that by 
&lt;br&gt;the speed of the mv, plus with iostat:
&lt;br&gt;Device: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rrqm/s &amp;nbsp; wrqm/s &amp;nbsp; &amp;nbsp; r/s &amp;nbsp; &amp;nbsp; w/s &amp;nbsp; &amp;nbsp;rkB/s &amp;nbsp; &amp;nbsp;wkB/s avgrq-
&lt;br&gt;sz avgqu-sz &amp;nbsp; await &amp;nbsp;svctm &amp;nbsp;%util
&lt;br&gt;xvdb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,00 &amp;nbsp; &amp;nbsp; 0,00 &amp;nbsp; &amp;nbsp;0,00 &amp;nbsp;647,31 &amp;nbsp; &amp;nbsp; 0,00 28424,75 &amp;nbsp; &amp;nbsp;
&lt;br&gt;87,82 &amp;nbsp; &amp;nbsp;18,46 &amp;nbsp; 29,71 &amp;nbsp; 0,24 &amp;nbsp;15,65
&lt;br&gt;xvdc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0,00 &amp;nbsp; &amp;nbsp; 0,40 &amp;nbsp;631,14 &amp;nbsp; &amp;nbsp;2,40 26928,54 &amp;nbsp; &amp;nbsp;76,65 &amp;nbsp; &amp;nbsp;
&lt;br&gt;85,25 &amp;nbsp; &amp;nbsp; 5,56 &amp;nbsp; &amp;nbsp;8,69 &amp;nbsp; 1,56 &amp;nbsp;98,84
&lt;br&gt;&lt;br&gt;Until now I believed that a mv within one filesystem is always just a 
&lt;br&gt;metadata mv. But it seems I found a case now where even within the same 
&lt;br&gt;filesystem a physical cp+rm is done. Can someone explain me
&lt;br&gt;&lt;br&gt;1) why this happens
&lt;br&gt;2) how I can prevent this?
&lt;br&gt;&lt;br&gt;We have files &amp;gt;5G there, often 20G or more, so a mv should just be a 
&lt;br&gt;metadata mv, everything else is inacceptable.
&lt;br&gt;Could it be the way I created the VG + LV, that there's a cp instead mv?
&lt;br&gt;How could I create all that to get a normal behaviour?
&lt;br&gt;&lt;br&gt;Maybe like this?:
&lt;br&gt;1) create VG only on one disk
&lt;br&gt;2) create LV on that disk
&lt;br&gt;3) create XFS
&lt;br&gt;4) extend VG to 2nd disk
&lt;br&gt;5) extend LV to 2nd disk
&lt;br&gt;6) xfs_growfs to 2nd disk
&lt;br&gt;&lt;br&gt;mfg zmi
&lt;br&gt;-- 
&lt;br&gt;// Michael Monnerie, Ing.BSc &amp;nbsp; &amp;nbsp;----- &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://it-management.at&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://it-management.at&lt;/a&gt;&lt;br&gt;// Tel: 0660 / 415 65 31 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.network.your.ideas.
&lt;br&gt;// PGP Key: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;curl -s &lt;a href=&quot;http://zmi.at/zmi.asc&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://zmi.at/zmi.asc&lt;/a&gt;&amp;nbsp;| gpg --import&amp;quot;
&lt;br&gt;// Fingerprint: AC19 F9D5 36ED CD8A EF38 &amp;nbsp;500E CE14 91F7 1C12 09B4
&lt;br&gt;// Keyserver: wwwkeys.eu.pgp.net &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Key-ID: 1C1209B4
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562285&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26562285/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS---LVM%3A-unexpected-cp-when-issuing-mv-tp26562285p26562285.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26561803</id>
	<title>Re: please help me! thanks</title>
	<published>2009-11-29T04:35:49Z</published>
	<updated>2009-11-29T04:35:49Z</updated>
	<author>
		<name>Peter Grandi-10</name>
	</author>
	<content type="html">[ ... ]
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; .el5 smells like Red Hat, Red Hat doesn't do XFS. At least in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; nothing that is currently released AFAIR.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 5.4 has XFS
&lt;br&gt;&lt;br&gt;&amp;gt; I googled 5.4 and found a CERT that mentions 2.6.18-164. So i
&lt;br&gt;&amp;gt; guess minimum kernel for 5.4 is way more recent than -128.
&lt;br&gt;&lt;br&gt;I think that while the 'xfs.ko' module is part of the base kernels
&lt;br&gt;available standard with EL 5.4, there is an XFS (including 'xfsprogs'
&lt;br&gt;and support) &amp;quot;layered product&amp;quot; from RedHat (that is an optional
&lt;br&gt;extra license) which has become available starting from EL 5.4.
&lt;br&gt;&lt;br&gt;Apparently RH have finally realized that many of their enterprise
&lt;br&gt;customers have large XFS based storage systems and these are not
&lt;br&gt;going to be moved to 'ext4' any time soon (also because EL6 is not
&lt;br&gt;going to appear for a while yet).
&lt;br&gt;&lt;br&gt;&amp;nbsp; That's I think way EricS replied to consult the distribution
&lt;br&gt;&amp;nbsp; vendor.
&lt;br&gt;&lt;br&gt;Alternatively there are the XFS RPMs from ElRepo or CentOSPlus or
&lt;br&gt;SL5; since EL releases are supposed (mostly indeed in my experience)
&lt;br&gt;to be binary-compatible within major releases, they work well across
&lt;br&gt;all EL5 clones.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26561803&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help-me%21-thanks-tp26550337p26561803.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26560579</id>
	<title>Re: please help me! thanks</title>
	<published>2009-11-29T01:39:03Z</published>
	<updated>2009-11-29T01:39:03Z</updated>
	<author>
		<name>Matthias Schniedermeyer</name>
	</author>
	<content type="html">On 28.11.2009 18:02, Chris Wedgwood wrote:
&lt;br&gt;&amp;gt; On Sat, Nov 28, 2009 at 07:42:50PM +0100, Matthias Schniedermeyer wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; .el5 smells like Red Hat, Red Hat doesn't do XFS.
&lt;br&gt;&amp;gt; &amp;gt; At least in nothing that is currently released AFAIR.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 5.4 has XFS
&lt;br&gt;&lt;br&gt;I googled 5.4 and found a CERT that mentions 2.6.18-164.
&lt;br&gt;So i guess minimum kernel for 5.4 is way more recent than -128.
&lt;br&gt;&lt;br&gt;So OP appears that have a pre 5.4 release running.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Bis denn
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Real Programmers consider &amp;quot;what you see is what you get&amp;quot; to be just as 
&lt;br&gt;bad a concept in Text Editors as it is in women. No, the Real Programmer
&lt;br&gt;wants a &amp;quot;you asked for it, you got it&amp;quot; text editor -- complicated, 
&lt;br&gt;cryptic, powerful, unforgiving, dangerous.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26560579&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help-me%21-thanks-tp26550337p26560579.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26555928</id>
	<title>Re: please help me! thanks</title>
	<published>2009-11-28T10:42:50Z</published>
	<updated>2009-11-28T10:42:50Z</updated>
	<author>
		<name>Matthias Schniedermeyer</name>
	</author>
	<content type="html">On 28.11.2009 11:33, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555928&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;givemefile@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp;my OS: 
&lt;br&gt;&amp;gt; [root@DDD-1 ~]# uname -a
&lt;br&gt;&amp;gt; Linux DDD-1 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 i686 i386 GNU/Linux
&lt;br&gt;&lt;br&gt;.el5 smells like Red Hat, Red Hat doesn't do XFS.
&lt;br&gt;At least in nothing that is currently released AFAIR.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Bis denn
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Real Programmers consider &amp;quot;what you see is what you get&amp;quot; to be just as 
&lt;br&gt;bad a concept in Text Editors as it is in women. No, the Real Programmer
&lt;br&gt;wants a &amp;quot;you asked for it, you got it&amp;quot; text editor -- complicated, 
&lt;br&gt;cryptic, powerful, unforgiving, dangerous.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26555928&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help-me%21-thanks-tp26550337p26555928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26554087</id>
	<title>Re: please help me! thanks</title>
	<published>2009-11-28T07:20:40Z</published>
	<updated>2009-11-28T07:20:40Z</updated>
	<author>
		<name>Eric Sandeen-3</name>
	</author>
	<content type="html">You need to talk to your Linux distributor....
&lt;br&gt;&lt;br&gt;-Eric
&lt;br&gt;&lt;br&gt;On Nov 27, 2009, at 9:33 PM, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554087&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;givemefile@...&lt;/a&gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;my OS:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [root@DDD-1 ~]# uname -a
&lt;br&gt;&amp;gt; Linux DDD-1 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 &amp;nbsp;
&lt;br&gt;&amp;gt; i686 i386 GNU/Linux
&lt;br&gt;&amp;gt; [root@DDD-1 ~]#
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [root@DDD-1 ~]# cat /proc/filesystems
&lt;br&gt;&amp;gt; nodev &amp;nbsp; sysfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; rootfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; bdev
&lt;br&gt;&amp;gt; nodev &amp;nbsp; proc
&lt;br&gt;&amp;gt; nodev &amp;nbsp; cpuset
&lt;br&gt;&amp;gt; nodev &amp;nbsp; binfmt_misc
&lt;br&gt;&amp;gt; nodev &amp;nbsp; debugfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; securityfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; sockfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; usbfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; pipefs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; anon_inodefs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; futexfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; tmpfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; inotifyfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; eventpollfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; devpts
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ext2
&lt;br&gt;&amp;gt; nodev &amp;nbsp; ramfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; hugetlbfs
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; iso9660
&lt;br&gt;&amp;gt; nodev &amp;nbsp; mqueue
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ext3
&lt;br&gt;&amp;gt; nodev &amp;nbsp; vmhgfs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; vmblock
&lt;br&gt;&amp;gt; nodev &amp;nbsp; rpc_pipefs
&lt;br&gt;&amp;gt; nodev &amp;nbsp; autofs
&lt;br&gt;&amp;gt; [root@DDD-1 ~]#
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; this OS don't xfs filesystem..
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please tell me How to do it ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; xfs mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554087&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26554087&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help-me%21-thanks-tp26550337p26554087.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26550337</id>
	<title>please help me! thanks</title>
	<published>2009-11-27T19:33:25Z</published>
	<updated>2009-11-27T19:33:25Z</updated>
	<author>
		<name>givemefile</name>
	</author>
	<content type="html">&lt;P&gt;&amp;nbsp;my OS: &lt;/P&gt;
&lt;P&gt;[root@DDD-1 ~]# uname -a&lt;BR&gt;Linux DDD-1 2.6.18-128.el5 #1 SMP Wed Dec 17 11:42:39 EST 2008 i686 i686 i386 GNU/Linux&lt;BR&gt;[root@DDD-1 ~]# &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[root@DDD-1 ~]# cat /proc/filesystems &lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; sysfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; rootfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; bdev&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; proc&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; cpuset&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; binfmt_misc&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; debugfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; securityfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; sockfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; usbfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; pipefs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; anon_inodefs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; futexfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; tmpfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; inotifyfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; eventpollfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; devpts&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext2&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; ramfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; hugetlbfs&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iso9660&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; mqueue&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext3&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; vmhgfs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; vmblock&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; rpc_pipefs&lt;BR&gt;nodev&amp;nbsp;&amp;nbsp; autofs&lt;BR&gt;[root@DDD-1 ~]# &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this OS don't xfs filesystem..&lt;/P&gt;
&lt;P&gt;Please tell me How to do it ?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26550337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help-me%21-thanks-tp26550337p26550337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543931</id>
	<title>xfsdump debian package generation</title>
	<published>2009-11-27T07:07:59Z</published>
	<updated>2009-11-27T07:07:59Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">Hi Nathan,
&lt;br&gt;&lt;br&gt;it seems like xfsdump doesn't have the hardlink based debian package
&lt;br&gt;generation yet. &amp;nbsp;I was just looking at porting over all recent build
&lt;br&gt;system improvement in xfsprogs and wondered if that was intentional.
&lt;br&gt;&lt;br&gt;If possible I'd like to keep the two build systems as close as possible.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26543931&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/xfsdump-debian-package-generation-tp26543931p26543931.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530223</id>
	<title>Re: XFS support for ARMv5</title>
	<published>2009-11-26T06:24:08Z</published>
	<updated>2009-11-26T06:24:08Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 04:19:39PM +0200, Ofer Heifetz wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Christoph,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I applied the patches to 2.6.31.6 and the mount passes file. I copied some data to the XFS DOK and had no problem reading the content after several system reset.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Here is a dmesg snippet:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
&lt;br&gt;&amp;gt; XFS mounting filesystem sda3
&lt;br&gt;&amp;gt; Starting XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&amp;gt; Ending XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this patch confirmed to be mainlined in 2.6.33?
&lt;br&gt;&amp;gt; I need to know `cos I want to run some data integrity and performance tests on this patch before I merge it.
&lt;/div&gt;&lt;br&gt;There's no way to 100% confirm it until it's done, but it's firmly
&lt;br&gt;planned.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530223&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS-support-for-ARMv5-tp26406948p26530223.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530222</id>
	<title>RE: XFS support for ARMv5</title>
	<published>2009-11-26T06:19:39Z</published>
	<updated>2009-11-26T06:19:39Z</updated>
	<author>
		<name>Ofer Heifetz</name>
	</author>
	<content type="html">Hi Christoph,
&lt;br&gt;&lt;br&gt;I applied the patches to 2.6.31.6 and the mount passes file. I copied some data to the XFS DOK and had no problem reading the content after several system reset.
&lt;br&gt;&lt;br&gt;Here is a dmesg snippet:
&lt;br&gt;&lt;br&gt;SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
&lt;br&gt;XFS mounting filesystem sda3
&lt;br&gt;Starting XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;Ending XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&lt;br&gt;Is this patch confirmed to be mainlined in 2.6.33?
&lt;br&gt;I need to know `cos I want to run some data integrity and performance tests on this patch before I merge it.
&lt;br&gt;&lt;br&gt;-Ofer
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Christoph Hellwig [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530222&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, November 25, 2009 11:06 PM
&lt;br&gt;To: Andy Poling
&lt;br&gt;Cc: Ofer Heifetz; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530222&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;Subject: Re: XFS support for ARMv5
&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 10:30:09AM -0600, Andy Poling wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 23 Nov 2009, Ofer Heifetz wrote:
&lt;br&gt;&amp;gt;&amp;gt; Here is the dmesg I got for mount /dev/sda3 /mnt/usb:
&lt;br&gt;&amp;gt;&amp;gt; SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
&lt;br&gt;&amp;gt;&amp;gt; XFS mounting filesystem sda3
&lt;br&gt;&amp;gt;&amp;gt; Starting XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&amp;gt;&amp;gt; XFS: xlog_recover_process_data: bad clientid
&lt;br&gt;&amp;gt;&amp;gt; XFS: log mount/recovery failed: error 5
&lt;br&gt;&amp;gt;&amp;gt; XFS: log mount failed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See this thread in the archives for a patch that may fix this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&lt;/a&gt;&lt;/div&gt;&lt;br&gt;I don't think it's the case you found, although the symptoms are the
&lt;br&gt;same. &amp;nbsp;I'd rather guess this is a case of an architecture with virtually
&lt;br&gt;indexed caches (can anyone confirm the cache architecture?) which
&lt;br&gt;doesn't cope too well with the way we use vmap to write into a buffer
&lt;br&gt;through virtually mapped linear addresses, but then do block I/O using
&lt;br&gt;the physical addresses of the individual pages. &amp;nbsp;James Bottomley has a
&lt;br&gt;patchset to fix this issue by introducing APIs that allow the
&lt;br&gt;architecture specific memory management to cope with it. &amp;nbsp;He're a
&lt;br&gt;version I could quickly find, although newer ones have been posted
&lt;br&gt;since:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&lt;/a&gt;&lt;br&gt;&lt;br&gt;The patchset is planned to get merged into Linux 2.6.33.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530222&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS-support-for-ARMv5-tp26406948p26530222.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521782</id>
	<title>User Space Releases</title>
	<published>2009-11-25T14:56:10Z</published>
	<updated>2009-11-25T14:56:10Z</updated>
	<author>
		<name>Alex Elder</name>
	</author>
	<content type="html">On October 23, I published an updated set of some XFS user-space
&lt;br&gt;source code on oss.sgi.com.
&lt;br&gt;&lt;br&gt;One of the changes (in xfsprogs) affected the ABI presented by
&lt;br&gt;libhandle, but libhandle itself was not updated with a new
&lt;br&gt;version number to reflect the change. &amp;nbsp;This has the potential to
&lt;br&gt;cause problems in the future, and in order to avoid that I will
&lt;br&gt;be withdrawing the 3.0.5 release of xfsprogs (as well as the
&lt;br&gt;3.0.3 release of xfsdump that I published at the same time).
&lt;br&gt;&lt;br&gt;For most users, there is no harm in continuing to use the October
&lt;br&gt;code. &amp;nbsp;(If you are developing code that uses the interface added
&lt;br&gt;in that release, be advised it may not be present in future
&lt;br&gt;releases.)
&lt;br&gt;&lt;br&gt;A new release of xfsprogs and xfsdump will be published in early
&lt;br&gt;December, and everyone will be encouraged to upgrade when these
&lt;br&gt;are available.
&lt;br&gt;&lt;br&gt;I will be replacing the tar files on oss.sgi.com for xfsprogs and
&lt;br&gt;xfsdump with the versions that were there previously. &amp;nbsp;If you
&lt;br&gt;follow the git change history you will also see that some changes
&lt;br&gt;that were applied in October will be reverted.
&lt;br&gt;&lt;br&gt;I apologize for whatever confusion or concern have resulted due
&lt;br&gt;to the October release.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Alex
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521782&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/User-Space-Releases-tp26521782p26521782.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521779</id>
	<title>Re: [PATCH] Prevent lookup from finding bad buffers</title>
	<published>2009-11-25T14:29:09Z</published>
	<updated>2009-11-25T14:29:09Z</updated>
	<author>
		<name>Eric Sandeen-3</name>
	</author>
	<content type="html">Eric Sandeen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Lachlan McIlroy wrote:
&lt;br&gt;&amp;gt;&amp;gt; There's a bug in _xfs_buf_find() that will cause it to return buffers
&lt;br&gt;&amp;gt;&amp;gt; that failed to be initialised.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; If a thread has a buffer locked and is waiting for I/O to initialise
&lt;br&gt;&amp;gt;&amp;gt; it and another thread wants the same buffer the second thread will
&lt;br&gt;&amp;gt;&amp;gt; wait on the buffer lock in _xfs_buf_find(). &amp;nbsp;If the initial thread
&lt;br&gt;&amp;gt;&amp;gt; gets an I/O error it marks the buffer in error and releases the
&lt;br&gt;&amp;gt;&amp;gt; buffer lock. &amp;nbsp;The second thread gets the buffer lock, assumes the
&lt;br&gt;&amp;gt;&amp;gt; buffer has been successfully initialised, and then tries to use it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Some callers of xfs_buf_get_flags() will check for B_DONE, and if
&lt;br&gt;&amp;gt;&amp;gt; it's not set then re-issue the I/O, bust most callers assume the
&lt;br&gt;&amp;gt;&amp;gt; buffer and it's contents are good and then use the uninitialised
&lt;br&gt;&amp;gt;&amp;gt; data.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The solution I've come up with is if we lookup a buffer and find
&lt;br&gt;&amp;gt;&amp;gt; it's got b_error set or has been marked stale then unhash it from
&lt;br&gt;&amp;gt;&amp;gt; the buffer hashtable and retry the lookup. &amp;nbsp;Also if we fail to setup
&lt;br&gt;&amp;gt;&amp;gt; the buffer correctly in xfs_buf_get_flags() then mark the buffer in
&lt;br&gt;&amp;gt;&amp;gt; error and unhash it. &amp;nbsp;If the buffer is marked stale then in
&lt;br&gt;&amp;gt;&amp;gt; xfs_buf_free() inform the page cache that the contents of the pages
&lt;br&gt;&amp;gt;&amp;gt; are no longer valid.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I managed to come up with a sorta-kinda testcase for this.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Fragmented freespace, many files in a dir, on raid5; simply doing
&lt;br&gt;&amp;gt; drop caches / ls in a loop triggered it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I guess raid5 is bad in this respect; in it's make_request() we have:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* cannot get stripe for read-ahead, just give-up */
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clear_bit(BIO_UPTODATE, &amp;bi-&amp;gt;bi_flags);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; finish_wait(&amp;conf-&amp;gt;wait_for_overlap, &amp;w);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and this happens fairly often. &amp;nbsp;This probably explains a large
&lt;br&gt;&amp;gt; percentage of our xfs_da_do_buf(2) errors we've seen on the list.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; From my testing, I think this suffices - and interestingly, Lachlan's
&lt;br&gt;&amp;gt; original patch doesn't seem to help...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Comments?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Maybe could clean up the logic a bit... should this only be
&lt;br&gt;&amp;gt; tested for XBF_READ buffers as well ... or maybe an assert that
&lt;br&gt;&amp;gt; if !uptodate, error should be set ...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
&lt;br&gt;&amp;gt; index 965df12..cbc0541 100644
&lt;br&gt;&amp;gt; --- a/fs/xfs/linux-2.6/xfs_buf.c
&lt;br&gt;&amp;gt; +++ b/fs/xfs/linux-2.6/xfs_buf.c
&lt;br&gt;&amp;gt; @@ -1142,6 +1165,8 @@ xfs_buf_bio_end_io(
&lt;br&gt;&amp;gt; &amp;nbsp;		if (unlikely(bp-&amp;gt;b_error)) {
&lt;br&gt;&amp;gt; &amp;nbsp;			if (bp-&amp;gt;b_flags &amp; XBF_READ)
&lt;br&gt;&amp;gt; &amp;nbsp;				ClearPageUptodate(page);
&lt;br&gt;&amp;gt; +		} else if (!test_bit(BIO_UPTODATE, &amp;bio-&amp;gt;bi_flags)) {
&lt;br&gt;&amp;gt; +			ClearPageUptodate(bp);
&lt;br&gt;&amp;gt; &amp;nbsp;		} else if (blocksize &amp;gt;= PAGE_CACHE_SIZE) {
&lt;br&gt;&amp;gt; &amp;nbsp;			SetPageUptodate(page);
&lt;br&gt;&amp;gt; &amp;nbsp;		} else if (!PagePrivate(page) &amp;&amp;
&lt;/div&gt;&lt;br&gt;Ok, so that was shoot-from-the-hip, and actually it was tested on an
&lt;br&gt;older kernel; upstream didn't demonstrate the problem, thanks to:
&lt;br&gt;&lt;br&gt;commit c2b00852fbae4f8c45c2651530ded3bd01bde814
&lt;br&gt;Author: NeilBrown &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521779&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;neilb@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: &amp;nbsp; Sun Dec 10 02:20:51 2006 -0800
&lt;br&gt;&lt;br&gt;[PATCH] md: return a non-zero error to bi_end_io as appropriate in raid5
&lt;br&gt;&lt;br&gt;Currently raid5 depends on clearing the BIO_UPTODATE flag to signal an
&lt;br&gt;error
&lt;br&gt;to higher levels. &amp;nbsp;While this should be sufficient, it is safer to
&lt;br&gt;explicitly
&lt;br&gt;set the error code as well - less room for confusion.
&lt;br&gt;&lt;br&gt;Signed-off-by: Neil Brown &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521779&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;neilb@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Andrew Morton &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521779&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akpm@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Signed-off-by: Linus Torvalds &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521779&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;torvalds@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;As Neil says, xfs should probably cope too by checking uptodate itself
&lt;br&gt;as well, though...
&lt;br&gt;&lt;br&gt;-Eric
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521779&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Prevent-lookup-from-finding-bad-buffers-tp21926704p26521779.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521784</id>
	<title>Re: XFS support for ARMv5</title>
	<published>2009-11-25T14:29:00Z</published>
	<updated>2009-11-25T14:29:00Z</updated>
	<author>
		<name>Richard Sharpe-2</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 1:06 PM, Christoph Hellwig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521784&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 10:30:09AM -0600, Andy Poling wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Mon, 23 Nov 2009, Ofer Heifetz wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Here is the dmesg I got for mount /dev/sda3 /mnt/usb:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS mounting filesystem sda3
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Starting XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS: xlog_recover_process_data: bad clientid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS: log mount/recovery failed: error 5
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS: log mount failed
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; See this thread in the archives for a patch that may fix this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;       &lt;a href=&quot;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't think it's the case you found, although the symptoms are the
&lt;br&gt;&amp;gt; same.  I'd rather guess this is a case of an architecture with virtually
&lt;br&gt;&amp;gt; indexed caches (can anyone confirm the cache architecture?) which
&lt;/div&gt;&lt;br&gt;The Marvell 78xx series uses a VIVT cache. I will have to consult the
&lt;br&gt;documentation about the 6281 (I think that was it).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; doesn't cope too well with the way we use vmap to write into a buffer
&lt;br&gt;&amp;gt; through virtually mapped linear addresses, but then do block I/O using
&lt;br&gt;&amp;gt; the physical addresses of the individual pages.  James Bottomley has a
&lt;br&gt;&amp;gt; patchset to fix this issue by introducing APIs that allow the
&lt;br&gt;&amp;gt; architecture specific memory management to cope with it.  He're a
&lt;br&gt;&amp;gt; version I could quickly find, although newer ones have been posted
&lt;br&gt;&amp;gt; since:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;        &lt;a href=&quot;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The patchset is planned to get merged into Linux 2.6.33.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; xfs mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521784&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Regards,
&lt;br&gt;Richard Sharpe
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521784&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS-support-for-ARMv5-tp26406948p26521784.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26521391</id>
	<title>Re: XFS support for ARMv5</title>
	<published>2009-11-25T14:10:36Z</published>
	<updated>2009-11-25T14:10:36Z</updated>
	<author>
		<name>Eric Sandeen-3</name>
	</author>
	<content type="html">Christoph Hellwig wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 10:30:09AM -0600, Andy Poling wrote:
&lt;br&gt;&amp;gt;&amp;gt; On Mon, 23 Nov 2009, Ofer Heifetz wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Here is the dmesg I got for mount /dev/sda3 /mnt/usb:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS mounting filesystem sda3
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Starting XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS: xlog_recover_process_data: bad clientid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS: log mount/recovery failed: error 5
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; XFS: log mount failed
&lt;br&gt;&amp;gt;&amp;gt; See this thread in the archives for a patch that may fix this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 	&lt;a href=&quot;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't think it's the case you found, although the symptoms are the
&lt;br&gt;&amp;gt; same. &amp;nbsp;I'd rather guess this is a case of an architecture with virtually
&lt;br&gt;&amp;gt; indexed caches (can anyone confirm the cache architecture?) which
&lt;br&gt;&amp;gt; doesn't cope too well with the way we use vmap to write into a buffer
&lt;br&gt;&amp;gt; through virtually mapped linear addresses, but then do block I/O using
&lt;br&gt;&amp;gt; the physical addresses of the individual pages. &amp;nbsp;James Bottomley has a
&lt;br&gt;&amp;gt; patchset to fix this issue by introducing APIs that allow the
&lt;br&gt;&amp;gt; architecture specific memory management to cope with it. &amp;nbsp;He're a
&lt;br&gt;&amp;gt; version I could quickly find, although newer ones have been posted
&lt;br&gt;&amp;gt; since:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The patchset is planned to get merged into Linux 2.6.33.
&lt;/div&gt;&lt;br&gt;I'll do some ARM testing w/ that stuff next week.
&lt;br&gt;&lt;br&gt;-Eric
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26521391&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS-support-for-ARMv5-tp26406948p26521391.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520997</id>
	<title>Re: [PATCH] xfstests 213: Add enospc case to fallocate test</title>
	<published>2009-11-25T13:36:10Z</published>
	<updated>2009-11-25T13:36:10Z</updated>
	<author>
		<name>Eric Sandeen-5</name>
	</author>
	<content type="html">Christoph Hellwig wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 11:18:47AM -0600, Eric Sandeen wrote:
&lt;br&gt;&amp;gt;&amp;gt; Add a test for ENOSPC when fallocating.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Also, add an expected output, not sure how that went missing!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Oops. &amp;nbsp;Easily to do because xfstests doesn't complain but rather just
&lt;br&gt;&amp;gt; skips tests without golden output..
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I guess the ENOSPC test is to catch the inverted error returns just
&lt;br&gt;&amp;gt; detected?
&lt;/div&gt;&lt;br&gt;yep
&lt;br&gt;&lt;br&gt;&amp;gt; Anyway, looks good,
&lt;br&gt;&lt;br&gt;thanks!
&lt;br&gt;&lt;br&gt;-eric
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Reviewed-by: Christoph Hellwig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520997&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520997&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--xfstests-213%3A-Add-enospc-case-to-fallocate-test-tp26516982p26520997.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520617</id>
	<title>Re: [PATCH] db: stop using xfs_bmbt_rec_32_t</title>
	<published>2009-11-25T13:10:38Z</published>
	<updated>2009-11-25T13:10:38Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">ping?
&lt;br&gt;&lt;br&gt;On Tue, Nov 03, 2009 at 10:50:19AM -0500, Christoph Hellwig wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; xfs_db uses the xfs_bmbt_rec_32_t type to pass around extent information in a
&lt;br&gt;&amp;gt; few places. &amp;nbsp;But everywhere where we actually use it we use the normal
&lt;br&gt;&amp;gt; xfs_bmbt_rec_t just casting from/to xfs_bmbt_rec_32_t to pass it around.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Just pass the xfs_bmbt_rec_t directly and thus get rid of the last use
&lt;br&gt;&amp;gt; of xfs_bmbt_rec_32_t in xfsprogs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Christoph Hellwig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520617&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Index: xfsprogs-dev/db/check.c
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; --- xfsprogs-dev.orig/db/check.c	2009-10-11 03:16:17.350004081 +0200
&lt;br&gt;&amp;gt; +++ xfsprogs-dev/db/check.c	2009-11-03 16:46:56.067277983 +0100
&lt;br&gt;&amp;gt; @@ -265,7 +265,7 @@ static int		ncheck_f(int argc, char **ar
&lt;br&gt;&amp;gt; &amp;nbsp;static char		*prepend_path(char *oldpath, char *parent);
&lt;br&gt;&amp;gt; &amp;nbsp;static xfs_ino_t	process_block_dir_v2(blkmap_t *blkmap, int *dot,
&lt;br&gt;&amp;gt; &amp;nbsp;					 &amp;nbsp; &amp;nbsp; int *dotdot, inodata_t *id);
&lt;br&gt;&amp;gt; -static void		process_bmbt_reclist(xfs_bmbt_rec_32_t *rp, int numrecs,
&lt;br&gt;&amp;gt; +static void		process_bmbt_reclist(xfs_bmbt_rec_t *rp, int numrecs,
&lt;br&gt;&amp;gt; &amp;nbsp;					 &amp;nbsp; &amp;nbsp; dbm_t type, inodata_t *id,
&lt;br&gt;&amp;gt; &amp;nbsp;					 &amp;nbsp; &amp;nbsp; xfs_drfsbno_t *tot,
&lt;br&gt;&amp;gt; &amp;nbsp;					 &amp;nbsp; &amp;nbsp; blkmap_t **blkmapp);
&lt;br&gt;&amp;gt; @@ -2012,7 +2012,7 @@ process_block_dir_v2(
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;static void
&lt;br&gt;&amp;gt; &amp;nbsp;process_bmbt_reclist(
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp,
&lt;br&gt;&amp;gt; +	xfs_bmbt_rec_t		*rp,
&lt;br&gt;&amp;gt; &amp;nbsp;	int			numrecs,
&lt;br&gt;&amp;gt; &amp;nbsp;	dbm_t			type,
&lt;br&gt;&amp;gt; &amp;nbsp;	inodata_t		*id,
&lt;br&gt;&amp;gt; @@ -2038,7 +2038,7 @@ process_bmbt_reclist(
&lt;br&gt;&amp;gt; &amp;nbsp;	iagno = XFS_INO_TO_AGNO(mp, id-&amp;gt;ino);
&lt;br&gt;&amp;gt; &amp;nbsp;	iagbno = XFS_INO_TO_AGBNO(mp, id-&amp;gt;ino);
&lt;br&gt;&amp;gt; &amp;nbsp;	for (i = 0; i &amp;lt; numrecs; i++, rp++) {
&lt;br&gt;&amp;gt; -		convert_extent((xfs_bmbt_rec_64_t *)rp, &amp;o, &amp;s, &amp;c, &amp;f);
&lt;br&gt;&amp;gt; +		convert_extent(rp, &amp;o, &amp;s, &amp;c, &amp;f);
&lt;br&gt;&amp;gt; &amp;nbsp;		if (v)
&lt;br&gt;&amp;gt; &amp;nbsp;			dbprintf(_(&amp;quot;inode %lld extent [%lld,%lld,%lld,%d]\n&amp;quot;),
&lt;br&gt;&amp;gt; &amp;nbsp;				id-&amp;gt;ino, o, s, c, f);
&lt;br&gt;&amp;gt; @@ -2120,7 +2120,6 @@ process_btinode(
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_bmdr_block_t	*dib;
&lt;br&gt;&amp;gt; &amp;nbsp;	int			i;
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_bmbt_ptr_t		*pp;
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	dib = (xfs_bmdr_block_t *)XFS_DFORK_PTR(dip, whichfork);
&lt;br&gt;&amp;gt; &amp;nbsp;	if (be16_to_cpu(dib-&amp;gt;bb_level) &amp;gt;= XFS_BM_MAXLEVELS(mp, whichfork)) {
&lt;br&gt;&amp;gt; @@ -2146,7 +2145,7 @@ process_btinode(
&lt;br&gt;&amp;gt; &amp;nbsp;		return;
&lt;br&gt;&amp;gt; &amp;nbsp;	}
&lt;br&gt;&amp;gt; &amp;nbsp;	if (be16_to_cpu(dib-&amp;gt;bb_level) == 0) {
&lt;br&gt;&amp;gt; -		rp = (xfs_bmbt_rec_32_t *)XFS_BMDR_REC_ADDR(dib, 1);
&lt;br&gt;&amp;gt; +		xfs_bmbt_rec_t	*rp = XFS_BMDR_REC_ADDR(dib, 1);
&lt;br&gt;&amp;gt; &amp;nbsp;		process_bmbt_reclist(rp, be16_to_cpu(dib-&amp;gt;bb_numrecs), type, 
&lt;br&gt;&amp;gt; &amp;nbsp;							id, totd, blkmapp);
&lt;br&gt;&amp;gt; &amp;nbsp;		*nex += be16_to_cpu(dib-&amp;gt;bb_numrecs);
&lt;br&gt;&amp;gt; @@ -2579,12 +2578,12 @@ process_exinode(
&lt;br&gt;&amp;gt; &amp;nbsp;	blkmap_t		**blkmapp,
&lt;br&gt;&amp;gt; &amp;nbsp;	int			whichfork)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp;
&lt;br&gt;&amp;gt; +	xfs_bmbt_rec_t		*rp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -	rp = (xfs_bmbt_rec_32_t *)XFS_DFORK_PTR(dip, whichfork);
&lt;br&gt;&amp;gt; +	rp = (xfs_bmbt_rec_t *)XFS_DFORK_PTR(dip, whichfork);
&lt;br&gt;&amp;gt; &amp;nbsp;	*nex = XFS_DFORK_NEXTENTS(dip, whichfork);
&lt;br&gt;&amp;gt; &amp;nbsp;	if (*nex &amp;lt; 0 || *nex &amp;gt; XFS_DFORK_SIZE(dip, mp, whichfork) / 
&lt;br&gt;&amp;gt; -						sizeof(xfs_bmbt_rec_32_t)) {
&lt;br&gt;&amp;gt; +						sizeof(xfs_bmbt_rec_t)) {
&lt;br&gt;&amp;gt; &amp;nbsp;		if (!sflag || id-&amp;gt;ilist)
&lt;br&gt;&amp;gt; &amp;nbsp;			dbprintf(_(&amp;quot;bad number of extents %d for inode %lld\n&amp;quot;),
&lt;br&gt;&amp;gt; &amp;nbsp;				*nex, id-&amp;gt;ino);
&lt;br&gt;&amp;gt; @@ -4207,7 +4206,7 @@ scanfunc_bmap(
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_agnumber_t		agno;
&lt;br&gt;&amp;gt; &amp;nbsp;	int			i;
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_bmbt_ptr_t		*pp;
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp;
&lt;br&gt;&amp;gt; +	xfs_bmbt_rec_t		*rp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	agno = XFS_FSB_TO_AGNO(mp, bno);
&lt;br&gt;&amp;gt; &amp;nbsp;	agbno = XFS_FSB_TO_AGBNO(mp, bno);
&lt;br&gt;&amp;gt; @@ -4240,7 +4239,7 @@ scanfunc_bmap(
&lt;br&gt;&amp;gt; &amp;nbsp;			error++;
&lt;br&gt;&amp;gt; &amp;nbsp;			return;
&lt;br&gt;&amp;gt; &amp;nbsp;		}
&lt;br&gt;&amp;gt; -		rp = (xfs_bmbt_rec_32_t *)XFS_BMBT_REC_ADDR(mp, block, 1);
&lt;br&gt;&amp;gt; +		rp = XFS_BMBT_REC_ADDR(mp, block, 1);
&lt;br&gt;&amp;gt; &amp;nbsp;		*nex += be16_to_cpu(block-&amp;gt;bb_numrecs);
&lt;br&gt;&amp;gt; &amp;nbsp;		process_bmbt_reclist(rp, be16_to_cpu(block-&amp;gt;bb_numrecs), type, id, totd,
&lt;br&gt;&amp;gt; &amp;nbsp;			blkmapp);
&lt;br&gt;&amp;gt; Index: xfsprogs-dev/db/frag.c
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; --- xfsprogs-dev.orig/db/frag.c	2009-10-11 03:16:17.364007469 +0200
&lt;br&gt;&amp;gt; +++ xfsprogs-dev/db/frag.c	2009-11-03 16:46:56.068277413 +0100
&lt;br&gt;&amp;gt; @@ -66,7 +66,7 @@ static void		extmap_set_ext(extmap_t **e
&lt;br&gt;&amp;gt; &amp;nbsp;				 &amp;nbsp; &amp;nbsp; &amp;nbsp; xfs_extlen_t c);
&lt;br&gt;&amp;gt; &amp;nbsp;static int		frag_f(int argc, char **argv);
&lt;br&gt;&amp;gt; &amp;nbsp;static int		init(int argc, char **argv);
&lt;br&gt;&amp;gt; -static void		process_bmbt_reclist(xfs_bmbt_rec_32_t *rp, int numrecs,
&lt;br&gt;&amp;gt; +static void		process_bmbt_reclist(xfs_bmbt_rec_t *rp, int numrecs,
&lt;br&gt;&amp;gt; &amp;nbsp;					 &amp;nbsp; &amp;nbsp; extmap_t **extmapp);
&lt;br&gt;&amp;gt; &amp;nbsp;static void		process_btinode(xfs_dinode_t *dip, extmap_t **extmapp,
&lt;br&gt;&amp;gt; &amp;nbsp;					int whichfork);
&lt;br&gt;&amp;gt; @@ -223,7 +223,7 @@ init(
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;static void
&lt;br&gt;&amp;gt; &amp;nbsp;process_bmbt_reclist(
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp,
&lt;br&gt;&amp;gt; +	xfs_bmbt_rec_t		*rp,
&lt;br&gt;&amp;gt; &amp;nbsp;	int			numrecs,
&lt;br&gt;&amp;gt; &amp;nbsp;	extmap_t		**extmapp)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; @@ -234,7 +234,7 @@ process_bmbt_reclist(
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_dfsbno_t		s;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	for (i = 0; i &amp;lt; numrecs; i++, rp++) {
&lt;br&gt;&amp;gt; -		convert_extent((xfs_bmbt_rec_64_t *)rp, &amp;o, &amp;s, &amp;c, &amp;f);
&lt;br&gt;&amp;gt; +		convert_extent(rp, &amp;o, &amp;s, &amp;c, &amp;f);
&lt;br&gt;&amp;gt; &amp;nbsp;		extmap_set_ext(extmapp, (xfs_fileoff_t)o, (xfs_extlen_t)c);
&lt;br&gt;&amp;gt; &amp;nbsp;	}
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; @@ -248,11 +248,10 @@ process_btinode(
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_bmdr_block_t	*dib;
&lt;br&gt;&amp;gt; &amp;nbsp;	int			i;
&lt;br&gt;&amp;gt; &amp;nbsp;	xfs_bmbt_ptr_t		*pp;
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;nbsp;	dib = (xfs_bmdr_block_t *)XFS_DFORK_PTR(dip, whichfork);
&lt;br&gt;&amp;gt; &amp;nbsp;	if (be16_to_cpu(dib-&amp;gt;bb_level) == 0) {
&lt;br&gt;&amp;gt; -		rp = (xfs_bmbt_rec_32_t *)XFS_BMDR_REC_ADDR(dib, 1);
&lt;br&gt;&amp;gt; +		xfs_bmbt_rec_t		*rp = XFS_BMDR_REC_ADDR(dib, 1);
&lt;br&gt;&amp;gt; &amp;nbsp;		process_bmbt_reclist(rp, be16_to_cpu(dib-&amp;gt;bb_numrecs), extmapp);
&lt;br&gt;&amp;gt; &amp;nbsp;		return;
&lt;br&gt;&amp;gt; &amp;nbsp;	}
&lt;br&gt;&amp;gt; @@ -270,9 +269,9 @@ process_exinode(
&lt;br&gt;&amp;gt; &amp;nbsp;	extmap_t		**extmapp,
&lt;br&gt;&amp;gt; &amp;nbsp;	int			whichfork)
&lt;br&gt;&amp;gt; &amp;nbsp;{
&lt;br&gt;&amp;gt; -	xfs_bmbt_rec_32_t	*rp;
&lt;br&gt;&amp;gt; +	xfs_bmbt_rec_t		*rp;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; -	rp = (xfs_bmbt_rec_32_t *)XFS_DFORK_PTR(dip, whichfork);
&lt;br&gt;&amp;gt; +	rp = (xfs_bmbt_rec_t *)XFS_DFORK_PTR(dip, whichfork);
&lt;br&gt;&amp;gt; &amp;nbsp;	process_bmbt_reclist(rp, XFS_DFORK_NEXTENTS(dip, whichfork), extmapp);
&lt;br&gt;&amp;gt; &amp;nbsp;}
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; @@ -448,8 +447,7 @@ scanfunc_bmap(
&lt;br&gt;&amp;gt; &amp;nbsp;			return;
&lt;br&gt;&amp;gt; &amp;nbsp;		}
&lt;br&gt;&amp;gt; &amp;nbsp;		rp = XFS_BMBT_REC_ADDR(mp, block, 1);
&lt;br&gt;&amp;gt; -		process_bmbt_reclist((xfs_bmbt_rec_32_t *)rp, 
&lt;br&gt;&amp;gt; -				nrecs, extmapp);
&lt;br&gt;&amp;gt; +		process_bmbt_reclist(rp, nrecs, extmapp);
&lt;br&gt;&amp;gt; &amp;nbsp;		return;
&lt;br&gt;&amp;gt; &amp;nbsp;	}
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; xfs mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520617&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;/div&gt;---end quoted text---
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520617&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--db%3A-stop-using-xfs_bmbt_rec_32_t-tp26181868p26520617.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520614</id>
	<title>Re: XFS quota setup</title>
	<published>2009-11-25T13:09:22Z</published>
	<updated>2009-11-25T13:09:22Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 12:03:45PM +0100, Michael Monnerie wrote:
&lt;br&gt;&amp;gt; I took this from the manpage:
&lt;br&gt;&amp;gt; xfs_quota -x -c 'project -s upload' /disks/sharestore/upload/
&lt;br&gt;&amp;gt; xfs_quota: cannot setup path for mount /disks/sharestore/upload/: No 
&lt;br&gt;&amp;gt; such device or address
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; but this works:
&lt;br&gt;&amp;gt; cd /disks/sharestore/
&lt;br&gt;&amp;gt; xfs_quota -x -c 'project -s upload'
&lt;br&gt;&lt;br&gt;I can't see these specific paths mentioned in the manpage. &amp;nbsp;The last
&lt;br&gt;argument to xfs_quota should always be a mountpoint, is
&lt;br&gt;/disks/sharestore/upload/ a mountpoint?
&lt;br&gt;&lt;br&gt;&amp;gt; Maybe the docs can be simpler? It's confusing now.
&lt;br&gt;&lt;br&gt;Suggestions or even better patches are welcome.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520614&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS-quota-setup-tp26494331p26520614.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520613</id>
	<title>Re: [PATCH] xfstests 213: Add enospc case to fallocate test</title>
	<published>2009-11-25T13:07:31Z</published>
	<updated>2009-11-25T13:07:31Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 11:18:47AM -0600, Eric Sandeen wrote:
&lt;br&gt;&amp;gt; Add a test for ENOSPC when fallocating.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also, add an expected output, not sure how that went missing!
&lt;br&gt;&lt;br&gt;Oops. &amp;nbsp;Easily to do because xfstests doesn't complain but rather just
&lt;br&gt;skips tests without golden output..
&lt;br&gt;&lt;br&gt;I guess the ENOSPC test is to catch the inverted error returns just
&lt;br&gt;detected?
&lt;br&gt;&lt;br&gt;Anyway, looks good,
&lt;br&gt;&lt;br&gt;&lt;br&gt;Reviewed-by: Christoph Hellwig &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520613&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;hch@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520613&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--xfstests-213%3A-Add-enospc-case-to-fallocate-test-tp26516982p26520613.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26520619</id>
	<title>Re: XFS support for ARMv5</title>
	<published>2009-11-25T13:06:11Z</published>
	<updated>2009-11-25T13:06:11Z</updated>
	<author>
		<name>Christoph Hellwig</name>
	</author>
	<content type="html">On Wed, Nov 25, 2009 at 10:30:09AM -0600, Andy Poling wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, 23 Nov 2009, Ofer Heifetz wrote:
&lt;br&gt;&amp;gt;&amp;gt; Here is the dmesg I got for mount /dev/sda3 /mnt/usb:
&lt;br&gt;&amp;gt;&amp;gt; SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
&lt;br&gt;&amp;gt;&amp;gt; XFS mounting filesystem sda3
&lt;br&gt;&amp;gt;&amp;gt; Starting XFS recovery on filesystem: sda3 (logdev: internal)
&lt;br&gt;&amp;gt;&amp;gt; XFS: xlog_recover_process_data: bad clientid
&lt;br&gt;&amp;gt;&amp;gt; XFS: log mount/recovery failed: error 5
&lt;br&gt;&amp;gt;&amp;gt; XFS: log mount failed
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See this thread in the archives for a patch that may fix this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/pipermail/xfs/2009-October/042805.html&lt;/a&gt;&lt;/div&gt;&lt;br&gt;I don't think it's the case you found, although the symptoms are the
&lt;br&gt;same. &amp;nbsp;I'd rather guess this is a case of an architecture with virtually
&lt;br&gt;indexed caches (can anyone confirm the cache architecture?) which
&lt;br&gt;doesn't cope too well with the way we use vmap to write into a buffer
&lt;br&gt;through virtually mapped linear addresses, but then do block I/O using
&lt;br&gt;the physical addresses of the individual pages. &amp;nbsp;James Bottomley has a
&lt;br&gt;patchset to fix this issue by introducing APIs that allow the
&lt;br&gt;architecture specific memory management to cope with it. &amp;nbsp;He're a
&lt;br&gt;version I could quickly find, although newer ones have been posted
&lt;br&gt;since:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://thread.gmane.org/gmane.linux.kernel.cross-arch/4364&lt;/a&gt;&lt;br&gt;&lt;br&gt;The patchset is planned to get merged into Linux 2.6.33.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26520619&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/XFS-support-for-ARMv5-tp26406948p26520619.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26519770</id>
	<title>Re: [PATCH] Prevent lookup from finding bad buffers</title>
	<published>2009-11-25T12:26:19Z</published>
	<updated>2009-11-25T12:26:19Z</updated>
	<author>
		<name>Eric Sandeen-3</name>
	</author>
	<content type="html">Lachlan McIlroy wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; There's a bug in _xfs_buf_find() that will cause it to return buffers
&lt;br&gt;&amp;gt; that failed to be initialised.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If a thread has a buffer locked and is waiting for I/O to initialise
&lt;br&gt;&amp;gt; it and another thread wants the same buffer the second thread will
&lt;br&gt;&amp;gt; wait on the buffer lock in _xfs_buf_find(). &amp;nbsp;If the initial thread
&lt;br&gt;&amp;gt; gets an I/O error it marks the buffer in error and releases the
&lt;br&gt;&amp;gt; buffer lock. &amp;nbsp;The second thread gets the buffer lock, assumes the
&lt;br&gt;&amp;gt; buffer has been successfully initialised, and then tries to use it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Some callers of xfs_buf_get_flags() will check for B_DONE, and if
&lt;br&gt;&amp;gt; it's not set then re-issue the I/O, bust most callers assume the
&lt;br&gt;&amp;gt; buffer and it's contents are good and then use the uninitialised
&lt;br&gt;&amp;gt; data.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The solution I've come up with is if we lookup a buffer and find
&lt;br&gt;&amp;gt; it's got b_error set or has been marked stale then unhash it from
&lt;br&gt;&amp;gt; the buffer hashtable and retry the lookup. &amp;nbsp;Also if we fail to setup
&lt;br&gt;&amp;gt; the buffer correctly in xfs_buf_get_flags() then mark the buffer in
&lt;br&gt;&amp;gt; error and unhash it. &amp;nbsp;If the buffer is marked stale then in
&lt;br&gt;&amp;gt; xfs_buf_free() inform the page cache that the contents of the pages
&lt;br&gt;&amp;gt; are no longer valid.
&lt;/div&gt;&lt;br&gt;I managed to come up with a sorta-kinda testcase for this.
&lt;br&gt;&lt;br&gt;Fragmented freespace, many files in a dir, on raid5; simply doing
&lt;br&gt;drop caches / ls in a loop triggered it.
&lt;br&gt;&lt;br&gt;I guess raid5 is bad in this respect; in it's make_request() we have:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* cannot get stripe for read-ahead, just give-up */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; clear_bit(BIO_UPTODATE, &amp;bi-&amp;gt;bi_flags);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; finish_wait(&amp;conf-&amp;gt;wait_for_overlap, &amp;w);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;and this happens fairly often. &amp;nbsp;This probably explains a large
&lt;br&gt;percentage of our xfs_da_do_buf(2) errors we've seen on the list.
&lt;br&gt;&lt;br&gt;From my testing, I think this suffices - and interestingly, Lachlan's
&lt;br&gt;original patch doesn't seem to help...
&lt;br&gt;&lt;br&gt;Comments?
&lt;br&gt;&lt;br&gt;Maybe could clean up the logic a bit... should this only be
&lt;br&gt;tested for XBF_READ buffers as well ... or maybe an assert that
&lt;br&gt;if !uptodate, error should be set ...
&lt;br&gt;&lt;br&gt;diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
&lt;br&gt;index 965df12..cbc0541 100644
&lt;br&gt;--- a/fs/xfs/linux-2.6/xfs_buf.c
&lt;br&gt;+++ b/fs/xfs/linux-2.6/xfs_buf.c
&lt;br&gt;@@ -1142,6 +1165,8 @@ xfs_buf_bio_end_io(
&lt;br&gt;&amp;nbsp;		if (unlikely(bp-&amp;gt;b_error)) {
&lt;br&gt;&amp;nbsp;			if (bp-&amp;gt;b_flags &amp; XBF_READ)
&lt;br&gt;&amp;nbsp;				ClearPageUptodate(page);
&lt;br&gt;+		} else if (!test_bit(BIO_UPTODATE, &amp;bio-&amp;gt;bi_flags)) {
&lt;br&gt;+			ClearPageUptodate(bp);
&lt;br&gt;&amp;nbsp;		} else if (blocksize &amp;gt;= PAGE_CACHE_SIZE) {
&lt;br&gt;&amp;nbsp;			SetPageUptodate(page);
&lt;br&gt;&amp;nbsp;		} else if (!PagePrivate(page) &amp;&amp;
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26519770&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--Prevent-lookup-from-finding-bad-buffers-tp21926704p26519770.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516982</id>
	<title>[PATCH] xfstests 213: Add enospc case to fallocate test</title>
	<published>2009-11-25T09:18:47Z</published>
	<updated>2009-11-25T09:18:47Z</updated>
	<author>
		<name>Eric Sandeen-5</name>
	</author>
	<content type="html">Add a test for ENOSPC when fallocating.
&lt;br&gt;&lt;br&gt;Also, add an expected output, not sure how that went missing!
&lt;br&gt;&lt;br&gt;Signed-off-by: Eric Sandeen &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516982&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sandeen@...&lt;/a&gt;&amp;gt;
&lt;br&gt;---
&lt;br&gt;&lt;br&gt;iff --git a/213 b/213
&lt;br&gt;index 3cd55f7..7d66338 100755
&lt;br&gt;--- a/213
&lt;br&gt;+++ b/213
&lt;br&gt;@@ -61,8 +61,6 @@ _require_xfs_io_falloc
&lt;br&gt;&amp;nbsp;avail=`df -P $TEST_DIR | awk 'END {print $4}'`
&lt;br&gt;&amp;nbsp;[ &amp;quot;$avail&amp;quot; -ge 1049600 ] || _notrun &amp;quot;Test device is too small ($avail KiB)&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-echo Silence is golden
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;# reserve 1GiB, truncate at 100bytes
&lt;br&gt;&amp;nbsp;$XFS_IO_PROG -F -f -c 'falloc 0 1g' -c 'truncate 100' $TEST_DIR/ouch
&lt;br&gt;&amp;nbsp;rm -f $TEST_DIR/ouch
&lt;br&gt;@@ -79,6 +77,14 @@ rm -f $TEST_DIR/ouch
&lt;br&gt;&amp;nbsp;$XFS_IO_PROG -F -f -c 'falloc 0 1g' -c 'falloc 2g 1m' -c 'truncate 3g' $TEST_DIR/ouch
&lt;br&gt;&amp;nbsp;rm -f $TEST_DIR/ouch
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+# Try to reserve more space than we have
&lt;br&gt;+echo &amp;quot;We should get: fallocate: No space left on device&amp;quot;
&lt;br&gt;+echo &amp;quot;Strangely, xfs_io sometimes says \&amp;quot;Success\&amp;quot; when something went wrong, FYI&amp;quot;
&lt;br&gt;+
&lt;br&gt;+let toobig=$avail*2
&lt;br&gt;+$XFS_IO_PROG -F -f -c &amp;quot;falloc 0 ${toobig}k&amp;quot; $TEST_DIR/ouch
&lt;br&gt;+rm -f $TEST_DIR/ouch
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;# success, all done
&lt;br&gt;&amp;nbsp;status=0
&lt;br&gt;&amp;nbsp;exit
&lt;br&gt;diff --git a/213.out b/213.out
&lt;br&gt;new file mode 100644
&lt;br&gt;index 0000000..521fca3
&lt;br&gt;--- /dev/null
&lt;br&gt;+++ b/213.out
&lt;br&gt;@@ -0,0 +1,4 @@
&lt;br&gt;+QA output created by 213
&lt;br&gt;+We should get: fallocate: No space left on device
&lt;br&gt;+Strangely, xfs_io sometimes says &amp;quot;Success&amp;quot; when something went wrong, FYI
&lt;br&gt;+fallocate: No space left on device
&lt;br&gt;diff --git a/group b/group
&lt;br&gt;index b0254dd..8d055a2 100644
&lt;br&gt;--- a/group
&lt;br&gt;+++ b/group
&lt;br&gt;@@ -322,7 +322,7 @@ prealloc
&lt;br&gt;&amp;nbsp;210 auto aio quick
&lt;br&gt;&amp;nbsp;211 auto aio quick
&lt;br&gt;&amp;nbsp;212 auto aio quick
&lt;br&gt;-213 rw auto prealloc quick
&lt;br&gt;+213 rw auto prealloc quick enospc
&lt;br&gt;&amp;nbsp;214 rw auto prealloc quick
&lt;br&gt;&amp;nbsp;215 auto metadata quick
&lt;br&gt;&amp;nbsp;216 log metadata auto quick
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;xfs mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516982&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;xfs@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://oss.sgi.com/mailman/listinfo/xfs&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://oss.sgi.com/mailman/listinfo/xfs&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Xfs---General-f1031.html&quot; embed=&quot;fixTarget[1031]&quot; target=&quot;_top&quot; &gt;Xfs - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--xfstests-213%3A-Add-enospc-case-to-fallocate-test-tp26516982p26516982.html" />
</entry>

</feed>
