[SRU][Xenial][PATCH 0/1] nbd: use loff_t for blocksize and nbd_set_size args
Joseph Salisbury
joseph.salisbury at canonical.com
Wed May 23 17:48:41 UTC 2018
BugLink: http://bugs.launchpad.net/bugs/1772575
== SRU Justification ==
With the Xenial kernel, the bug reporter states there is an NBD size
overflow with image size exceeding 1TB.
There's an issue in kernel's NBD module which prevents some larger images to be
correctly "connected" , largely described here:
https://github.com/NetworkBlockDevice/nbd/issues/44
This is a regression from Trusty and was fixed in mainline as of v4.10-rc1.
== Fix ==
ef77b515243b ("nbd: use loff_t for blocksize and nbd_set_size args")
== Regression Potential ==
Medium. A backport was needed. However, it was due to some context
diffs and the way debugfs_create_u32 was used in Xenial and how
debugfs_create_u64 was used in the patch.
== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.
Josef Bacik (1):
nbd: use loff_t for blocksize and nbd_set_size args
drivers/block/nbd.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.7.4
More information about the kernel-team
mailing list