On 10/11/20 7:26 pm, Naohiro Aota wrote:
Placing both data and metadata in a block group is impossible in ZONED mode. For data, we can allocate a space for it and write it immediately after the allocation. For metadata, however, we cannot do so, because the logical addresses are recorded in other metadata buffers to build up the trees. As a result, a data buffer can be placed after a metadata buffer, which is not written yet. Writing out the data buffer will break the sequential write rule. This commit check and disallow MIXED_BG with ZONED mode. Signed-off-by: Naohiro Aota <naohiro.aota@xxxxxxx> Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> ---
Reviewed-by: Anand Jain <anand.jain@xxxxxxxxxx> Thanks.