diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-03 07:29:43 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:45 +0300 |
commit | a1ee777bfcceeb916d837321144c782e12082588 (patch) | |
tree | d83ecba10afd8dbb6a9ded3dcf1c9956ab8caed3 /fs/bcachefs/reflink.c | |
parent | 03e83f630223261978e23875299e87ae61403548 (diff) | |
download | linux-a1ee777bfcceeb916d837321144c782e12082588.tar.xz |
bcachefs: Kill BCH_WRITE_FLUSH
BCH_WRITE_FLUSH is a write flag that causes a journal flush. It's only
used in the direct IO path, and this will allow for some consolidation
with the regular fsync path, which will help with the upcoming nocow
mode.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/reflink.c')
-rw-r--r-- | fs/bcachefs/reflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/reflink.c b/fs/bcachefs/reflink.c index d5c14bb2992d..0d4c004d7f9d 100644 --- a/fs/bcachefs/reflink.c +++ b/fs/bcachefs/reflink.c @@ -378,7 +378,7 @@ s64 bch2_remap_range(struct bch_fs *c, dst_end.offset - dst_iter.pos.offset)); ret = bch2_extent_update(&trans, dst_inum, &dst_iter, - new_dst.k, &disk_res, NULL, + new_dst.k, &disk_res, new_i_size, i_sectors_delta, true); bch2_disk_reservation_put(c, &disk_res); |