From: Josef Bacik Date: Wed, 11 Feb 2015 20:08:58 +0000 (-0500) Subject: Btrfs: don't set and clear delalloc for O_DIRECT writes X-Git-Tag: fixes-v4.0-rc1~50^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3266789f9d08b27275bae5ab1dcd27d1bbf15e79;p=pandora-kernel.git Btrfs: don't set and clear delalloc for O_DIRECT writes We do this to get the space accounting, but this is just needless churn on the io_tree, so just drop setting/clearing delalloc and just drop the reserved data space when we have a successfull allocation. Thanks, Signed-off-by: Josef Bacik Reviewed-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed