dm-writeboost-dkms fails to build with linux 6.1 in lunar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dm-writeboost (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lunar |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
dm-writeboost-dkms fails to build with linux 6.1 in lunar with the following error(s):
/home/righiandr
506 | #define req_is_write(req) op_is_write(
| ^~~~~
./include/
[Test case]
$ sudo apt install dm-writeboost-dkms
[Fix]
With kernel upstream commit 581075e4f647 ("dm/core: Reduce the size of struct dm_io_request") bi_op and bi_op_flags in struct dm_io_request have been merged together into the same attribute bi_opf, so we need to support this ABI change.
[Regression potential]
The proposed fix is only affecting kernels >= 6.0, so we may experience I/O-related regressions in recent kernels that are using dm-writeboost.
tags: | added: patch |
debdiff in attach allows to use dm-writeboost with linux >= 6.0.