summaryrefslogtreecommitdiff
path: root/fs/bcachefs/data_update.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/data_update.h')
-rw-r--r--fs/bcachefs/data_update.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/data_update.h b/fs/bcachefs/data_update.h
index e4b50723428e..7a200e6b770b 100644
--- a/fs/bcachefs/data_update.h
+++ b/fs/bcachefs/data_update.h
@@ -22,6 +22,7 @@ void bch2_data_update_opts_to_text(struct printbuf *, struct bch_fs *,
struct data_update {
/* extent being updated: */
+ bool read_done;
enum btree_id btree_id;
struct bkey_buf k;
struct data_update_opts data_opts;
@@ -31,6 +32,7 @@ struct data_update {
};
void bch2_data_update_to_text(struct printbuf *, struct data_update *);
+void bch2_data_update_inflight_to_text(struct printbuf *, struct data_update *);
int bch2_data_update_index_update(struct bch_write_op *);