diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-01-11 06:41:59 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-01-11 07:02:08 -0500 |
commit | 4de98a2712764bceb9e0f67b1ac2f2c7862feb77 (patch) | |
tree | 94861af51e19af917d80952dfabeaa7a76901eaa /libbcachefs/io_types.h | |
parent | f8cbede6d18e81c804e62fd7d576310b420dcaac (diff) |
Update bcachefs sources to 02ae70070a bcachefs: Allocate new btree roots lazily
Diffstat (limited to 'libbcachefs/io_types.h')
-rw-r--r-- | libbcachefs/io_types.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libbcachefs/io_types.h b/libbcachefs/io_types.h index ff18fdc9..32ecac24 100644 --- a/libbcachefs/io_types.h +++ b/libbcachefs/io_types.h @@ -67,10 +67,7 @@ struct bch_read_bio { struct bch_write_bio { struct bch_fs *c; struct bch_dev *ca; - union { struct bch_write_bio *parent; - struct closure *cl; - }; struct bch_devs_list failed; u8 order; @@ -82,7 +79,6 @@ struct bch_write_bio { used_mempool:1; unsigned submit_time_us; - void *data; struct bio bio; }; @@ -94,7 +90,7 @@ struct bch_write_op { unsigned written; /* sectors */ u16 flags; - s8 error; + s16 error; /* dio write path expects it to hold -ERESTARTSYS... */ unsigned csum_type:4; unsigned compression_type:4; |