diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-31 15:37:28 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-05-21 20:13:32 -0400 |
| commit | 7100344301d80f09ea64c37c35ea10163d35d433 (patch) | |
| tree | a70c4a3818d3d20e0e45e4c31fb3f1206d7d5de2 /fs/bcachefs/alloc_foreground.h | |
| parent | bcachefs: bch2_bucket_alloc_trans() takes alloc_request (diff) | |
| download | linux-7100344301d80f09ea64c37c35ea10163d35d433.tar.gz linux-7100344301d80f09ea64c37c35ea10163d35d433.zip | |
bcachefs: bch2_ec_stripe_head_get() takes alloc_request
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.h')
| -rw-r--r-- | fs/bcachefs/alloc_foreground.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/bcachefs/alloc_foreground.h b/fs/bcachefs/alloc_foreground.h index 24d6e5863737..27219cd1368f 100644 --- a/fs/bcachefs/alloc_foreground.h +++ b/fs/bcachefs/alloc_foreground.h @@ -32,12 +32,11 @@ struct alloc_request { enum bch_write_flags flags; enum bch_data_type data_type; struct bch_devs_list *devs_have; - struct write_point *wp; - struct open_buckets ptrs; - unsigned nr_effective; - bool have_cache; + struct open_buckets ptrs; + unsigned nr_effective; /* sum of @ptrs durability */ + bool have_cache; /* have we allocated from a 0 durability dev */ struct bch_devs_mask devs_may_alloc; }; |
