* how to disable block-group-tree feature?
@ 2022-09-12 3:01 Wang Yugui
2022-09-12 3:04 ` Qu Wenruo
0 siblings, 1 reply; 2+ messages in thread
From: Wang Yugui @ 2022-09-12 3:01 UTC (permalink / raw)
To: linux-btrfs
Hi,
Is there any way to disable block-group-tree since it is a runtime
feature?
I tried to 'mount -o clear_cache,space_cache=v2'
to disable both block-group-tree and fres-space-tree,
it failed with the flowing dmesg output.
[ 1400.647031] BTRFS error (device sda1): block-group-tree feature requires fres-space-tree and no-holes
[ 1400.656251] BTRFS error (device sda1): super block corruption detected before writing it to disk
[ 1400.665044] BTRFS: error (device sda1) in write_all_supers:4305: errno=-117 Filesystem corrupted (unexpected superblock corruption detected)
[ 1400.677643] BTRFS warning (device sda1: state E): Skipping commit of aborted transaction.
Best Regards
Wang Yugui (wangyugui@e16-tech.com)
2022/09/12
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to disable block-group-tree feature?
2022-09-12 3:01 how to disable block-group-tree feature? Wang Yugui
@ 2022-09-12 3:04 ` Qu Wenruo
0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2022-09-12 3:04 UTC (permalink / raw)
To: Wang Yugui, linux-btrfs
On 2022/9/12 11:01, Wang Yugui wrote:
> Hi,
>
> Is there any way to disable block-group-tree since it is a runtime
> feature?
Check the cover-letter before applying them:
[TODO]
- Add btrfstune support to convert from block-group-tree feature
The infrastructure is already done.
>
> I tried to 'mount -o clear_cache,space_cache=v2'
> to disable both block-group-tree and fres-space-tree,
Nope, no mount option can change bg tree.
> it failed with the flowing dmesg output.
>
> [ 1400.647031] BTRFS error (device sda1): block-group-tree feature requires fres-space-tree and no-holes
> [ 1400.656251] BTRFS error (device sda1): super block corruption detected before writing it to disk
> [ 1400.665044] BTRFS: error (device sda1) in write_all_supers:4305: errno=-117 Filesystem corrupted (unexpected superblock corruption detected)
> [ 1400.677643] BTRFS warning (device sda1: state E): Skipping commit of aborted transaction.
>
> Best Regards
> Wang Yugui (wangyugui@e16-tech.com)
> 2022/09/12
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-12 3:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12 3:01 how to disable block-group-tree feature? Wang Yugui
2022-09-12 3:04 ` Qu Wenruo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox