Re: [PATCH] btrfs: test log replay after fsync of file with prealloc extents beyond eof

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



On Thu, Feb 17, 2022 at 12:14:21PM +0000, fdmanana@xxxxxxxxxx wrote:
> From: Filipe Manana <fdmanana@xxxxxxxx>
> 
> Test that after a full fsync of a file with preallocated extents beyond
> the file's size, if a power failure happens, the preallocated extents
> still exist after we mount the filesystem.
> 
> This test currently fails and there is a patch for btrfs that fixes this
> issue and has the following subject:
> 
>   "btrfs: fix lost prealloc extents beyond eof after full fsync"
> 
> Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>
> ---
>  tests/btrfs/261     | 79 +++++++++++++++++++++++++++++++++++++++++++++
>  tests/btrfs/261.out | 10 ++++++

What is btrfs specific about this test?

Cheers,

Dave.

-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux