Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-09-03 Thread Omar Sandoval
On Wed, Aug 28, 2019 at 02:06:50PM +0200, David Sterba wrote: > On Thu, Aug 15, 2019 at 02:04:06PM -0700, Omar Sandoval wrote: > > #define BTRFS_IOC_SEND_32 _IOW(BTRFS_IOCTL_MAGIC, 38, \ > >struct btrfs_ioctl_send_args_32) > > + > > +struct btrfs_ioctl_compressed_pwrite

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-28 Thread David Sterba
On Thu, Aug 15, 2019 at 02:04:06PM -0700, Omar Sandoval wrote: > #define BTRFS_IOC_SEND_32 _IOW(BTRFS_IOCTL_MAGIC, 38, \ > struct btrfs_ioctl_send_args_32) > + > +struct btrfs_ioctl_compressed_pwrite_args_32 { > + __u64 offset; /* in */ > + __u32 comp

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-27 Thread Josef Bacik
On Tue, Aug 27, 2019 at 11:22:42AM -0700, Omar Sandoval wrote: > On Tue, Aug 27, 2019 at 11:06:23AM -0700, Omar Sandoval wrote: > > On Tue, Aug 27, 2019 at 07:57:41AM -0400, Josef Bacik wrote: > > > On Tue, Aug 27, 2019 at 09:26:21AM +0300, Nikolay Borisov wrote: > > > > > > > > > > > > On 27.08.

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-27 Thread Omar Sandoval
On Tue, Aug 27, 2019 at 11:06:23AM -0700, Omar Sandoval wrote: > On Tue, Aug 27, 2019 at 07:57:41AM -0400, Josef Bacik wrote: > > On Tue, Aug 27, 2019 at 09:26:21AM +0300, Nikolay Borisov wrote: > > > > > > > > > On 27.08.19 г. 0:36 ч., Josef Bacik wrote: > > > > On Thu, Aug 15, 2019 at 02:04:06P

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-27 Thread Omar Sandoval
On Tue, Aug 27, 2019 at 07:57:41AM -0400, Josef Bacik wrote: > On Tue, Aug 27, 2019 at 09:26:21AM +0300, Nikolay Borisov wrote: > > > > > > On 27.08.19 г. 0:36 ч., Josef Bacik wrote: > > > On Thu, Aug 15, 2019 at 02:04:06PM -0700, Omar Sandoval wrote: > > >> From: Omar Sandoval > > >> > > >> Thi

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-27 Thread Josef Bacik
On Tue, Aug 27, 2019 at 09:26:21AM +0300, Nikolay Borisov wrote: > > > On 27.08.19 г. 0:36 ч., Josef Bacik wrote: > > On Thu, Aug 15, 2019 at 02:04:06PM -0700, Omar Sandoval wrote: > >> From: Omar Sandoval > >> > >> This adds an API for writing compressed data directly to the filesystem. > >> Th

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-26 Thread Nikolay Borisov
On 27.08.19 г. 0:36 ч., Josef Bacik wrote: > On Thu, Aug 15, 2019 at 02:04:06PM -0700, Omar Sandoval wrote: >> From: Omar Sandoval >> >> This adds an API for writing compressed data directly to the filesystem. >> The use case that I have in mind is send/receive: currently, when >> sending data

Re: [RFC PATCH 5/5] Btrfs: add ioctl for directly writing compressed data

2019-08-26 Thread Josef Bacik
On Thu, Aug 15, 2019 at 02:04:06PM -0700, Omar Sandoval wrote: > From: Omar Sandoval > > This adds an API for writing compressed data directly to the filesystem. > The use case that I have in mind is send/receive: currently, when > sending data from one compressed filesystem to another, the sendi