Re: btrfs+overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.

2021-04-12 Thread Miklos Szeredi
On Sat, Apr 10, 2021 at 7:55 PM Amir Goldstein wrote: > > On Sat, Apr 10, 2021 at 8:36 PM Chris Murphy wrote: > > > > I can reproduce the bolt testcase problem in a podman container, with > > overlay driver, using ext4, xfs, and btrfs. So I think I can drop > > linux-btrfs@ from this thread. > >

Re: [PATCH v3 00/13] btrfs: support read-write for subpage metadata

2021-04-12 Thread Qu Wenruo
On 2021/4/2 下午4:52, Qu Wenruo wrote: On 2021/4/2 下午4:46, Ritesh Harjani wrote: On 21/04/02 04:36PM, Qu Wenruo wrote: On 2021/4/2 下午4:33, Ritesh Harjani wrote: On 21/03/29 10:01AM, Qu Wenruo wrote: On 2021/3/29 上午4:02, Ritesh Harjani wrote: On 21/03/25 09:16PM, Qu Wenruo wrote: On

Re: [PATCH v3 1/3] btrfs: discard relocated block groups

2021-04-12 Thread Johannes Thumshirn
On 09/04/2021 13:37, Filipe Manana wrote: > On Fri, Apr 9, 2021 at 11:54 AM Johannes Thumshirn > wrote: >> >> When relocating a block group the freed up space is not discarded. On >> devices like SSDs this hint is useful to tell the device the space is >> freed now. On zoned block devices btrfs' d

Re: [PATCH v3 1/3] btrfs: discard relocated block groups

2021-04-12 Thread Filipe Manana
On Mon, Apr 12, 2021 at 2:49 PM Johannes Thumshirn wrote: > > On 09/04/2021 13:37, Filipe Manana wrote: > > On Fri, Apr 9, 2021 at 11:54 AM Johannes Thumshirn > > wrote: > >> > >> When relocating a block group the freed up space is not discarded. On > >> devices like SSDs this hint is useful to t

Re: [PATCH v3 1/3] btrfs: discard relocated block groups

2021-04-12 Thread Johannes Thumshirn
On 12/04/2021 16:09, Filipe Manana wrote: >> [ 81.014752] BTRFS info (device nullb0): reclaiming chunk 1073741824 >> [ 81.015732] BTRFS info (device nullb0): relocating block group 1073741824 >> flags data >> [ 81.798090] BTRFS info (device nullb0): found 12452 extents, stage: move >> data

Re: [PATCH] btrfs-progs: Correct check_running_fs_exclop() return value

2021-04-12 Thread Goldwyn Rodrigues
On 6:50 10/04, Anand Jain wrote: > On 09/04/2021 23:56, Goldwyn Rodrigues wrote: > > check_running_fs_exclop() can return 1 when exclop is changed to "none" > > The ret is set by the return value of the select() operation. Checking > > the exclusive op changes just the exclop variable while ret is

tree-checker read time error, unable to mount

2021-04-12 Thread Henrik Nordström
We have an btrfs filesystem which have crashed and fails to mount. The filesystem is on an extrenal SSD and it is quite possible it got disconnected badly or had an unclean shutdown due to suspend issues. [ 447.321770] BTRFS critical (device sdc3): corrupt leaf: root=256 block=2036170752 slot=1 i