Public bug reported:
[Impact]
dm-writeboost-dkms fails to build with linux 6.1 in lunar with the
following error(s):
/home/righiandr/src/dm-writeboost/src/dm-writeboost.h:506:46: error: ‘struct
dm_io_request’ has no member named ‘bi_op’; did you mean ‘bi_opf’?
506 | #define req_is_write(req) op_is_write((req)->bi_op)
| ^~~~~
./include/linux/printk.h:429:33: note: in expansion of macro ‘req_is_write’
[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.
** Affects: dm-writeboost (Ubuntu)
Importance: Undecided
Status: New
** Affects: dm-writeboost (Ubuntu Lunar)
Importance: Undecided
Status: New
** Also affects: dm-writeboost (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: nvidia-graphics-drivers-390 (Ubuntu)
** Also affects: dm-writeboost (Ubuntu Lunar)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-390 in Ubuntu.
https://bugs.launchpad.net/bugs/2006721
Title:
dm-writeboost-dkms fails to build with linux 6.1 in lunar
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dm-writeboost/+bug/2006721/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp