commit | 3266789f9d08b27275bae5ab1dcd27d1bbf15e79 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Wed Feb 11 15:08:58 2015 -0500 |
committer | Chris Mason <clm@fb.com> | Sat Feb 14 08:19:14 2015 -0800 |
tree | b0543175a216240566971738f492b6ab87ac4732 | |
parent | 3e05bde8c3c2dd761da4d52944a087907955a53c [diff] |
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>