btrfs: zoned: introduce block group context to btrfs_eb_write_context
[linux-2.6-block.git] / fs / btrfs / extent_io.h
index e243a8eac9106d2e9568d502b30a3a1a5cff9c8d..68368ba99321e14bc77010c9e9623b7a4d8e20ce 100644 (file)
@@ -96,6 +96,8 @@ struct extent_buffer {
 struct btrfs_eb_write_context {
        struct writeback_control *wbc;
        struct extent_buffer *eb;
+       /* Block group @eb resides in. Only used for zoned mode. */
+       struct btrfs_block_group *zoned_bg;
 };
 
 /*