On 1/25/21 9:25 PM, Naohiro Aota wrote:
For a zone append write, the device decides the location the data is
written to. Therefore we cannot ensure that two bios are written
consecutively on the device. In order to ensure that a ordered extent maps
to a contiguous region on disk, we need to maintain a "one bio == one
ordered extent" rule.

This commit implements the splitting of an ordered extent and extent map
on bio submission to adhere to the rule.

[testbot] made extract_ordered_extent static
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>

Reviewed-by: Josef Bacik <[email protected]>

Thanks,

Josef

Reply via email to