Re: [PATCH] bcachefs: Align the display format of `btrees/inodes/keys`

From: Kent Overstreet
Date: Tue Apr 16 2024 - 22:20:46 EST


On Wed, Apr 17, 2024 at 09:54:48AM +0800, Youling Tang wrote:
> From: Youling Tang <tangyouling@xxxxxxxxxx>
>
> Before patch:
> ```
> #cat btrees/inodes/keys
> u64s 17 type inode_v3 0:4096:U32_MAX len 0 ver 0: mode=40755
> flags= (16300000)
> ```
>
> After patch:
> ```
> #cat btrees/inodes/keys
> u64s 17 type inode_v3 0:4096:U32_MAX len 0 ver 0:
> mode=40755
> flags= (16300000)

This would print a newline for keys that don't have a value...