]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: add an extent to the rmap btree
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 04:45:17 +0000 (14:45 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 04:45:17 +0000 (14:45 +1000)
commit631bda238bc8616db2ebff2bfa8a5c132684ad56
tree7fddaac0db0afdfc2cd8c378bb0ab7dfa1ef6347
parent890e11746925e83ee06fcf27d676cf71b2301380
xfs: add an extent to the rmap btree

Source kernel commit: 0a1b0b3855cf74bb11243076b00178a0f1a0320e

Originally-From: Dave Chinner <dchinner@redhat.com>

Now all the btree, free space and transaction infrastructure is in
place, we can finally add the code to insert reverse mappings to the
rmap btree. Freeing will be done in a separate patch, so just the
addition operation can be focussed on here.

[darrick: handle owner offsets when adding rmaps]
[dchinner: remove remaining debug printk statements]
[darrick: move unwritten bit to rm_offset]

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/xfs_trace.h
libxfs/xfs_rmap.c