[Kernel-packages] [Bug 1791323] Re: XFS fallocate implementation incorrectly reports ENOSPC

2019-07-24 Thread Brad Figg
** Tags added: cscc -- 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/1791323 Title: XFS fallocate implementation incorrectly reports ENOSPC Status in linux package in Ubuntu: Confirmed

[Kernel-packages] [Bug 1791323] Re: XFS fallocate implementation incorrectly reports ENOSPC

2018-09-12 Thread Charles Hathaway
Confirmed in the latest RC kernel: charles@ubuntuvm:~/temp$ fallocate -l 1GB image.img charles@ubuntuvm:~/temp$ sudo modprobe loop [sudo] password for charles: charles@ubuntuvm:~/temp$ mkfs.xfs image.img meta-data=image.img isize=512agcount=4, agsize=61035 blks =

[Kernel-packages] [Bug 1791323] Re: XFS fallocate implementation incorrectly reports ENOSPC

2018-09-12 Thread Charles Hathaway
Hi Joseph, Give me a moment to try testing the upstream kernel; I haven't done that before. This issue was first reported by a customer sometime back, we worked around it by changing the way we called fallocate. I believe I confirmed it back in 16.04, but I haven't tested beyond that. Charles

[Kernel-packages] [Bug 1791323] Re: XFS fallocate implementation incorrectly reports ENOSPC

2018-09-12 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.19 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix

[Kernel-packages] [Bug 1791323] Re: XFS fallocate implementation incorrectly reports ENOSPC

2018-09-12 Thread Joseph Salisbury
Did this issue start happening after an update/upgrade? Was there a kernel version where you were not having this particular problem? This will help determine if the problem you are seeing is the result of a regression, and when this regression was introduced. If this is a regression, we can

[Kernel-packages] [Bug 1791323] Re: XFS fallocate implementation incorrectly reports ENOSPC

2018-09-07 Thread Charles Hathaway
apport information ** Tags added: apport-collected bionic ** Description changed: When given an offset of 0 and a length, fallocate (man 2 fallocate) reports ENOSPC if the size of the file + the length to be allocated is greater than the available space. Example below using the