summaryrefslogtreecommitdiff
path: root/libbcachefs/journal_reclaim.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-01 15:52:57 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2019-03-01 15:52:57 -0500
commit35ab35989718ebce0419b911a7267a1f1563d61e (patch)
treebf60813e963a53893b1809823d4c37a08a14192c /libbcachefs/journal_reclaim.h
parenta4eb187a6f0af8041ae2128e6ee82ab7a43cb87c (diff)
Update bcachefs sources to dab980b662 bcachefs: Don't get journal reservation until after we know insert will succeed
Diffstat (limited to 'libbcachefs/journal_reclaim.h')
-rw-r--r--libbcachefs/journal_reclaim.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libbcachefs/journal_reclaim.h b/libbcachefs/journal_reclaim.h
index 1d688d6f..287590cd 100644
--- a/libbcachefs/journal_reclaim.h
+++ b/libbcachefs/journal_reclaim.h
@@ -3,10 +3,6 @@
#define JOURNAL_PIN (32 * 1024)
-unsigned bch2_journal_dev_buckets_available(struct journal *,
- struct journal_device *);
-void bch2_journal_space_available(struct journal *);
-
static inline bool journal_pin_active(struct journal_entry_pin *pin)
{
return pin->seq != 0;
@@ -20,8 +16,6 @@ journal_seq_pin(struct journal *j, u64 seq)
return &j->pin.data[seq & j->pin.mask];
}
-void bch2_journal_pin_put(struct journal *, u64);
-
void bch2_journal_pin_add(struct journal *, u64, struct journal_entry_pin *,
journal_pin_flush_fn);
void bch2_journal_pin_update(struct journal *, u64, struct journal_entry_pin *,
@@ -33,6 +27,7 @@ void bch2_journal_pin_add_if_older(struct journal *,
journal_pin_flush_fn);
void bch2_journal_pin_flush(struct journal *, struct journal_entry_pin *);
+void bch2_journal_reclaim_fast(struct journal *);
void bch2_journal_reclaim_work(struct work_struct *);
void bch2_journal_flush_pins(struct journal *, u64);