diff options
author | Josef Bacik <jbacik@fb.com> | 2015-02-11 15:08:58 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-02-14 08:19:14 -0800 |
commit | 3266789f9d08b27275bae5ab1dcd27d1bbf15e79 (patch) | |
tree | b0543175a216240566971738f492b6ab87ac4732 /fs/mpage.c | |
parent | 3e05bde8c3c2dd761da4d52944a087907955a53c (diff) | |
download | linux-3266789f9d08b27275bae5ab1dcd27d1bbf15e79.tar.bz2 |
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/mpage.c')
0 files changed, 0 insertions, 0 deletions