Btrfs: introduce per-subvolume delalloc inode list
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 15 May 2013 07:48:22 +0000 (07:48 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Fri, 14 Jun 2013 15:29:40 +0000 (11:29 -0400)
commiteb73c1b7cea7d533288ef5297a0ea0e159db85b0
treecb6e26e79ab0c11eed7f1db8967e37dbf770f974
parentb0feb9d96e71a88d7eec56f41b8f23e92af889b0
Btrfs: introduce per-subvolume delalloc inode list

When we create a snapshot, we need flush all delalloc inodes in the
fs, just flushing the inodes in the source tree is OK. So we introduce
per-subvolume delalloc inode list.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/dev-replace.c
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/relocation.c
fs/btrfs/transaction.c