From: Dave Chinner Date: Fri, 7 May 2010 01:05:05 +0000 (+1000) Subject: xfs: Don't reuse the same transaction ID for duplicated transactions. X-Git-Tag: v2.6.35-rc1~271^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=524ee36fa4661d745a467c3bba0e1034fd1f4b77;p=pandora-kernel.git xfs: Don't reuse the same transaction ID for duplicated transactions. The transaction ID is written into the log as the unique identifier for transactions during recover. When duplicating a transaction, we reuse the log ticket, which means it has the same transaction ID as the previous transaction. Rather than regenerating a random transaction ID for the duplicated transaction, just add one to the current ID so that duplicated transaction can be easily spotted in the log and during recovery during problem diagnosis. Signed-off-by: Dave Chinner Reviewed-by: Christoph Hellwig Signed-off-by: Alex Elder --- Reading git-diff-tree failed