Thread (119 messages) 119 messages, 7 authors, 2020-11-10

Re: [PATCH v9 40/41] btrfs: reorder log node allocation

From: Josef Bacik <josef@toxicpanda.com>
Date: 2020-11-03 21:48:47
Also in: linux-fsdevel

On 10/30/20 9:51 AM, Naohiro Aota wrote:
This is the 3/3 patch to enable tree-log on ZONED mode.

The allocation order of nodes of "fs_info->log_root_tree" and nodes of
"root->log_root" is not the same as the writing order of them. So, the
writing causes unaligned write errors.

This patch reorders the allocation of them by delaying allocation of the
root node of "fs_info->log_root_tree," so that the node buffers can go out
sequentially to devices.

Signed-off-by: Johannes Thumshirn <redacted>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
If you keep the tree log stuff, you can add

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help