Lines Matching defs:ec_stripe_new
157 struct ec_stripe_new { struct
158 struct bch_fs *c;
159 struct ec_stripe_head *h;
160 struct mutex lock;
161 struct list_head list;
163 struct hlist_node hash;
164 u64 idx;
166 struct closure iodone;
168 atomic_t ref[STRIPE_REF_NR];
170 int err;
172 u8 nr_data;
173 u8 nr_parity;
174 bool allocated;
175 bool pending;
176 bool have_existing_stripe;
178 unsigned long blocks_gotten[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
179 unsigned long blocks_allocated[BITS_TO_LONGS(BCH_BKEY_PTRS_MAX)];
180 open_bucket_idx_t blocks[BCH_BKEY_PTRS_MAX];
181 struct disk_reservation res;
183 struct ec_stripe_buf new_stripe;
184 struct ec_stripe_buf existing_stripe;