summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-wlock.h
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-05-15 07:48:24 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-06-14 11:29:42 -0400
commit6a03843df4d29593912e558c72a2ce39274d2366 (patch)
tree90f049cfcebd10dde5b32446a4d5d7c3a243a0b1 /lib/locking-selftest-wlock.h
parent199c2a9c3d1389db7f7a211e64f6809d352ce5f6 (diff)
downloadtalos-op-linux-6a03843df4d29593912e558c72a2ce39274d2366.tar.gz
talos-op-linux-6a03843df4d29593912e558c72a2ce39274d2366.zip
Btrfs: just flush the delalloc inodes in the source tree before snapshot creation
Before applying this patch, we need flush all the delalloc inodes in the fs when we want to create a snapshot, it wastes time, and make the transaction commit be blocked for a long time. It means some other user operation would also be blocked for a long time. This patch improves this problem, we just flush the delalloc inodes that in the source trees before snapshot creation, so the transaction commit will complete quickly. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'lib/locking-selftest-wlock.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud