]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: qgroup: Add handler for NOCOW and inline
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 8 Sep 2015 09:25:56 +0000 (17:25 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:41:07 +0000 (18:41 -0700)
commitb0d8d9262612023ffc0f2882b7439894a92bb692
tree967880fccfe272df0fb1a87fc0208d68714ba357
parent0860593ba5c725585622e1867738201dc2b70ebf
btrfs: qgroup: Add handler for NOCOW and inline

For NOCOW and inline case, there will be no delayed_ref created for
them, so we should free their reserved data space at proper
time(finish_ordered_io for NOCOW and cow_file_inline for inline).

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c
fs/btrfs/inode.c