• Kent Overstreet's avatar
    bcachefs: Assorted ec fixes · 961b2d62
    Kent Overstreet authored
    - The backpointer that ec_stripe_update_ptrs() uses now needs to include
      the snapshot ID, which means we have to change where we add the
      backpointer to after getting the snapshot ID for the new extents
    
    - ec_stripe_update_ptrs() needs to be calling bch2_trans_begin()
    
    - improve error message in bch2_mark_stripe()
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
    961b2d62
ec.h 5.9 KB