Skip to content
  • Dato Simó's avatar
    harep: do not wait for repair job completion to set tags · 8af72964
    Dato Simó authored
    
    
    Because of instance locks, after submitting a repair job we weren't able to
    set the "pending" tag until at least the first opcode of the job finished.
    Introduce a small delay in the repair job so as to allow the subsequent
    TAGS_SET job to finish immediately, resulting in faster operation from the
    user's point of view.
    
    Make the duration of the delay configurable with --job-delay; if zero,
    avoid inserting the TestDelay opcode entirely.
    
    Signed-off-by: default avatarDato Simó <dato@google.com>
    Reviewed-by: default avatarIustin Pop <iustin@google.com>
    8af72964