diff options
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r-- | drivers/md/bcache/bcache.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index dbdbca5a9591..9d062bc56261 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h | |||
@@ -309,7 +309,8 @@ struct cached_dev { | |||
309 | struct cache_sb sb; | 309 | struct cache_sb sb; |
310 | struct bio sb_bio; | 310 | struct bio sb_bio; |
311 | struct bio_vec sb_bv[1]; | 311 | struct bio_vec sb_bv[1]; |
312 | struct closure_with_waitlist sb_write; | 312 | struct closure sb_write; |
313 | struct semaphore sb_write_mutex; | ||
313 | 314 | ||
314 | /* Refcount on the cache set. Always nonzero when we're caching. */ | 315 | /* Refcount on the cache set. Always nonzero when we're caching. */ |
315 | atomic_t count; | 316 | atomic_t count; |
@@ -514,7 +515,8 @@ struct cache_set { | |||
514 | uint64_t cached_dev_sectors; | 515 | uint64_t cached_dev_sectors; |
515 | struct closure caching; | 516 | struct closure caching; |
516 | 517 | ||
517 | struct closure_with_waitlist sb_write; | 518 | struct closure sb_write; |
519 | struct semaphore sb_write_mutex; | ||
518 | 520 | ||
519 | mempool_t *search; | 521 | mempool_t *search; |
520 | mempool_t *bio_meta; | 522 | mempool_t *bio_meta; |
@@ -635,7 +637,8 @@ struct cache_set { | |||
635 | unsigned nr_uuids; | 637 | unsigned nr_uuids; |
636 | struct uuid_entry *uuids; | 638 | struct uuid_entry *uuids; |
637 | BKEY_PADDED(uuid_bucket); | 639 | BKEY_PADDED(uuid_bucket); |
638 | struct closure_with_waitlist uuid_write; | 640 | struct closure uuid_write; |
641 | struct semaphore uuid_write_mutex; | ||
639 | 642 | ||
640 | /* | 643 | /* |
641 | * A btree node on disk could have too many bsets for an iterator to fit | 644 | * A btree node on disk could have too many bsets for an iterator to fit |