LoongArch ioctl bindings omit FIEMAP constants
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 88/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
调研方向
从 gen/ioctl/loongarch-ioctls.txt 开始,将其中的 FIEMAP 条目与其他架构的快照以及 gen/ioctl/list.c 进行比较。重新生成或验证 LoongArch 绑定,然后检查 src/loongarch64/ioctl.rs,确认 FIEMAP_EXTENT_* 常量已公开。
由索引模型根据 Issue 内容生成。
描述
linux_raw_sys::ioctl on loongarch64 does not expose the FIEMAP constants
added in #97, such as FIEMAP_EXTENT_LAST, FIEMAP_EXTENT_SHARED, and
FIEMAP_EXTENT_DATA_INLINE.
gen/ioctl/list.c requests these constants, and generated bindings for other
architectures contain them. However, LoongArch uses the static fallback:
cat loongarch-ioctls.txt >> "$out"
The static gen/ioctl/loongarch-ioctls.txt contains FS_IOC_FIEMAP, but no
FIEMAP_* definitions at all. Consequently,
src/loongarch64/ioctl.rs contains FS_IOC_FIEMAP but no
FIEMAP_EXTENT_* constants.
This appears to have started when #97 added the FIEMAP requests: the LoongArch
static snapshot was not regenerated/updated. Commit #174 retained the static
fallback while updating the general generator, but did not modify this file.
- 主要语言
- Rust
- 星标
- 71
- 派生
- 64
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
sunfishcode/linux-raw-sys 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
sunfishcode/linux-raw-sys#194 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
sunfishcode/linux-raw-sys#188 ·
-
难度 3/5 1-2 天 新手友好度 68/100
sunfishcode/linux-raw-sys#189 ·
-
难度 3/5 1-2 天 新手友好度 45/100
sunfishcode/linux-raw-sys#179 ·
-
难度 3/5 1-2 天 新手友好度 50/100
sunfishcode/linux-raw-sys#173 · 17 条评论 ·
查看 sunfishcode/linux-raw-sys 的全部 Issue
相似的 Issue
-
Change output crossing a compactsize boundary leaves the fee slightly below the requested feerate未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
bitcoindevkit/bdk_wallet#578 ·
维护者通常 8 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
521xueweihan/HelloGitHub#3832 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 82/100
canonical/opentelemetry-collector-operator#409 ·
维护者通常 1 天内回复