The Linux Kernel fix is here:

commit 274b924088e9
Author: Jeff Moyer <[email protected]>
Date:   Wed Aug 28 12:49:46 2019

    libnvdimm/pfn: Fix namespace creation on misaligned addresses
    
    Yi reported[1] that after commit a3619190d62e ("libnvdimm/pfn: stop
    padding pmem namespaces to section alignment"), it was no longer
    possible to create a device dax namespace with a 1G alignment.  The
    reason was that the pmem region was not itself 1G-aligned.  The code
    happily skips past the first 512M, but fails to account for a now
    misaligned end offset (since space was allocated starting at that
    misaligned address, and extending for size GBs).  Reintroduce
    end_trunc, so that the code correctly handles the misaligned end
    address.  This results in the same behavior as before the introduction
    of the offending commit.
    
    [1] https://lists.01.org/pipermail/linux-nvdimm/2019-July/022813.html
    
    Fixes: a3619190d62e ("libnvdimm/pfn: stop padding pmem namespaces ...")
    Reported-and-tested-by: Yi Zhang <[email protected]>
    Signed-off-by: Jeff Moyer <[email protected]>
    Link: 
https://lore.kernel.org/r/[email protected]
    Signed-off-by: Dan Williams <[email protected]>

So marking kernel as Fix Released (as this is included in Focal).


** Also affects: qemu (Ubuntu Focal)
   Importance: Medium
       Status: Confirmed

** Also affects: linux (Ubuntu Focal)
   Importance: Medium
       Status: Fix Released

** Also affects: ndctl (Ubuntu Focal)
   Importance: Medium
       Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855177

Title:
  QEMU emulated nvdimm regions alignment need (128MB) or ndctl create-
  namespace namespace1.0 might fail

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1855177/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to