Re: Creating written extents beyond EOF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 03, 2022 at 07:55:16 AM +1000, Dave Chinner wrote:
> On Thu, Sep 01, 2022 at 06:55:31PM +0530, Chandan Babu R wrote:
>> Hi Dave,
>> 
>> 7684e2c4384d5d1f884b01ab8bff2369e4db0bff
>> (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7684e2c4384d5d1f884b01ab8bff2369e4db0bff)
>> is one of the commits that needs to be backported to 5.4.y stable kernel.
>> 
>> The commit message mentions that we could have written extents beyond EOF. I
>> am unable to come up with a sequence of commands that could create such
>> extents.
>> 
>> Can you please explain how a user could create a file having written extents
>> beyond EOF?
>
> That bug fix was committed in v5.5. We didn't convert delalloc to
> use unwritten extents until v5.8 via commit a5949d3faedf.
>

Ok. Thanks for clarifying my doubt. I can now recreate the bug on my test
machine when running v5.4 LTS kernel.

-- 
chandan



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux