Re: [PATCH] Btrfs-progs: convert: do not clear header rev

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

 



On Tue, Jun 27, 2017 at 12:07:13PM -0700, Liu Bo wrote:
> On Mon, Jun 26, 2017 at 05:55:02PM -0600, Liu Bo wrote:
> > So btrfs_set_header_flags() vs btrfs_set_header_flag, the difference is sort of
> > similar to "=" vs "|=", when creating and initialising a new extent buffer,
> > convert uses the former one which clears header_rev by accident.
> >
> 
> Here is the regression test script,
> 
> mkfs.ext4 -F /disk
> btrfs-convert -d /disk
> mount /disk /mnt
> xfs_io -f -c "pwrite 0 4K" /mnt/foobar
> umount /disk
> 
> ---------------
> It'd end up with 'unable to find ref blabla" shown in dmesg log.

I can't reproduce it, is there something else needed? Tested kernel is
4.11.6. Check does not complain either.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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