[Bug 2091313] Re: dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel
Massimiliano Pellizzer
2091313 at bugs.launchpad.net
Thu Dec 19 11:02:15 UTC 2024
** Changed in: dm-writeboost (Ubuntu)
Status: In Progress => Invalid
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2091313
Title:
dm-writeboost-dkms FTBS in Noble with linux-6.11-hwe kernel
Status in dm-writeboost package in Ubuntu:
Invalid
Status in dm-writeboost source package in Noble:
Fix Committed
Bug description:
[ Impact ]
The DKMS does not compile from source in Noble with kernel 6.11:
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c: In function ‘wb_io_fn’:
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:56:19: error: too few arguments to function ‘dm_io’
56 | io->err = dm_io(io->io_req, io->num_regions, io->regions, &io->err_bits);
| ^~~~~
In file included from /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost.h:37,
from /var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:23:
./include/linux/dm-io.h:82:5: note: declared here
82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions,
| ^~~~~
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c: In function ‘wb_io_internal’:
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:82:23: error: too few arguments to function ‘dm_io’
82 | err = dm_io(io_req, num_regions, regions, err_bits);
| ^~~~~
./include/linux/dm-io.h:82:5: note: declared here
82 | int dm_io(struct dm_io_request *io_req, unsigned int num_regions,
| ^~~~~
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c: In function ‘dm_devsize’:
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:108:37: error: ‘struct block_device’ has no member named ‘bd_inode’
108 | return i_size_read(dev->bdev->bd_inode) >> 9;
| ^~
/var/lib/dkms/dm-writeboost/2.2.16/build/dm-writeboost-target.c:109:1: error: control reaches end of non-void function [-Werror=return-type]
109 | }
| ^
[ Test case ]
Install the latest linux-6.11 kernel on Noble:
$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt update
$ sudo apt install linux-image-6.11.0-12-generic \
linux-modules-6.11.0-12-generic \
linux-modules-extra-6.11.0-12-generic \
linux-headers-6.11.0-12-generic
Install dm-writeboost-dkms:
$ sudo apt install dm-writeboost-dkms
Load the module:
$ sudo modprobe dm-writeboost
The same procedure should be repeated on linux-6.8 to test for
possible regressions.
[ Fix ]
Patch the code to properly support the new linux 6.11 ABI.
[Regression potential]
System using the dm-writeboost-dkms may experience regressions,
especially with a kernel >= 6.11, affecting storage performance.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dm-writeboost/+bug/2091313/+subscriptions
More information about the Ubuntu-sponsors
mailing list