• Kent Overstreet's avatar
    bcachefs: Journal resize fixes · 2640faeb
    Kent Overstreet authored
     - Fix a sleeping-in-atomic bug due to calling
       bch2_journal_buckets_to_sb() under the journal lock.
     - Additionally, now we mark buckets as journal buckets before adding
       them to the journal in memory and the superblock. This ensures that
       if we crash part way through we'll never be writing to journal
       buckets that aren't marked correctly.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    2640faeb
journal_sb.h 656 Bytes