diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2021-02-04 19:22:07 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-02-09 02:46:06 +0100 |
commit | 42c011000963442ce533d92a492c4a057b2f5a46 (patch) | |
tree | 4410e793a771d657a9395f909427317db4603b9d /fs/vboxsf | |
parent | 544d24f9de73642a65d50389b789a957b14ae3f6 (diff) |
btrfs: zoned: introduce dedicated data write path for zoned filesystems
If more than one IO is issued for one file extent, these IO can be
written to separate regions on a device. Since we cannot map one file
extent to such a separate area on a zoned filesystem, we need to follow
the "one IO == one ordered extent" rule.
The normal buffered, uncompressed and not pre-allocated write path (used
by cow_file_range()) sometimes does not follow this rule. It can write a
part of an ordered extent when specified a region to write e.g., when
its called from fdatasync().
Introduce a dedicated (uncompressed buffered) data write path for zoned
filesystems, that will COW the region and write it at once.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/vboxsf')
0 files changed, 0 insertions, 0 deletions