The Linux "copy problem"
The Linux "copy problem"
Posted Jun 16, 2019 17:40 UTC (Sun) by nevyn (guest, #33129)In reply to: The Linux "copy problem" by jezuch
Parent article: The Linux "copy problem"
      Posted Jun 20, 2019 6:51 UTC (Thu)
                               by jezuch (subscriber, #52988)
                              [Link] (1 responses)
       
That's how I remember it at least. 
Anyway, when I copy something it's mostly because I screwed up and I am restoring things from a btrfs backup snapshot. Making a real copy would cause unnecessary duplication in the backup - and would be unnecessarily slow and drive-thrashing. But that's just my use case. 
     
    
      Posted Jun 24, 2019 14:28 UTC (Mon)
                               by nix (subscriber, #2304)
                              [Link] 
       
Ideally, a background preen phase would rewrite such things after a while so they are non-fragmented again. I guess one could call xfs_fsr from cron to do that... on an SSD this matters not at all, of course, and not very much if there's a caching layer like LVM's or bcache in the way either. But it's a real concern on unintermediated spinning rust. 
     
    The Linux "copy problem"
      
The Linux "copy problem"
      
 
           