RE: Possible bug in BTRFS w/ Duplication

2023-01-03 Thread Sam Winchenbach
enruo ; linux-bt...@vger.kernel.org Subject: Re: Possible bug in BTRFS w/ Duplication On 2022/12/30 23:28, Sam Winchenbach wrote: > I believe you fixed the issue with the patch you presented. I was in the > process of testing a similar fix for release and it solved the issue I > encountered.

Re: Possible bug in BTRFS w/ Duplication

2022-12-30 Thread Qu Wenruo
; Marek BehĂșn Cc: u-boot@lists.denx.de; Qu Wenruo ; linux-bt...@vger.kernel.org Subject: Re: Possible bug in BTRFS w/ Duplication On 2022/12/29 22:12, Heinrich Schuchardt wrote: On 12/28/22 21:51, Sam Winchenbach wrote: Hello, Hello, I have hit the following situation when trying to load files

RE: Possible bug in BTRFS w/ Duplication

2022-12-30 Thread Sam Winchenbach
To: Heinrich Schuchardt ; Sam Winchenbach ; Marek BehĂșn Cc: u-boot@lists.denx.de; Qu Wenruo ; linux-bt...@vger.kernel.org Subject: Re: Possible bug in BTRFS w/ Duplication On 2022/12/29 22:12, Heinrich Schuchardt wrote: > On 12/28/22 21:51, Sam Winchenbach wrote: >> Hello, >> >&

Re: Possible bug in BTRFS w/ Duplication

2022-12-29 Thread Qu Wenruo
On 2022/12/29 22:12, Heinrich Schuchardt wrote: On 12/28/22 21:51, Sam Winchenbach wrote: Hello, Hello, I have hit the following situation when trying to load files from a BTRFS partition with duplication enabled. You mean multi-device? For DUP/RAID1 duplication, they don't have stripe

Re: Possible bug in BTRFS w/ Duplication

2022-12-29 Thread Heinrich Schuchardt
On 12/28/22 21:51, Sam Winchenbach wrote: Hello, Hello, I have hit the following situation when trying to load files from a BTRFS partition with duplication enabled. In the first example I read a 16KiB file - __btrfs_map_block() changes the length to something larger than the file being

Possible bug in BTRFS w/ Duplication

2022-12-28 Thread Sam Winchenbach
Hello, Hello, I have hit the following situation when trying to load files from a BTRFS partition with duplication enabled. In the first example I read a 16KiB file - __btrfs_map_block() changes the length to something larger than the file being read. This works fine, as length is later