Re: Retrieving CSUM-Tree

2019-01-25 Thread Hans van Kranenburg
On 1/25/19 9:45 PM, Tobias Reinhard wrote: > Am 25.01.2019 um 19:05 schrieb Hans van Kranenburg: >> On 1/25/19 5:59 PM, Tobias Reinhard wrote: >>> Am 13.01.2019 um 12:02 schrieb Qu Wenruo: On 2019/1/13 下午6:19, Tobias Reinhard wrote: > Hi, > > I want to read the complete CSUM-Tree f

Re: Retrieving CSUM-Tree

2019-01-25 Thread Tobias Reinhard
Am 25.01.2019 um 19:05 schrieb Hans van Kranenburg: On 1/25/19 5:59 PM, Tobias Reinhard wrote: Am 13.01.2019 um 12:02 schrieb Qu Wenruo: On 2019/1/13 下午6:19, Tobias Reinhard wrote: Hi, I want to read the complete CSUM-Tree from userspace. I tried it via the ioctl. This is what the code looks

Re: Retrieving CSUM-Tree

2019-01-25 Thread Hans van Kranenburg
On 1/25/19 5:59 PM, Tobias Reinhard wrote: > Am 13.01.2019 um 12:02 schrieb Qu Wenruo: >> >> On 2019/1/13 下午6:19, Tobias Reinhard wrote: >>> Hi, >>> >>> I want to read the complete CSUM-Tree from userspace. I tried it via the >>> ioctl. This is what the code looks like: >>> >>> struct btrfs_sv2_arg

Re: Retrieving CSUM-Tree

2019-01-25 Thread Tobias Reinhard
Am 13.01.2019 um 12:02 schrieb Qu Wenruo: On 2019/1/13 下午6:19, Tobias Reinhard wrote: Hi, I want to read the complete CSUM-Tree from userspace. I tried it via the ioctl. This is what the code looks like: struct btrfs_sv2_args sv2_args; int fd = open(filename, O_RDONLY); sv2_args.key.tree_id =