]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Btrfs: join tree mod log code with the code holding back delayed refs
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 21 Jun 2012 09:08:04 +0000 (11:08 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Tue, 10 Jul 2012 13:14:41 +0000 (15:14 +0200)
commit097b8a7c9e48e2cb50fd0eb9315791921beaf484
tree03588f0e29000e415f7177d31a8f5b4c1689d6ad
parentcf5388307a2b4faab4b11d732b61c85741be6169
Btrfs: join tree mod log code with the code holding back delayed refs

We've got two mechanisms both required for reliable backref resolving (tree
mod log and holding back delayed refs). You cannot make use of one without
the other. So instead of requiring the user of this mechanism to setup both
correctly, we join them into a single interface.

Additionally, we stop inserting non-blockers into fs_info->tree_mod_seq_list
as we did before, which was of no value.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
fs/btrfs/backref.c
fs/btrfs/backref.h
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c