/ 详情

print_req_error while mkfs loop device

Done
Bug
Opened this issue  
2020-06-29 20:30

kernelversion: 4.19.90-2005.2.0.0039.oe1.aarch64

step to reproduce:

  1. create file on tmpfs: dd if=/dev/zero of=/tmp/test.img count=100 bs=1M
  2. attach with loop1: losetup /dev/loop1 /tmp/test.img
  3. mkfs /dev/loop1, then got error messages like:
[104286.004575] print_req_error: I/O error, dev loop1, sector 204672
[104286.005444] print_req_error: I/O error, dev loop1, sector 522
[104286.005903] print_req_error: I/O error, dev loop1, sector 16906
[104286.006377] print_req_error: I/O error, dev loop1, sector 32774
[104286.006840] print_req_error: I/O error, dev loop1, sector 49674
[104286.007292] print_req_error: I/O error, dev loop1, sector 65542
[104286.007769] print_req_error: I/O error, dev loop1, sector 82442
[104286.008327] print_req_error: I/O error, dev loop1, sector 98310
[104286.008807] print_req_error: I/O error, dev loop1, sector 115210
[104286.009311] print_req_error: I/O error, dev loop1, sector 131078

No errors report on kernel-4.18 & 4.19.36-vhulk1907.1.0.h773

Attachments

Comments (2)

ltx created缺陷
ltx set related repository to openEuler/kernel
展开全部操作日志

Hey @ltx , Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

ltx changed description
ltx set priority to Main
ltx assigned collaborator fun_yang
ltx unassigned collaborator fun_yang
openeuler-ci-bot set assignee to weiyj

非内核问题,用户态工具mkfs.ext2高版本会下发fallocatr(zero range),而tmpfs在fallocate时是不支持zero range引起的。
非tmpfs不会有这个问题

yanzh_h changed issue state from 待办的 to 已确认
XieXiuQi changed issue state from 已确认 to 已完成

Sign in to comment

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
确定
参与者(3)
5329419 openeuler ci bot 1578984659 5601591 lutianxiong 1587133339