summaryrefslogtreecommitdiffstats
path: root/net/rds/sysctl.c
diff options
context:
space:
mode:
authorArne Jansen <sensille@gmx.net>2011-09-14 12:37:00 +0200
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-01-04 16:12:42 +0100
commit00f04b88791ff49dc64ada18819d40a5b0671709 (patch)
treefd85a5f4b374aac035388b0cbf8ef572578d5578 /net/rds/sysctl.c
parent5b25f70f4200766355cdabda604e131d2fb6010d (diff)
downloadop-kernel-dev-00f04b88791ff49dc64ada18819d40a5b0671709.zip
op-kernel-dev-00f04b88791ff49dc64ada18819d40a5b0671709.tar.gz
Btrfs: add sequence numbers to delayed refs
Sequence numbers are needed to reconstruct the backrefs of a given extent to a certain point in time. The total set of backrefs consist of the set of backrefs recorded on disk plus the enqueued delayed refs for it that existed at that moment. This patch also adds a list that records all delayed refs which are currently in the process of being added. When walking all refs of an extent in btrfs_find_all_roots(), we freeze the current state of delayed refs, honor anythinh up to this point and prevent processing newer delayed refs to assert consistency. Signed-off-by: Arne Jansen <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'net/rds/sysctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud