diff options
author | Naohiro Aota <[email protected]> | 2020-11-10 20:26:09 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-12-09 19:16:04 +0100 |
commit | 862931c76327e54d49c30d80c333f552dca18489 (patch) | |
tree | 2754b1621ecb194104192d4973340fb7e8321f7f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b70f509774ad4b75d4253ad23b65c35d89402026 (diff) |
btrfs: introduce max_zone_append_size
The zone append write command has a maximum IO size restriction it
accepts. This is because a zone append write command cannot be split, as
we ask the device to place the data into a specific target zone and the
device responds with the actual written location of the data.
Introduce max_zone_append_size to zone_info and fs_info to track the
value, so we can limit all I/O to a zoned block device that we want to
write using the zone append command to the device's limits.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions