[SRU][Xenial][PATCH 0/1] nbd: use loff_t for blocksize and nbd_set_size args
joseph.salisbury at canonical.com
Wed May 23 17:48:41 UTC 2018
== 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:
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(-)
More information about the kernel-team