diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-12-21 18:00:30 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-12-21 18:06:45 -0500 |
commit | 1cf4d51dc4661f336f5318c176a3561ddf5bf04f (patch) | |
tree | 8b390ccd48361ba1408be6799d46e62c6382cc39 /libbcachefs/io_types.h | |
parent | 8acc54456e11ee0ec80ed0c6abb6d68abae60592 (diff) |
Update bcachefs sources to 14ce2a2031 bcachefs: fixes for building in userspace
Diffstat (limited to 'libbcachefs/io_types.h')
-rw-r--r-- | libbcachefs/io_types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libbcachefs/io_types.h b/libbcachefs/io_types.h index ed9a4bbe..ff18fdc9 100644 --- a/libbcachefs/io_types.h +++ b/libbcachefs/io_types.h @@ -6,6 +6,7 @@ #include "buckets_types.h" #include "extents_types.h" #include "keylist_types.h" +#include "opts.h" #include "super_types.h" #include <linux/llist.h> @@ -56,6 +57,8 @@ struct bch_read_bio { struct promote_op *promote; + struct bch_io_opts opts; + struct work_struct work; struct bio bio; @@ -69,8 +72,7 @@ struct bch_write_bio { struct closure *cl; }; - u8 ptr_idx; - u8 replicas_failed; + struct bch_devs_list failed; u8 order; unsigned split:1, @@ -90,8 +92,8 @@ struct bch_write_op { struct bch_fs *c; struct workqueue_struct *io_wq; + unsigned written; /* sectors */ u16 flags; - u16 written; /* sectors */ s8 error; unsigned csum_type:4; |