OSDN Git Service

bcache: store a pointer to the on-disk sb in the cache and cached_dev structures
[tomoyo/tomoyo-test1.git] / drivers / md / bcache / bcache.h
index 9198c1b..adf26a2 100644 (file)
@@ -301,6 +301,7 @@ struct cached_dev {
        struct block_device     *bdev;
 
        struct cache_sb         sb;
+       struct cache_sb_disk    *sb_disk;
        struct bio              sb_bio;
        struct bio_vec          sb_bv[1];
        struct closure          sb_write;
@@ -403,6 +404,7 @@ enum alloc_reserve {
 struct cache {
        struct cache_set        *set;
        struct cache_sb         sb;
+       struct cache_sb_disk    *sb_disk;
        struct bio              sb_bio;
        struct bio_vec          sb_bv[1];