Re: [PATCH v11 07/10] btrfs-progs: receive: process fallocate commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 1.09.21 г. 20:01, Omar Sandoval wrote:
> From: Boris Burkov <boris@xxxxxx>
> 
> Send stream v2 can emit fallocate commands, so receive must support them
> as well. The implementation simply passes along the arguments to the
> syscall. Note that mode is encoded as a u32 in send stream but fallocate
> takes an int, so there is a unsigned->signed conversion there.
> 
> Signed-off-by: Boris Burkov <boris@xxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>

However, kernel support for this hasn't landed, the kernel counterpart
patches add definitions but don't actually implement the code. BY the
looks of it it would seem that the proper send stream versioning could
be added first before any of this code lands. In this case we can simply
have the encoded writes stuff as protocol version 2 and leave the rest
of the commands for v3 for example.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux