Menu

#216 add an option for comparison where hard links data is not compared several time but the hard link presence is validated

none
open
None
requested
8
2024-02-05
2024-02-02
No

ref dar-support mailing list discussion
topic : [Dar-support] Dar iterating between "random" and last slice in diff mode
February 2nd 2024.

Discussion

  • Denis Corbin

    Denis Corbin - 2024-02-05

    no need of option, but add a mapping while comparing, to associate the inode etiquette to
    { dev_id, inode_id, path of the first link found for that inode } .
    at second and next occurence, if dev_id/inode_id we compare to is the same as the one found in the mapping, we are good, this is the same inode, else we fallback to data comparison

    see filesystem_hard_link_read probably better to extend existing code to also support comparison operation. (see if possible to reuse/share code of filesystem_hard_link_read class)

     
  • Denis Corbin

    Denis Corbin - 2024-02-05
    • Priority: 6 --> 8
     

Log in to post a comment.

MongoDB Logo MongoDB