fiemap error
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 200
- Forks
- 85
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 2
Description
Getting the following error when source is Lustre and I request spare support (-S)
[2023-01-30T21:48:23] [1] [/home/harms/working/daos/mpifileutils/src/common/mfu_flist_copy.c:1853] ERROR: fiemap ioctl() failed for src '/soft/daos/mpifileutils/share/man/man1/dsync.1' (errno=22 Invalid argument)
I'm thinking this is because the structure initialization for the ioctl is bad. Running the following Lustre version:
harms@uan-0002:~/working/daos/tools> lfs --version
lfs 2.15.0.6_rc2_cray_14_g2408acc
I don't know if Lustre is strict about maintaining format of ioctl calls between different releases.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at mfu_flist_copy.c:1853, where the fiemap ioctl() failure is reported, and inspect how the ioctl structure is initialized for source files on Lustre. Reproduce the error with a Lustre 2.15.0.6_rc2_cray_14_g2408acc source and spare support (-S). Done means the fiemap operation no longer returns EINVAL for the reported case, with behavior checked across relevant environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100