This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
eoan' to 'verification-done-eoan'. If the problem still exists, change
the tag 'verification-needed-eoan' to 'verification-failed-eoan'.

If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-eoan

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1849482

Title:
  shiftfs: fix fallocate()

Status in linux package in Ubuntu:
  Fix Committed
Status in linux source package in Disco:
  Fix Committed
Status in linux source package in Eoan:
  Fix Committed

Bug description:
  SRU Justification

  Impact:
  Currently shiftfs limits the maximum size for fallocate() needlessly causing 
calls such as fallocate --length 2GB ./file to fail. This limitation is 
arbitrary since it's not caused by the underlay but rather by shiftfs itself 
capping the s_maxbytes. This causes bugs such as the one reported in 
https://github.com/lxc/lxd/issues/6333.

  Fix:
  Currectly set up s_maxbytes when creating the shiftfs superblock.

  Regression Potential:
  Limited to shiftfs.

  Test Case:
  Try fallocate --length 3GB ./file on top of a filesystem with fallocate 
support on a fixed kernel and see that the call succeeds and the file is of the 
expected size.

  Target Kernels:
  All LTS kernels with shiftfs support.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to