Re: cp --reflink of inline extent results in two DATA_EXTENT entries

2020-12-23 Thread Chris Murphy
On Tue, Dec 22, 2020 at 11:05 PM Andrei Borzenkov wrote: > > 23.12.2020 06:48, Chris Murphy пишет: > > Hi, > > > > kernel is 5.10.2 > > > > cp --reflink hi hi2 > > > > This results in two EXTENT_DATA items with different offsets, > > therefore I think the data is duplicated in the leaf? Correct? I

Re: cp --reflink of inline extent results in two DATA_EXTENT entries

2020-12-22 Thread Andrei Borzenkov
23.12.2020 06:48, Chris Murphy пишет: > Hi, > > kernel is 5.10.2 > > cp --reflink hi hi2 > > This results in two EXTENT_DATA items with different offsets, > therefore I think the data is duplicated in the leaf? Correct? Is it > expected? > I'd say yes. Inline data is contained in EXTEND_DATA i

cp --reflink of inline extent results in two DATA_EXTENT entries

2020-12-22 Thread Chris Murphy
Hi, kernel is 5.10.2 cp --reflink hi hi2 This results in two EXTENT_DATA items with different offsets, therefore I think the data is duplicated in the leaf? Correct? Is it expected? item 9 key (257 EXTENT_DATA 0) itemoff 15673 itemsize 53 generation 435179 type 0 (inline