summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-02-11 15:08:58 -0500
committerChris Mason <clm@fb.com>2015-02-14 08:19:14 -0800
commit3266789f9d08b27275bae5ab1dcd27d1bbf15e79 (patch)
treeb0543175a216240566971738f492b6ab87ac4732 /fs/btrfs/ctree.h
parent3e05bde8c3c2dd761da4d52944a087907955a53c (diff)
downloadtalos-op-linux-3266789f9d08b27275bae5ab1dcd27d1bbf15e79.tar.gz
talos-op-linux-3266789f9d08b27275bae5ab1dcd27d1bbf15e79.zip
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 <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud