** Also affects: linux (Ubuntu Disco)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Eoan)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu Disco)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Eoan)
Importance: Undecided => Medium
--
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:
In Progress
Status in linux source package in Disco:
New
Status in linux source package in Eoan:
New
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 : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp