Re: [PATCH v9 0/4] VFS: In-kernel copy system call

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

 



On 2015-11-11 09:53, Eric Biggers wrote:
On Tue, Nov 10, 2015 at 04:53:30PM -0500, Anna Schumaker wrote:
       /* this could be relaxed once a method supports cross-fs copies */
       if (inode_in->i_sb != inode_out->i_sb)
               return -EXDEV;

This allows the same superblock but different mounts --- is that intentional?
The commit message says otherwise: it says the vfs entry point requires the same
superblock and mount.
This could be important for BTRFS (because of subvolumes, you can have multiple mounts that have the same SB, and as of right now, it can be hard to tell the difference between a nested subvolume and a separate mount point). We do support cross-subvolume reflinks, but I'm not sure if that works between subvolumes mounted at different places (if it doesn't, I may have to look into getting that changed).

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux