1. 21 Apr, 2024 2 commits
    • Kent Overstreet's avatar
      bcachefs: Fix inode early destruction path · 0e42f381
      Kent Overstreet authored
      discard_new_inode() is the wrong interface to use when we need to free
      an inode that was never inserted into the inode hash table; we can
      bypass the whole iput() -> evict() path and replace it with
      __destroy_inode(); kmem_cache_free() - this fixes a WARN_ON() about
      I_NEW.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      0e42f381
    • Kent Overstreet's avatar
      bcachefs: Fix deadlock in journal write path · 85ab365f
      Kent Overstreet authored
      bch2_journal_write() was incorrectly waiting on earlier journal writes
      synchronously; this usually worked because most of the time we'd be
      running in the context of a thread that did a journal_buf_put(), but
      sometimes we'd be running out of the same workqueue that completes those
      prior journal writes.
      
      Additionally, this makes sure to punt to a workqueue before submitting
      preflushes - we really don't want to be calling submit_bio() in the main
      transaction commit path.
      Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
      85ab365f
  2. 20 Apr, 2024 4 commits
  3. 17 Apr, 2024 4 commits
  4. 16 Apr, 2024 4 commits
  5. 15 Apr, 2024 6 commits
  6. 14 Apr, 2024 17 commits
  7. 12 Apr, 2024 1 commit
  8. 11 Apr, 2024 2 commits