Re: [PATCH] btrfs-progs: deal with drop_progress properly in fsck

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

 



On Wed, Feb 06, 2019 at 03:49:24PM -0500, Josef Bacik wrote:
> While testing snapshot deletion with dm-log-writes I saw that I was
> failing the fsck sometimes when the fs was actually in the correct
> state.  This is because we only skip blocks on the same level of
> root_item->drop_level.  If the drop_level < the root level then we could
> very well walk into nodes that we wouldn't actually walk into on fs
> mount, because the drop_progress is further ahead in the slot of the
> root.  Instead only process the slots of the nodes that are above the
> drop_progress key.  With this patch in place we no longer improperly
> fail to check fs'es that have a drop_progress set with a drop_level <
> root level.
> 
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Now applied to devel, thanks.



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

  Powered by Linux