Reorder the flags field in struct btrfs_header and record a flag on writeout
authorChris Mason <chris.mason@oracle.com>
Tue, 1 Apr 2008 15:21:32 +0000 (11:21 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:01 +0000 (11:04 -0400)
commit63b10fc4874a014e22bc4c64e3d92b71180661fe
tree683a7b414f269f8b999b666d5f2d6c9fb74a1ee8
parent2d2ae547979854d10b75d557b3abdb3eb7511bbc
Reorder the flags field in struct btrfs_header and record a flag on writeout

This allows detection of blocks that have already been written in the
running transaction so they can be recowed instead of modified again.
It is step one in trusting the transid field of the block pointers.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c