Project

General

Profile

Bug #57766

[test] fio 3.16 doesn't build on recent kernels due to removal of linux/raw.h

Added by Ilya Dryomov 4 months ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2022-10-04T22:02:50.819 DEBUG:teuthology.orchestra.run.smithi182:> cd /home/ubuntu/cephtest/rbd_fio_test ; wget https://github.com/axboe/fio/archive/fio-3.16.tar.gz ; tar -xvf fio*tar.gz ; cd fio-fio* ; ./configure ; make
2022-10-04T22:02:56.232 INFO:teuthology.orchestra.run.smithi182.stdout:    CC crc/crc32c-arm64.o
2022-10-04T22:02:56.284 INFO:teuthology.orchestra.run.smithi182.stderr:In file included from crc/../os/os.h:38,
2022-10-04T22:02:56.285 INFO:teuthology.orchestra.run.smithi182.stderr:                 from crc/crc32c-arm64.c:2:
2022-10-04T22:02:56.285 INFO:teuthology.orchestra.run.smithi182.stderr:crc/../os/os-linux.h:17:10: fatal error: linux/raw.h: No such file or directory
2022-10-04T22:02:56.285 INFO:teuthology.orchestra.run.smithi182.stderr:   17 | #include <linux/raw.h>
2022-10-04T22:02:56.285 INFO:teuthology.orchestra.run.smithi182.stderr:      |          ^~~~~~~~~~~~~
2022-10-04T22:02:56.286 INFO:teuthology.orchestra.run.smithi182.stderr:compilation terminated.
2022-10-04T22:02:56.288 INFO:teuthology.orchestra.run.smithi182.stderr:make: *** [Makefile:375: crc/crc32c-arm64.o] Error 1

linux/raw.h was removed in kernel 5.14:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093

and picked up in fio 3.28:

https://github.com/axboe/fio/commit/382975557e632efb506836bc1709789e615c9094


Related issues

Copied to rbd - Backport #57779: quincy: [test] fio 3.16 doesn't build on recent kernels due to removal of linux/raw.h Resolved
Copied to rbd - Backport #57780: pacific: [test] fio 3.16 doesn't build on recent kernels due to removal of linux/raw.h Resolved

History

#1 Updated by Ilya Dryomov 4 months ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to pacific,quincy
  • Pull request ID set to 48372

#2 Updated by Ilya Dryomov 4 months ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Backport Bot 4 months ago

  • Copied to Backport #57779: quincy: [test] fio 3.16 doesn't build on recent kernels due to removal of linux/raw.h added

#4 Updated by Backport Bot 4 months ago

  • Copied to Backport #57780: pacific: [test] fio 3.16 doesn't build on recent kernels due to removal of linux/raw.h added

#5 Updated by Backport Bot 4 months ago

  • Tags set to backport_processed

Also available in: Atom PDF