summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2_node.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-05-07 11:05:05 +1000
committerAlex Elder <aelder@sgi.com>2010-05-24 10:33:10 -0500
commit524ee36fa4661d745a467c3bba0e1034fd1f4b77 (patch)
treec14176bd3f02e40f1fbdffc137b6f4d49b8e6d5e /fs/xfs/xfs_dir2_node.h
parentb4ed4626a9775cd8cb77209280d24839526f94f2 (diff)
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 <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dir2_node.h')
0 files changed, 0 insertions, 0 deletions