It appears this commit supports both the btree and extents formats:
db911cc
However, the following section seems to only allow the local format:
https://github.com/masahiro331/go-xfs-filesystem/blob/main/xfs/inode.go#L369-L375
以下のコミットでbtreeとextents フォーマットの両方をサポートしている様に見えます。
db911cc
しかし、以下の箇所はlocal フォーマットのみを許可しているように見えます。
修正が漏れているということでしょうか?
https://github.com/masahiro331/go-xfs-filesystem/blob/main/xfs/inode.go#L369-L375