summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNaohiro Aota <naohiro.aota@wdc.com>2020-11-10 12:26:09 +0100
committerDavid Sterba <dsterba@suse.com>2020-12-09 19:16:04 +0100
commit862931c76327e54d49c30d80c333f552dca18489 (patch)
tree2754b1621ecb194104192d4973340fb7e8321f7f /drivers
parentbtrfs: check and enable ZONED mode (diff)
downloadlinux-862931c76327e54d49c30d80c333f552dca18489.tar.xz
linux-862931c76327e54d49c30d80c333f552dca18489.zip
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 <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 'drivers')
0 files changed, 0 insertions, 0 deletions