bug#25930: optimize mv for multiple bind mounts

2018-10-28 Thread Assaf Gordon
close 25930 stop (triaging old bugs) On 2017-03-04 1:01 a.m., Sven Joachim wrote: On 2017-03-02 13:16 -0800, L A Walsh wrote: Sven Joachim wrote: , | EXDEV oldpath and newpath are not on the same mounted filesystem. | (Linux permits a filesystem to be mounted at multipl

bug#25930: optimize mv for multiple bind mounts

2017-03-04 Thread Sven Joachim
On 2017-03-02 13:16 -0800, L A Walsh wrote: > Sven Joachim wrote: >> , >> | EXDEV oldpath and newpath are not on the same mounted filesystem. >> | (Linux permits a filesystem to be mounted at multiple >> | points, but rename() does not work across different mount >

bug#25930: optimize mv for multiple bind mounts

2017-03-02 Thread L A Walsh
Bernhard Voelker wrote: On 03/02/2017 10:16 PM, L A Walsh wrote: Anyone know why Linux doesn't do detection by device vs. by mount point? Both pieces of info have their use, but for rename seems that 'by device' would be optimal. quick guess: because not only the device matters. What i

bug#25930: optimize mv for multiple bind mounts

2017-03-02 Thread Bernhard Voelker
On 03/02/2017 10:16 PM, L A Walsh wrote: > Anyone know why Linux doesn't do detection by device vs. > by mount point? Both pieces of info have their use, but for rename > seems that 'by device' would be optimal. quick guess: because not only the device matters. What if e.g. the other bind mo

bug#25930: optimize mv for multiple bind mounts

2017-03-02 Thread L A Walsh
Sven Joachim wrote: , | EXDEV oldpath and newpath are not on the same mounted filesystem. | (Linux permits a filesystem to be mounted at multiple | points, but rename() does not work across different mount | points, even if the same filesystem is mounted

bug#25930: optimize mv for multiple bind mounts

2017-03-02 Thread Sven Joachim
Am 02.03.2017 um 10:51 schrieb Ruediger Meier: > I have two bind mounts of the same filesystem > > $ grep "/tmp" /etc/fstab > /dev/vg0/tmpdirs /mnt/tmpdirs ext4 > acl,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 > 1 2 > /mnt/tmpdirs/tmp /tmp none b

bug#25930: optimize mv for multiple bind mounts

2017-03-02 Thread Ruediger Meier
Hi, I have two bind mounts of the same filesystem $ grep "/tmp" /etc/fstab /dev/vg0/tmpdirs /mnt/tmpdirs ext4 acl,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 2 /mnt/tmpdirs/tmp /tmp none bind 0 0 /mnt/tmpdir