252 Star 982 Fork 503

GVPopenEuler / kernel

 / 详情

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

Comments (2)

ltx created缺陷
ltx set related repository to openEuler/kernel
Expand operation logs

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 P3
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

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(3)
5329419 openeuler ci bot 1632792936 5601591 lutianxiong 1587133339
C
1
https://toscode.gitee.com/openeuler/kernel.git
git@toscode.gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

Search

184635 d8eb8a04 1850385 161156 f1cf3f24 1850385